[Windows][Codex Desktop] In-app browser crashes Codex when opening localhost
Open 💬 2 comments Opened Aug 12, 2026 by SolusKossi
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.803.10989.0
What subscription do you have?
Business
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What issue are you seeing?
Codex Desktop crashes when an agent initializes the in-app browser and navigates to a locally hosted Flask application.
The browser operation returns aborted, shortly after which the entire Codex Desktop app closes.
This has happened approximately six times across multiple tasks. Shell-only testing works normally, and avoiding the in-app browser prevents the crash.
What steps can reproduce the bug?
- Start a Flask application on http://127.0.0.1:5000.
- Ask Codex to inspect or test it using the in-app browser.
- Codex initializes the browser and attempts to navigate to the local URL.
- The browser operation returns
aborted. - Codex Desktop crashes.
What is the expected behavior?
The local page should open in the in-app browser. If navigation fails, the error should be contained and Codex Desktop should remain running.
Additional information
The local Flask application remains available and works normally outside the Codex in-app browser.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Confirming that this still reproduces on a newer Windows Codex Desktop build.
Environment:
Reproduction:
The behavior is reported as deterministic on this build: any Browser invocation triggers the crash. Shell/API-based checks continue to work.
During one Browser screenshot attempt, the tool stream also logged a Statsig POST timeout to
ab.chatgpt.com(10 seconds). The screenshot itself was returned, so this may only be adjacent telemetry rather than the crash cause.Expected:
No project credentials, browser contents, or business data are included in this report.