openai / openai/codex

ChatGPT desktop repeatedly loses bundled Codex app-server after workspace auth 401; in-app feedback also fails

Open
#40,222 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app app-server auth bug
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

Summary

The ChatGPT desktop app on macOS repeatedly enters the "ChatGPT unexpectedly stopped" recovery screen because the bundled Codex app-server becomes unresponsive and is then terminated with SIGKILL. In-app feedback upload also fails.

Feedback ID from the failed upload: 019f21b4-19d1-75c1-baac-7d2b9210925e

Environment

  • macOS 26.5.1 (25F80)
  • ChatGPT desktop app: 26.818.41509 (bundle build 6962)
  • Bundled Codex CLI: 0.149.0-alpha.4.1
  • Authentication method: ChatGPT

Reproduction

  1. Launch the ChatGPT desktop app.
  2. Open or create a local Codex task.
  3. Submit a prompt or leave the app running for several minutes.
  4. The app-server stops responding, requests time out, and the app displays "ChatGPT unexpectedly stopped."
  5. Restarting temporarily recovers the app, but the problem repeats.
  6. Attempting to submit in-app feedback displays "Feedback upload failed" while preserving the feedback ID above.

Relevant sanitized log sequence

sa_server_request_failed status=401 errorMessage={"detail":"Must use workspace account for this operation"}
Thread catalog sync failed errorMessage="App server account changed"
mcp_request_timeout method=turn/start timeoutMs=30000
app_server_connection.closed signal=SIGKILL
Codex CLI process exited classifiedAsExpected=false signal=SIGKILL
fatal_error_broadcasted
Request failed errorMessage="Codex app-server is not available"

The account ID, local paths, prompt contents, and full logs have intentionally been omitted.

Troubleshooting already attempted

  • Validated ~/.codex/config.toml successfully.
  • Disabled ambient suggestions and realtime voice screen context.
  • Disabled all plugins and restarted in a clean configuration.
  • Moved/rebuilt the Codex and ChatGPT caches.
  • Verified the application signature and available disk space.
  • Fully restarted the desktop app.

The crash still occurs with all plugins disabled, so it does not appear to be caused by a third-party plugin. The repeated 401/workspace-account-change sequence suggests an authentication or workspace token synchronization loop between the desktop renderer and the bundled app-server.

Expected behavior

The desktop app and bundled app-server should use one stable authenticated principal. A workspace settings 401 should not make the app-server unresponsive or trigger a recurring crash screen, and the feedback uploader should remain usable when reporting the failure.

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

No source files or tests are named. Start by reproducing the macOS failure and tracing the sanitized log sequence around ~/.codex/config.toml, the 401 workspace-account response, and app-server termination. Done means the desktop app and bundled app-server maintain stable authentication without recurring recovery screens, and feedback upload works.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
api, authentication, desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.