Skip to content

[Windows] Daily re-login after update to 26.1007: workspace routing discovery times out at startup #53236

Open

Description

@ataraxen

What version of the Codex App are you using?

  • Desktop app: 26.1007.21434, build 13901, production channel.
  • Windows package: 26.1007.2314.0.
  • Bundled app-server: 0.162.0-alpha.17.2.
  • The built-in update check reports up_to_date.

What subscription do you have?

ChatGPT account authentication. Subscription and account identifiers are omitted.

What platform is your computer?

Windows x64.

What issue are you seeing?

After updating to the current desktop release, Codex asks me to sign in again on the first startup after the computer has been off or asleep overnight.

It happens approximately once per day. Completing sign-in restores access, and closing and reopening Codex later the same day does not require another sign-in.

The startup failure is in workspace routing initialization:

  • account/read returns JSON-RPC -32603: workspace routing discovery timed out.
  • Startup getAuthStatus checks time out.
  • Authenticated desktop requests subsequently return status 432: Workspace routing is unavailable.
  • After interactive sign-in, account/read succeeds and later restarts restore the account normally.

Update and recurrence evidence

The local logs establish the following sequence. Times in this table are UTC.

Date / time App-server / package Observed behavior
Oct 10, 00:42 Core 0.162.0-alpha.2; package 26.1002.7124.0 Startup account read succeeds in 14 ms; no interactive sign-in event.
Oct 10, 02:18–02:19 Core 0.162.0-alpha.17.2; package 26.1007.2314.0 First recorded workspace-routing timeout after the version change; account read fails after approximately 29 s.
Oct 11, 03:02–03:03 Same new version The same startup routing error recurs.
Oct 11, 03:06–03:07 Same new version Sign-in restores access; the next app startup reads the account successfully in 6 ms.
Oct 12, 00:06–00:07 Same new version The same startup routing error recurs again.
Oct 12, 00:39 Same new version Sign-in restores access; a subsequent account read succeeds in 8 ms.

Sanitized log evidence

These are normalized diagnostic fields from the Oct 12 desktop log, with request IDs, account IDs, machine names, paths, and stack traces removed:

2026-10-12T00:07:04.234Z  account/read errorCode=-32603
                         message="workspace routing discovery timed out"
2026-10-12T00:07:04.373Z  startup auth check:
                         "Timed out waiting for MCP response to getAuthStatus"
2026-10-12T00:07:34.273Z  account/read durationMs=28986 errorCode=-32603
2026-10-12T00:07:54.918Z  /settings/user status=432
                         message="Workspace routing is unavailable"
2026-10-12T00:39:39.218Z  account_login_completed success=true
2026-10-12T00:39:39.432Z  account/read durationMs=8 errorCode=null

The local login cache exists. I did not find refresh_token_reused or refresh_token_invalidated errors in the examined desktop logs. No user-level or machine-level CODEX_CLI_PATH override is configured; the desktop logs confirm it is using the bundled runtime.

What steps can reproduce the bug?

  1. Use the Windows desktop app with ChatGPT sign-in and update to the version above.
  2. Complete sign-in and confirm that the app works.
  3. Leave the computer off or asleep overnight.
  4. Open Codex the next day.
  5. The app requests sign-in again; the startup logs show workspace-routing discovery timing out.
  6. Complete sign-in, then fully close and reopen the app later that day.
  7. The subsequent startup restores the account without another interactive login.

Observed across three dates; the exact overnight trigger has not yet been isolated.

What is the expected behavior?

The desktop app should restore the saved ChatGPT session and initialize workspace routing across overnight shutdown/sleep and app restarts.

If routing discovery temporarily fails, the app should recover or expose a routing-specific retry/error rather than requiring interactive sign-in while the saved login may still be usable.

Additional information

The version transition and repeated routing failures suggest a regression in the current client's startup or workspace-routing recovery path. This report establishes the timing and failure signature; it does not prove the underlying implementation cause.

Related reports: #47145 (Windows workspace-routing timeout and repeated login) and #49443 (daily startup sign-in prompts with workspace-routing failure).

Only sanitized diagnostic fields are shared. No raw logs, credentials, account identifiers, local paths, or conversation contents are attached.

Activity

  1. added
    bug
    app
    windows-os
    auth
    app-server
    connectivity
    on Oct 12, 2026
  2. Zachary-1012 commented on Oct 14, 2026

    @Zachary-1012

    Independent Windows 26.1007 reproduction (2026-10-14, UTC+08:00)

    Reporting a separate reproduction of the same worktree/workspace-routing failure. No account identifiers, secret tokens, project names, or raw logs are included.

    System and versions: Windows x64, Codex Desktop package 26.1007.9446.0, bundled codex-cli 0.162.0-alpha.17.2; separately installed CLI 0.161.0.

    Observed:

    1. codex login status succeeds with Logged in using ChatGPT. Existing authentication data parses successfully; OAuth callback logs include has_error=false.
    2. Invoked the desktop-bundled native binary with app-server --stdio, completed initialize, then called account/read with refreshToken=false (no model prompt/API expenditure). Normal environment returned JSON-RPC -32603 / workspace routing discovery timed out after 15.03 s.
    3. Tested an isolated process with HTTP_PROXY / HTTPS_PROXY pointing at the already-running local proxy (not changing OS networking): same error after 15.01 s.
    4. A transient apparent workaround specifying an existing log_dir produced two successful account/read responses in 4.56 s and 4.67 s with workspaceRouting present. However, another identical persistent-configuration attempt again failed after 15.00 s. This is NOT a reliable fix. The experimental configuration was fully rolled back to its original SHA.
    5. The separate CLI 0.161.0 also reproduced the 15-second routing timeout. Model-list refreshes repeatedly timed out in desktop logs.
    6. Git itself resolves the project correctly; all 17 registered worktree directories existed at final inspection. No Git reset/clean, session removal, authentication reset, or desktop reinstall was performed.

    Impact: Desktop workspaces may be inaccessible despite a valid ChatGPT login and intact local Git state. This is not established to be an expired password or missing worktree. OpenAI also reported degraded Codex Desktop performance on October 14, but service-incident overlap alone does not prove root cause.

    Request: Please investigate the 15 s workspace-routing discovery timeout for this Windows/client family, distinguish a backend incident from a client regression, provide a supported non-destructive recovery path, and identify any patched release. Existing auth files, conversations, worktrees and local changes must be preserved. I can provide separately sanitized diagnostics to OpenAI Support if needed.

    Related: #53261. This GitHub comment is purely a technical bug report; account/billing complaints are sent privately to official support.

  3. ChrisTinaAmadeus commented on Oct 18, 2026

    @ChrisTinaAmadeus

    I’m also being asked to sign in again almost every day in Codex Desktop on Windows.

    Current installed Windows package: 26.1013.4894.0 (checked October 18, 2026).

    I have also encountered a Cloudflare 403 HTML challenge from auth.openai.com during sign-in, but I haven’t confirmed whether it is related to the repeated login prompts or whether my logs show the same workspace-routing timeout.

    Is there a confirmed fix for session persistence on current Windows builds, or a supported recovery method that preserves local work?

  4. ChrisTinaAmadeus commented on Oct 22, 2026

    @ChrisTinaAmadeus

    Update: turning off Settings → General → Launch at login fixed the daily sign-in prompts for me on Windows. The issue has not recurred since I disabled it.

    My proxy does not start automatically with Windows. I suspect Codex was starting before the proxy was available, causing the account/workspace lookup to fail and prompting another sign-in. I have not confirmed that the token itself was invalidated.

    Launch at login was enabled on my machine; I suspect an update turned it on, but I have not verified that. If you use a proxy, this setting is worth checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverauthbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions