Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1029.7803.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
No response
What issue are you seeing?
The Codex Windows desktop application repeatedly fails with workspace routing discovery failed during normal active use.
The issue occurred on two consecutive days (November 3 and November 4, 2026), at approximately the same time each day.
The application was working normally immediately before the failure. Once the error occurred, the client returned to the login screen.
Browser-based OAuth authentication completes successfully, but returning to the desktop application consistently results in the same workspace routing error.
The ChatGPT website remains fully functional using the same account.
Observed errors from local diagnostic logs (sanitized):
workspace routing discovery failed
Workspace routing is unavailable
HTTP status: 432
Internal error code: -32603
Method: account/read
Endpoint: /wham/usage
Timed out waiting for MCP response to getAuthStatus
Timed out waiting for MCP response to account/read
account changed during workspace routing discovery
Troubleshooting already attempted:
- Fully restarting the desktop application
- Repeating browser-based OAuth login
- Repairing and resetting the Windows application
- Clearing previous login sessions
The problem persists after these steps.
Expected behavior:
The desktop application should maintain its authenticated session during normal use, or successfully recover after reauthentication without failing workspace routing discovery.
Additional observations:
The issue appears to recur around the same time on consecutive days, suggesting a possible session lifecycle, authentication refresh, or workspace routing initialization problem. The exact root cause has not been established.
Please investigate the interaction between account/read, authentication status retrieval, workspace routing discovery, and HTTP 432 responses.
Related issues: #50828, #49827.
What steps can reproduce the bug?
- Sign in to the Codex Windows desktop app.
- Use the application normally for an extended period.
- The application unexpectedly fails with a workspace routing error.
- Restart the application and initiate login.
- Complete authentication in the browser.
- Return to the desktop application.
- Observe "workspace routing discovery failed".
- Repeat login attempts; the error persists.
- Additional diagnostic details:
- The issue occurred on November 3 and November 4, 2026, at approximately 15:00 (UTC+8) on both days.
- The application was working normally immediately before the failure.
- Browser-based OAuth login completes, but workspace initialization fails afterward.
- The same account continues to work normally through the ChatGPT website.
- The desktop application logs show:
workspace routing discovery failedWorkspace routing is unavailable(HTTP 432)account/read(error-32603)Timed out waiting for MCP response to getAuthStatusaccount changed during workspace routing discovery
- Restarting, repairing, resetting, and reauthenticating the desktop application did not resolve the issue.
Reproducibility: Intermittent during normal use, but persistent once triggered. The exact trigger is unknown.
No session IDs, authentication tokens, personal identifiers, or unredacted logs are included for privacy reasons.
What is the expected behavior?
The Codex Windows desktop application should remain authenticated and functional during normal use.
If the session expires or requires reauthentication, completing browser-based OAuth login should successfully restore the desktop session and initialize workspace routing.
A temporary workspace routing failure should not permanently block access to the application or force repeated unsuccessful login attempts.
Additional information
No response
Activity
github-actions commentedon Nov 4, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
7yueapp-a11y commentedon Nov 4, 2026
Additional independent affected Windows installation (sanitized diagnostics). The issue persists despite numerous desktop app reinstalls. The same ChatGPT account works normally in the web browser, but Codex Windows Desktop cannot load the account or chat list.
[features] respect_system_proxy = trueapplied with config backed up; no improvement.https://chatgpt.comresponds HTTP 200 andhttps://auth.openai.comresponds HTTP 302. These only demonstrate public HTTPS reachability, not complete app auth functionality.Workspace routing is unavailable / HTTP 432, 9 account lookup unavailable/no account, 10 app-server transport/exit errors, 0 Cloudflare/connection errors and 0 auth token retrieval errors.This points toward desktop account/workspace discovery (or its backend integration) rather than a simple inaccessible proxy port. The diagnostics deliberately did not open
auth.json, inspect tokens, or collect private account IDs, emails, full raw logs, or user data. Thus missing token workspace claims are not confirmed for this installation.Please investigate the Windows Desktop 26.1029.7803.0 account lookup/workspace routing path and advise a supported fix that does not require destructive credential clearing or another reinstall. Related: #59410.
d453308406 commentedon Nov 7, 2026
Additional affected Windows installation — sanitized reproduction, 2026-11-07 (UTC+08).
Symptoms
Couldn't load workspace settings, and laterworkspace routing discovery failed/Reconnecting 5/5; existing local projects and conversation titles remain visible but desktop chat is unusable.Just a moment...managed challenge onauth.openai.com/sign-in-with-chatgpt/codex/consent.data.a569302d6a601d41.10.0.26340.9482; installed Windows package version:26.1103.4239.0. (Package version, not separately verified About-dialog app version.)Controls / diagnostic results
https://chatgpt.comreturned 200; unauthenticatedhttps://api.openai.com/v1/modelsreturned expected 401. These are basic reachability tests, not proof that desktop authentication and workspace routes succeed.0.154.0successfully completed ChatGPT device-code login.codex exec --ephemeral --skip-git-repo-check -s read-onlysmoke tests returnedOK, including one run with--ignore-user-config(official provider). This strongly suggests the problem is specific to the Windows desktop app or its account/workspace routing path, rather than complete loss of account/model access.AuthRequiredwarnings were observed, but did not prevent CLI model responses.Recovery attempts already made (no lasting desktop recovery)
respect_system_proxyandsystem_proxy_fallbackflags; no improvement in desktop.Could maintainers investigate the Windows desktop app-server account/workspace discovery and whether managed Cloudflare challenges can be handled in the desktop authentication/settings session? In particular, please advise a supported recovery that preserves existing projects, sessions and local app data.
No cookies, OAuth/device codes, access tokens, account IDs, project paths, proprietary content, or unredacted logs are included.
Wionerlol commentedon Nov 8, 2026
Additional affected Windows installation — November 8, 2026.
I am experiencing a highly similar account initialization failure with the unified ChatGPT/Codex Windows desktop app.
Environment
OpenAI.Codex26.1103.4239.0Observed behavior
The desktop app consistently displays:
It cannot proceed beyond the account-loading error screen.
Sanitized diagnostic logs
Repeated
account/readrequests also returnederrorCode=-32603during subsequent startup attempts.I have not independently confirmed an HTTP 432 response.
Troubleshooting already attempted without success
CODEX_CLI_PATHis unsetThe failure persists across application restarts and network configuration changes.
I also observed an Electron
net::ERR_CONNECTION_CLOSEDwarning in the Windows release-marker check, although its relationship to the account initialization failure is unknown.Given the similar reports involving
account/readand workspace routing discovery, could maintainers investigate whether the account initialization path is affected by authentication challenges, workspace routing service responses, or app-server session state?I can provide additional sanitized desktop logs if needed.
arniksup commentedon Nov 8, 2026
Additional Windows/WSL case: Desktop account loading recovered after manual app-server token refresh
Environment
26.1103.4239.0(Windows x64)0.167.0-alpha.3.2Initial failure
Codex Desktop displayed "We couldn't load your account. Check your connection and try again."
Desktop logs showed:
A separate runtime installation warning was also observed:
Troubleshooting and recovery sequence
Not logged in.codex login --device-auth. Authentication succeeded, but Desktop still failed.CODEX_HOMEpointing to the Windows.codexdirectory.codex app-serverfailed to initialize SQLite under/mnt/c/Users/<redacted>/.codex.CODEX_SQLITE_HOMEto a separate directory on the Linux filesystem allowed the manually launched app-server to start.{"id":1,"method":"account/read","params":{"refreshToken":false}} {"id":2,"method":"account/read","params":{"refreshToken":true}}Both succeeded and returned valid ChatGPT account information and workspace routing metadata.
Important qualification
This is an observed recovery sequence, not a confirmed root-cause fix.
The successful
refreshToken=truecall may have restored shared authentication or routing state. However, a transient backend recovery, cache change, or application restart could also explain the outcome.The SQLite override was applied only to the manually launched app-server. There is no evidence that it modified Desktop's own SQLite configuration.
The local logs confirmed
account/read -32603, but the nested RPC error and HTTP 432 were not independently established.Suggested investigation
Could maintainers examine how Desktop and manually launched WSL app-server processes share authentication, workspace routing, and SQLite state?
In particular, can a manual
account/read(refreshToken=true)recover a Desktop account initialization failure without clearing credentials or resetting application data?Related issues: #59344, #59439.
arniksup commentedon Nov 8, 2026
Recovery confirmed by before/after Desktop logs — Windows 26.1103.4239.0
Following my earlier diagnostic investigation, the Codex Desktop account-loading issue has recovered.
Before recovery (November 8, 2026, local time UTC+3):
Desktop session start | account/read failures | HTTP 401 warnings | Runtime installation failures -- | -- | -- | -- 19:52 | 12 | 3 | 1 19:56 | 2 | 5 | 0 20:18 | 2 | 4 | 0All 16
account/readrequests returnederrorCode=-32603.After recovery (20:38):
account/read: 3 successful requests (errorCode=null).account/read -32603: 0 occurrences.desktop_fetch_auth_401: 0 occurrences.App-server initialization: successful.
primary_runtime_install_failed: still occurred once.Desktop UI loaded successfully.
Notable observations
The first successful Desktop session followed a manually executed
account/readJSON-RPC request withrefreshToken=true, which returned valid ChatGPT account and workspace routing information.This suggests that refreshing authentication/routing state may have contributed to recovery, but causality is not established.
The primary-runtime installation error persisted in the successful session. Therefore, it is not necessarily a blocker for account initialization.
No application reinstall, reset, or credential deletion was required.
HTTP 432 was not independently observed in the collected logs, so this report does not claim it occurred.
Conclusion
Desktop account initialization transitioned from consistently failing (
account/read -32603) to consistently succeeding in the observed recovery session.Could maintainers investigate whether the Desktop account initialization path can become stuck with stale authentication/workspace routing state and whether a successful manual token refresh can resolve that condition?
Wionerlol commentedon Nov 9, 2026
Update: Manual App Server account read and token refresh succeed, but Desktop still fails
I performed additional diagnostics using the bundled Windows Codex CLI from ChatGPT Desktop
26.1103.4239.0:codex-cli 0.167.0-alpha.3.2codex login status:Logged in using ChatGPTaccount/read(refreshToken=false): SUCCESSaccount/read(refreshToken=true): SUCCESSHowever, restarting the ChatGPT Desktop app still results in:
The Desktop logs continue to show:
The second failure occurred after the successful manual token refresh.
This provides a useful contrast with the recovery reported by @arniksup: a successful manual
account/read(refreshToken=true)does not reliably recover the Desktop account initialization failure.Could maintainers investigate differences between the manually launched Windows App Server and the Desktop-managed App Server, particularly their runtime environment, authentication context, and workspace routing discovery?
No credentials or account identifiers are included.
jakegore commentedon Nov 9, 2026
Manual token refresh suggested by @arniksup worked for me - thanks!
JuanquiRubio commentedon Nov 9, 2026
Recovery report — Windows Codex Desktop 26.1103.4239.0 (November 9, 2026)
I had the same Desktop error:
Before recovery
OpenAI.Codex 26.1103.4239.0; bundled app-server:0.167.0-alpha.3.2.method=account/read errorCode=-32603anddesktop_fetch_auth_401 hadToken=true tokenSource=loadedforPOST https://chatgpt.com/ces/v1/rgstr.Hosted AppServerManager identity is not readyandhasAccount=false hasUser=false.Sequence immediately preceding recovery
codex login statusin PowerShell (reported "Logged in using ChatGPT").401 Unauthorized,refresh_token_invalidated, and "Your session has ended".codex logoutandcodex loginto reauthenticate.0.104.0) then failed to decode the models catalog:unknown variant 'max'. It also rejected selected model requests.npm install -g @openai/codex@latest; confirmedcodex-cli 0.167.0.codex exec --skip-git-repo-check -m gpt-6.1-sol "Responde únicamente con OK"; the response wasOK.I did not manually call app-server
account/read(refreshToken=true), edit tokens, or delete.codex.This is an observed recovery sequence, not proof that updating the standalone CLI alone fixes Desktop. Reauthentication, model-catalog compatibility, and/or restarting Desktop may have contributed. Sharing it because it may help other affected Windows users.
Wionerlol commentedon Nov 9, 2026
Recovery confirmed — Windows Desktop 26.1103.4239.0
My ChatGPT Windows Desktop account-loading issue is now resolved.
Root cause evidence
Although the bundled Codex CLI reported
Logged in using ChatGPT, an actual model request failed with:Successful recovery sequence
codex-cli 0.167.0-alpha.3.2).codex logoutfollowed bycodex login.codex login statusreported a ChatGPT login.codex execrequest, receivingOKwithout authentication errors.Previously attempted Repair, Reset, cache isolation, proxy changes, and manual
account/read(refreshToken=true)did not resolve the issue.Conclusion
The successful recovery strongly suggests that stale or revoked Windows Codex authentication credentials contributed to the Desktop initialization failure.
Checking login status or successfully calling
account/readalone was insufficient to detect this condition. A real authenticated CLI request exposed the revoked token.Thanks to @JuanquiRubio for documenting the recovery sequence!
Faramarz-Azad commentedon Nov 27, 2026
I am experiencing the same issue on Windows 11 with Codex Desktop.
App version: 26.1120.6357.0
Symptoms:
Additional diagnostics:
The OpenAI Help Center support chatbot also fails with:
"There was an error while generating the assistant's response."
Could the maintainers investigate whether this is related to the Windows desktop account/workspace initialization issue?
Faramarz-Azad commentedon Nov 27, 2026
Additional important information:
I cannot use Codex Desktop for ordinary conversations either.
When the workspace routing error occurs:
This suggests the issue may affect the desktop app's overall account initialization or backend communication, rather than only workspace routing.
Please investigate the broader desktop initialization and authentication flow.
Faramarz-Azad commentedon Nov 28, 2026
I found the root cause of my issue.
The problem is related to the Codex Pet feature.
Steps to reproduce:
workspace routing discovery failedCouldn't load workspace settingsReconnecting 5/5This strongly suggests a bug related to the Pet Show/Hid state or its interaction with workspace initialization.
Please investigate why hiding the Pet feature causes the entire Codex Desktop app to become unusable.
iacibarros commentedon Nov 28, 2026
User-confirmed workaround for a matching Windows Desktop failure (Norton 360 HTTPS/TLS inspection). A separate installation running
26.1120.6357.0exhibitedtoken_exchange_failed,workspace routing discovery failed, HTTP 432,account/read -32603, andReconnecting 5/5 / waiting for network, despite successful browser and CLI access. Temporarily disabling Norton HTTPS inspection restored login/workspace loading; re-enabling it was followed by reconnect loops. After receiving instructions for narrow exclusions of official OpenAI hosts in Norton Safe Web, the user confirmed resolution. Full sanitized evidence, exact suggested exclusions, security caveats, and proposed non-destructive troubleshooting order: #58466 (comment) . Please prioritize checking endpoint web/TLS/WebSocket filtering before resets, reinstalls, or local history deletion. This is a confirmed recovery in one installation, not a universal root-cause claim.