Skip to content

Windows desktop app stuck ~2 min on splash after every relaunch; only signing out (deleting auth.json) gets in (related #49979) #50001

Open

Description

@Man7a

Related to #49979 (same splash-screen hang, same errors). Opening a separate issue with extra findings. I'm on Windows 11 Pro (26200), Codex desktop from the Microsoft Store (OpenAI.Codex; also seen on 26.915 and 26.924, now 26.928.21956). The app sits on the OpenAI logo splash after every relaunch. For me that's after each app update, or about once a day. Signing out is the only thing that gets me in. Details from my logs below.

Splash time is a fixed ~122 s, not an endless hang. client.performance.span reported durationMs 121838, 121917 and 122902 on three launches today. All host startup phases (bootstrap handoff complete, startup window revealed, local app-server sqlite initialized, window context initialized) finish within ~1.3 s. The rest of the time is spent in the renderer.

Same errors as the original report, at these points after launch:

  • ~12 s: fs/readFile requires an environmentId (code -32602)
  • ~24 s: mcp_extension_tool_discovery_failed ... codex-app-tools@openai-bundled ... timed out awaiting tools/list after 10s
  • ~24 s: mcp_extension_tool_discovery_failed ... unified-computer-use@openai-bundled ... The system cannot find the path specified. (os error 3)

The "path not found" errors have a concrete cause. ~/.codex/config.toml still pointed [mcp_servers.node_repl] (command, NODE_REPL_NODE_PATH, NODE_REPL_NODE_MODULE_DIRS, CODEX_CLI_PATH) and notify at runtime folders from an earlier version (runtimes\cua_node\be2aaea167c12e53\..., bin\c6fe824d725f02d7\codex.exe). Those folders no longer exist; the current ones have different hashes. The app didn't update these entries after updating. Removing them didn't fix the splash on its own.

What fixes it, and what doesn't:

  • Deleting ~/.codex/auth.json and cap_sid, then signing in again: the app opens immediately.
  • Moving only cap_sid aside (keeping auth.json): still on the splash after 31 s.
  • Clearing GPU/HTTP/code caches: no effect. A clean reinstall: only until the next relaunch.
  • Clock (matches the server Date header), proxy (direct) and connectivity to the OpenAI hosts: all fine.

Login state while it's stuck:

  • The app-server's GET /backend-api/codex/models returns 200 OK with the stored credentials on every launch, so the backend accepts the login.
  • In auth.json: id_token expired one hour after the last sign-in, access_token is still valid for about 10 days, and last_refresh hasn't changed since that sign-in.
  • Backdating last_refresh did not trigger a refresh within 20 s of launch.
  • My reading (not proven): the renderer waits ~120 s on something tied to the stored login or session, and a fresh sign-in skips that wait.

Possibly related: #46299 and #45797 (follow-up messages hang; reinstall only fixes it temporarily), and #44338 (No ChatGPT browser route is available; I logged this 212 times in one day).

Happy to share full logs privately.

Activity

  1. added
    bug
    app
    windows-os
    auth
    on Oct 1, 2026
  2. helix-bio-labs commented on Oct 1, 2026

    @helix-bio-labs

    Same here.
    Going on 5 days with the exact same annoying issue: stuck on an infinite loading loop.

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

    appauthbugperformancewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions