macOS desktop asks for login on nearly every startup after workspace routing discovery fails
What version of the Codex App are you using?
26.924.22138 on macOS (updated from 26.915.31945). The behavior persisted across the update.
What issue are you seeing?
The desktop app asks me to sign in again on startup nearly every day. Signing in restores access temporarily, but the same problem returns on a later startup. The bundled Codex CLI still reports Logged in using ChatGPT when checked separately.
Sanitized log evidence
On 2026-09-28, 2026-09-29, and 2026-09-30, startup logs show workspace routing discovery failed. On 2026-09-30 specifically:
2026-09-30T02:02:32.665Z Failed to register macOS push notifications: workspace routing discovery failed
2026-09-30T02:02:33.792Z account/read failed: workspace routing discovery failed (error code -32603)
2026-09-30T02:02:55Z /wham/tasks/list and /wham/usage failed: Workspace routing is unavailable (status 432)
2026-09-30T02:03:07.272Z account/login/start
2026-09-30T02:03:20.574Z account_login_completed success=true
The timestamps are UTC. Only diagnostic fields are included; no tokens, account identifiers, local file paths, or raw request headers are included.
Expected behavior
The desktop app should restore the existing ChatGPT sign-in across restarts and recover workspace routing without asking for interactive login every day.
Related reports
The routing errors resemble #47145 and #46941, but this reproduction is on macOS and continued after an app update.
I’m seeing this same issue on macOS on October 3, 2026 in the ChatGPT/Codex desktop app.
Exact error:
Sign-in failed: workspace routing discovery failed
Important detail: ChatGPT works normally in the browser on the same account, but the macOS desktop app cannot complete sign-in/workspace routing. I’m deliberately keeping the working browser session signed in.
This appears consistent with the other recent workspace-routing/auth reports rather than a general account-login failure.
Title: Remote access to an existing conversation fails with authentication errors and offers no remote sign-in recovery
When accessing an existing Codex conversation remotely, three consecutive requests failed with:
workspace routing discovery unauthorized (401)
Signing in again restored access. However, the remote interface did not offer an authentication flow that would let me recover and continue working from the device I was using.
The desktop environment was:
- ChatGPT desktop app with Codex: 26.1013.31256, build 20586
- macOS 27.0.1, Apple silicon
- An existing local conversation accessed remotely
The observed sequence was:
- An existing conversation had been working.
- I accessed that conversation remotely and submitted ordinary follow-up messages.
- Three requests failed without an assistant response.
- Signing in again restored access.
The session transcript recorded these failures on 18 October 2026, with timestamps in UTC:
06:55:50.905 workspace routing discovery unauthorized (401)
06:56:13.756 workspace routing discovery unauthorized (401)
08:40:35.907 workspace routing discovery unauthorized (401)
Corresponding desktop logs showed codex_apps startup/handshake failures with HTTP 401:
code: token_expired
message: Provided authentication token is expired. Please try signing in again.
I would expect authentication to refresh automatically where possible, consistent with the documented behaviour.
If interactive authentication is necessary, the remote interface should:
- Clearly explain that authentication is required.
- Offer a sign-in request on the remote device.
- Allow authentication using the user’s passkey and securely restore access to the existing desktop session.
My passkey is available on my phone. Requiring access to the desktop instead of offering remote authentication defeats the purpose of continuing work while away from the computer.
This report concerns remote access. I have not established whether using the same conversation directly on the desktop would also have failed. The logs show expired-token and routing-authentication errors, but do not establish why renewal failed or which component was responsible.
Additional data point that appears to match this issue (same outer error; cause not established).
Environment: macOS 27.0.1 (26A434), Apple silicon Mac Studio; ChatGPT desktop 26.1013.40934 (20770), launched as a login item after a user-forced power-button restart.
Startup on 2026-10-19 (UTC):
- 08:16:56 app process started
- 08:17:01.97
account/readfailed:workspace routing discovery failed(-32603) - 08:17:03 / 08:17:08 first system network-ready markers (Wi-Fi / Ethernet); these are system events, not correlated with the failed request
- 08:19:23.6 manual sign-in completed;
account/readsucceeded about 30 ms later
The retained startup failure exposes the generic routing diagnostic, without a request-bound HTTP status. That differs from the explicit 401 / token_expired diagnostic in the remote-access comment above; a shared cause is not established. I did not validate credential usability at boot.
A bounded static read of the packaged desktop JavaScript (not a runtime trace) suggests that if the first account lookup fails before any account state is loaded, the auth state defaults to requiresAuth: true; the inspected hook has no timed retry and includes re-reads on subscription-ready/auth-status events. Wider retry logic and the actual sign-in screen gate were not traced.
Could the desktop retry account/workspace discovery once the network is available, instead of showing sign-in when saved credentials may still be valid?
Windows data point: turning off Settings → General → Launch at login fixed the daily sign-in prompts for me. The issue has not recurred since I disabled it.
My proxy does not start automatically with Windows, so I suspect Codex was starting before it was available and treating a failed account/workspace lookup as requiring sign-in. Token invalidation is not confirmed. I noticed launch at login was enabled and suspect this changed after an update, though I have not verified that.
I also posted this under the matching Windows report: https://github.com/openai/codex/issues/53236#issuecomment-6336017678
Same issue for me on MacBook
Fix: ChatGPT Mac app stuck on "Couldn't load workspace settings"
I kept getting this error in the ChatGPT macOS app. The browser version worked perfectly, but the desktop app wouldn't connect.
Even deleting and reinstalling didn't help.
Checked the logs and found:
Workspace routing is unavailablestatus=432workspace routing discovery failed
What fixed it:
- Completely quit the ChatGPT app.
- Open Terminal.
- Run:
"/Applications/ChatGPT.app/Contents/Resources/codex-cli/CodexCLI.app/Contents/MacOS/codex" login
- Complete the browser authentication.
- Reopen the desktop app.
Connected immediately and has been working normally since.
This is a workaround, not necessarily a universal fix, but worth trying if you're facing the same issue.
Credit to the original workaround report: https://community.openai.com/t/macos-account-authentication-unavailable/1418833