Skip to content

[macOS][26.928.21956] Stuck on startup logo: renderer stalls after account lookup, or waits on 6×10 s Statsig bootstrap timeouts #49622

Open

Description

@TPuHo4u

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

26.928.21956 (build 12404), bundled app-server codex-cli 0.159.2. Auto-updated on 2026-09-30 from 26.924.x (app-server 0.158.0-alpha.2.1), which started normally.

What subscription do you have?

ChatGPT Pro

What platform is your computer?

macOS 27.0 (26A428), arm64 (Apple Silicon)

What issue are you seeing?

Since the auto-update the window stays on the OpenAI logo. Four launches on 2026-09-30:

Launch Waited Result
1 (first launch after the update) ~2 h never loaded
2 ~3 min never loaded
3 ~42 min never loaded
4 1 min 42 s loaded

The app-server side is healthy in all four: initialize_handshake_result outcome=success, and the renderer's first requests (config/read, account/read, getAuthStatus) are answered in under 100 ms. The stall is in the renderer, and there seem to be two separate problems.

1. Launches 1–3: the renderer goes quiet right after the account lookup. After [chatgpt-account-lookup] completed ... result=succeeded nothing else is logged: no Statsig: error while bootstrapping ..., no Codex runtime config selected, no codex-home request, no remote_connections.manager_state_set hostId=local, no thread/* requests, for up to two hours. This looks like the renderer-side stall in #49557 (same 26.928.21956 / 0.159.2) and #48896.

2. Launch 4: the post-login Statsig bootstrap times out on every attempt.

12:41:23Z [chatgpt-account-lookup] completed ... result=succeeded
12:42:22Z error Statsig: error while bootstrapping post-login client attemptNumber=6 errorMessage="Timed out while fetching post-login Statsig bootstrap"
12:42:55Z Codex runtime config selected artifact=codex-primary-runtime ...
12:42:55Z [electron-fetch-handler] codex-home request ...    <- UI mounts from here
12:44:05Z error Statsig: error while bootstrapping post-login client attemptNumber=6 ...    <- keeps failing in the background

In the bundle, the renderer races POST /wham/statsig/bootstrap against a 10 s timer (Tks=1e4), so six timed-out attempts cost about a minute before it falls back. The endpoint is reachable from this machine: an unauthenticated POST https://chatgpt.com/backend-api/wham/statsig/bootstrap returns 401 in ~2.5 s over both IPv4 and IPv6. The app's own authenticated request did not complete within 10 s on any attempt.

The last 26.924 launch hit the same timeout (attemptNumber=1 errorMessage="Timed out while fetching post-login Statsig bootstrap") and still loaded. On 26.928 the same error is logged with attemptNumber=6.

What steps can reproduce the bug?

  1. macOS, signed in with a ChatGPT account, app auto-updated to 26.928.21956.
  2. Quit the app completely and launch it again.
  3. Watch ~/Library/Logs/com.openai.codex/<date>/codex-desktop-*-t0-*.log.
  4. Either nothing is logged after [chatgpt-account-lookup] completed and the logo never goes away, or Timed out while fetching post-login Statsig bootstrap (attemptNumber=6) appears about 60 s later and the UI mounts about 30 s after that.

What is the expected behavior?

  • A slow or failing Statsig bootstrap should not hold the whole UI. After the first timeout the app should render with cached or default flags and keep retrying in the background.
  • The loading screen should always end in the UI or an actionable error, not wait indefinitely.

Additional information

Activity

  1. added
    bug
    app
    connectivity
    on Sep 30, 2026
  2. abcjhby2871 commented on Sep 30, 2026

    @abcjhby2871

    Confirmed on another Apple Silicon Mac running macOS 27.0 (26A428), app version 26.928.21956 / build 12404 (bundle ID com.openai.codex). An additional window in an already-running app took approximately 73 seconds to display its UI on 2026-09-30.

    The app's own client.performance.span name=app_start provides the following timings for the affected window (milliseconds from the start of the measured span):

    Milestone ms
    renderer_entry_evaluated 895.1
    host_services_ready 909.4
    renderer_ready 1033.4
    host_startup_ready 1033.8
    settings_ready 1412.1
    shell_visible 71574.4
    home_visible 71591.6
    sidebar_ready 72942.3

    The span finished successfully with durationMs=72942.4, wallDurationMs=72942, backgroundDurationMs=0, and timingQuality=foreground.

    Relevant sanitized log sequence (UTC):

    2026-09-30T14:16:06.004Z [statsig-refresh-diagnostics] React root render requested
    2026-09-30T14:16:06.929Z [chatgpt-account-lookup] completed result=succeeded authenticatedAccountPresent=true
    2026-09-30T14:17:09.018Z error Statsig: error while bootstrapping post-login client attemptNumber=6 errorMessage="Timed out while fetching post-login Statsig bootstrap"
    2026-09-30T14:17:15.882Z Codex runtime config selected artifact=codex-primary-runtime
    2026-09-30T14:17:17.928Z client.performance.span name=app_start outcome=success durationMs=72942.4
    

    In the same app process, an earlier primary window completed its app-start span in 7312.6 ms. The contrast suggests the long wait is not simply the cost of starting the native process or Chromium renderer.

    Read-only inspection of the installed bundle also confirms the post-login configuration request uses safePost("/wham/statsig/bootstrap", {retry: false, signal: ...}), raced against a 10,000 ms timer. This supports the timeout/retry explanation, but does not prove that all 73 seconds were spent in that request or identify the reason it timed out.

    System checks during diagnosis showed no swap usage, roughly 84% CPU idle, and about 602 GiB available disk space. A local system proxy was enabled; the actual authenticated bootstrap request's route/response has not been captured, so proxy/network, service-side, and client request-handling causes remain unresolved.

    The actionable UI issue is that an online feature-configuration failure appears to delay the entire visible shell for over a minute. Rendering the shell with cached/default configuration and an actionable loading/error state would make this failure much easier to recover from and diagnose.

    No raw logs, account identifiers, credentials, or conversation content are included.

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

    appbugconnectivityperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions