Skip to content

Windows: switching accounts succeeds in browser but desktop stays on spinner; workspace routing times out #49438

Open

Description

@JeromeZhao-zjx

What version of the Codex App are you using (From “About Codex” dialog)?

Windows package OpenAI.Codex 26.924.2738.0

What subscription do you have?

Not confirmed for both accounts

What platform is your computer?

Windows 11 x64

What issue are you seeing?

Switching from Account A to Account B completes browser authentication, but Codex desktop stays on a black window with a spinner and never loads the workspace. Account A works. The problem briefly disappeared and has now recurred despite full app exits, Windows app Repair, and a Windows restart.

Latest reproduction: September 30, 2026 around 09:25 Asia/Shanghai. Sanitized desktop log evidence (UTC):

  • 2026-09-30T01:25:02.469Z account_login_completed success=true
  • 2026-09-30T01:25:02.739Z /wham/tasks/list: Desktop network policy does not allow this destination
  • 2026-09-30T01:25:02.740Z /wham/usage: same error
  • 2026-09-30T01:33:35.703Z account/read: workspace routing discovery timed out, durationMs=15019

Earlier reproductions occurred at 00:12, 00:35 and 04:52 local time. These messages do not establish an account restriction or a policy root cause.

What steps can reproduce the bug?

  1. Sign in to Codex desktop with Account A and verify the workspace loads.
  2. Sign out/switch to Account B and complete browser sign-in.
  3. Return to Codex desktop: it remains on a black spinner window.
  4. Switching back to Account A works. The behavior is intermittent; a temporary recovery did not persist.

What is the expected behavior?

Both accounts should load their workspace after successful authentication. Discovery failures should show an actionable error rather than an indefinite spinner.

Additional information

Related reports found by searching: #48894 and #47145. This report adds a reproducible account-switching distinction and fresh timestamped evidence. CLI observed: 0.158.0-alpha.2.1. Logs also repeatedly show EXDEV while renaming statsig-state.json; its relevance is unknown. A previous cache-reset attempt did not demonstrate that caches were actually cleared, so it is not a verified workaround. Account emails and credentials are omitted. Please investigate workspace routing and policy initialization across account changes.

Activity

  1. added
    app
    on Sep 30, 2026
  2. added
    bug
    windows-os
    auth
    connectivity
    on Sep 30, 2026
  3. github-actions commented on Sep 30, 2026

    @github-actions
    Contributor
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

    appauthbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions