You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS desktop asks for login on nearly every startup after workspace routing discovery fails #49443
appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
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:
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.
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:
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.
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/read succeeded 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: #53236 (comment)
appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
Activity
nguyenjustin214-lab commentedon Oct 3, 2026
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 failedImportant 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.
aerospatiale commentedon Oct 18, 2026
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:
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:
The observed sequence was:
The session transcript recorded these failures on 18 October 2026, with timestamps in UTC:
Corresponding desktop logs showed
codex_appsstartup/handshake failures with HTTP 401:I would expect authentication to refresh automatically where possible, consistent with the documented behaviour.
If interactive authentication is necessary, the remote interface should:
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.
HumaidAlhuthali commentedon Oct 19, 2026
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):
account/readfailed:workspace routing discovery failed(-32603)account/readsucceeded about 30 ms laterThe retained startup failure exposes the generic routing diagnostic, without a request-bound HTTP status. That differs from the explicit 401 /
token_expireddiagnostic 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?
ChrisTinaAmadeus commentedon Oct 22, 2026
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: #53236 (comment)
WadeDavis commentedon Oct 31, 2026
Same issue for me on MacBook
rxrumi commentedon Nov 23, 2026
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 failedWhat fixed it:
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