openai / openai/codex

[Windows][Codex Desktop] In-app browser crashes Codex when opening localhost

Open
#38,175 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app browser bug windows-os
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

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?
  1. Start a Flask application on http://127.0.0.1:5000.
  2. Ask Codex to inspect or test it using the in-app browser.
  3. Codex initializes the browser and attempts to navigate to the local URL.
  4. The browser operation returns aborted.
  5. 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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash on Windows with a Flask app at http://127.0.0.1:5000 and the Codex in-app browser. Trace the browser navigation that returns “aborted” and the resulting desktop shutdown. Done means the local page opens successfully or navigation errors are contained without closing Codex Desktop.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, rust
Domain
desktop, operating-systems, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.