Skip to content

[Windows 26.924.2738.0] Startup spinner recovers after reloading main index.html, not detached window #48487

Open

Description

@Reyoonmath

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

Windows Settings reports package version 26.924.2738.0 (the About dialog was inaccessible during the hang).

  • Product UI: ChatGPT Windows desktop, Chat/Work interface
  • Package: OpenAI.Codex
  • Package family: OpenAI.Codex_2p2nqsd0c76g0
  • Bundled app-server version reported in the log: 0.158.0-alpha.2.1

What subscription do you have?

Not included in this public diagnostic report.

What platform is your computer?

Windows, x64. App log reports osRelease=10.0.26200; Windows edition was not separately verified.

Observed on 2026-09-27 KST (UTC+09:00). The supplied startup log covers approximately 01:18:17–01:18:51 KST / 2026-09-26 16:18:17–16:18:51 UTC.

What issue are you seeing?

Launching the desktop app left a dark, otherwise blank window with a persistent spinner. The Chat/Work home screen and existing Local work could not be accessed. PC reboot and Windows App Repair did not restore the UI.

Confirmed recovery on this PC: after launching with a local debugging port, selecting the actual main page app://-/index.html and sending Page.reload with ignoreCache=true restored the Chat/Work home screen. The protocol response was checked for errors, and the user confirmed recovery with a screenshot.

Important target distinction: an earlier diagnostic selected the first page target and actually reloaded detached-window.html. That did not restore the main screen. Both targets had the title ChatGPT. Only the subsequent reload explicitly targeting index.html restored it.

This is a single-PC observation, not a confirmed root cause or permanent fix. Normal exit/relaunch after recovery has not yet been reported. Whether an update originally triggered the problem is also unconfirmed.

What steps can reproduce the bug?

Observed startup sequence in the affected existing profile:

  1. Launch the Windows desktop app with an existing signed-in account and Local projects.
  2. The app window appears but remains on the dark spinner screen.
  3. Rebooting the PC and running Windows App Repair still leave the same symptom.
  4. The supplied log reports successful app-server initialization and account lookup, but the home screen does not become available.

A clean profile, another PC, and a minimal independent reproducer have not been tested.

Troubleshooting already attempted

  • PC reboot: no improvement reported.
  • Windows Settings → ChatGPT → Repair: no improvement reported.
  • Temporarily rename config.toml, then launch: no improvement reported.
  • Run a script to rename selected UI cache directories: no improvement reported. The output confirming which cache directories actually existed/changed was not supplied, so this is not proof that cache corruption has been ruled out.
  • A Ctrl+Shift+R instruction was included in troubleshooting, but actual main-window reload through that shortcut was not verified.
  • Diagnostic Page.reload sent to detached-window.html: main UI remained stuck.
  • Diagnostic Page.reload sent explicitly to app://-/index.html, with a successful response checked: home UI recovered.

Windows App Reset, deletion of the entire app-data directory, and reinstalling during this diagnostic sequence were not confirmed actions. The recovery command did not delete project files or session directories. No loss of actual work files or sessions was established.

Observed recovery procedure — diagnostic record, not a permanent workaround recommendation

The app was activated with --remote-debugging-port=9222. The local target list at http://127.0.0.1:9222/json contained:

main page:     app://-/index.html
detached page: app://-/detached-window.html?initialRoute=%2Fdetached-window

After connecting to the main page's debugger WebSocket, the following command was sent:

{"id":1,"method":"Page.reload","params":{"ignoreCache":true}}

The response for id=1 was received and checked for an error. The Chat/Work home screen then appeared, confirmed by the user and a screenshot.

The user was instructed to completely exit the diagnostic app instance and return to normal launch afterward, rather than leave the debugging port enabled. That subsequent launch result is still unknown.

What is the expected behavior?

Normal launch should reach the Chat/Work UI and existing work without requiring a debugging connection or manually reloading the main renderer.

Please investigate startup completion and provide a supported fix/recovery path that preserves existing conversations, projects, and user data. A temporarily recovered UI should not be treated as evidence that the underlying problem is permanently fixed.

Additional information

What the supplied log establishes

  • App-server initialization handshake succeeds, Codex CLI initialized is logged, and the connection transitions to connected.
  • Local project migration reports completion with projectCount=3. This is not a full data-integrity check.
  • React root render requested is logged.
  • Account lookup reports authenticatedAccountPresent=true and result=succeeded.
  • codex-home request is logged. That single entry alone does not establish that this request remained pending forever.
  • ChatGPT pub/sub opens and subscribes.
  • Both primary and detached windows have load/ready events.
  • An Artifact Session host Unix-socket warning occurs earlier. Its causal relationship to the spinner is unknown; initialization continues afterward.

The supplied excerpt does not establish a renderer/IPC race, success of every network request, or an app_start timeout. These should not be inferred solely from the excerpt.

Redacted startup log excerpt — 25 source lines, timestamps in UTC

This is an excerpt from the 92-line startup log supplied during troubleshooting, not the complete log. Windows account names and UUID identifiers are redacted. The large runtimeInstallConfig entry is omitted. No account email, authentication token, conversation text, or project content is included.

[source line 17] 2026-09-26T16:18:17.793Z warning Failed to start the Artifact Session host errorMessage="Artifact Session host Unix-socket transport is not available on Windows." errorName=Error errorStack="Error: Artifact Session host Unix-socket transport is not available on Windows.\n    at e.start (C:\\Program Files\\WindowsApps\\OpenAI.Codex_26.924.2738.0_x64__2p2nqsd0c76g0\\app\\resources\\app.asar\\.vite\\build\\main-DAwJoFgo.js:9:25055)\n    at rlt (C:\\Program Files\\WindowsApps\\OpenAI.Codex_26.924.2738.0_x64__2p2nqsd0c76g0\\app\\resources\\app.asar\\.vite\\build\\main-DAwJoFgo.js:1578:74390)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n    at async C:\\Program Files\\WindowsApps\\OpenAI.Codex_26.924.2738.0_x64__2p2nqsd0c76g0\\app\\resources\\app.asar\\.vite\\build\\bootstrap-D2PJMYEh.js:144:16204"
[source line 35] 2026-09-26T16:18:17.914Z info [AppServerConnection] Transport start success connectionId=1 hostId=local transport=stdio
[source line 36] 2026-09-26T16:18:18.039Z info [window-manager] window main frame finished load appearance=primary hostId=local startupElapsedMs=223 webContentsId=1 windowId=1
[source line 38] 2026-09-26T16:18:18.066Z info [AppServerConnection] Current reported app-server version: currentVersion=0.158.0-alpha.2.1 hostId=local
[source line 39] 2026-09-26T16:18:18.066Z info [AppServerConnection] initialize_handshake_result durationMs=152 initializeRequestId=__codex_initialize__ outcome=success transportKind=stdio
[source line 40] 2026-09-26T16:18:18.067Z info [AppServerConnection] Codex CLI initialized
[source line 41] 2026-09-26T16:18:18.069Z info [AppServerConnection] app_server_connection.state_changed cause=post_initialize_connection_state connectionError=null currentConnectionId=1 currentState=connecting hasConnection=true hostId=local initialized=true initializeInFlight=false next=connected pendingClientRequests=0 pendingInternalRequests=0 previous=connecting reconnectAttempt=0 reconnectTimerScheduled=false restartInFlight=false targetConnectionId=1 targetReadyState=1 transport=stdio
[source line 42] 2026-09-26T16:18:18.098Z info [host-app-server-projects] Local app-server project migration completed projectCount=3
[source line 43] 2026-09-26T16:18:18.137Z info [startup] [0.361] Host startup critical-path phases completed startupElapsedMs=502 startupPhaseDurationsMs={"bootstrap handoff complete":141,"main app.whenReady resolved":0,"registered app protocol":1,"local data migrations completed":0,"registered deep link protocol":0,"startup window revealed":240,"local app-server sqlite initialized":76,"window context initialized":77,"application menu refreshed":3,"bundled plugins reconcile checked":0}
[source line 49] 2026-09-26T16:18:18.320Z info [window-manager] window ready-to-show appearance=primary hostId=local startupElapsedMs=505 webContentsId=1 windowId=1
[source line 52] 2026-09-26T16:18:19.012Z info [electron-message-handler] [statsig-refresh-diagnostics] React root render requested rendererWebContentsId=1 rendererWindowAppearance=primary rendererWindowFocused=true rendererWindowId=1 rendererWindowVisible=true windowType=electron
[source line 58] 2026-09-26T16:18:19.257Z info [BundledPluginsMarketplace] plugin_marketplace_sync_completed marketplaceName=openai-primary-runtime pluginCount=5 pluginsInstalledAfterWrite=5 pluginsInstalledBeforeWrite=0
[source line 59] 2026-09-26T16:18:19.258Z info [install-primary-runtime] primary_runtime_selection architecture=x64 buildFlavor=prod desiredBundleVersion=undefined frameworkEligible=true frameworkEnabled=false osRelease=10.0.26200 reason=gate-disabled runtimeRoot=C:\Users\[REDACTED_USER]\.cache\codex-runtimes\codex-primary-runtime runtimeSource=archive
[source line 64] 2026-09-26T16:18:19.409Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=4 errorCode=null hadInternalHandler=false hadPending=true method=account/read originWebcontentsId=1 queueWaitMs=0 requestId=[REDACTED_ID] targetDestroyed=false
[source line 65] 2026-09-26T16:18:19.413Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=8 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=[REDACTED_ID] targetDestroyed=false
[source line 67] 2026-09-26T16:18:19.637Z info [electron-message-handler] [chatgpt-account-lookup] completed accountInfoHttpStatus=undefined accountsHttpStatus=undefined authenticatedAccountPresent=true authMethod=chatgpt failureType=undefined hasEverErrored=false rendererWebContentsId=1 rendererWindowAppearance=primary rendererWindowFocused=true rendererWindowId=1 rendererWindowVisible=true result=succeeded windowType=electron
[source line 75] 2026-09-26T16:18:20.424Z info [electron-fetch-handler] codex-home request hostId=undefined
[source line 83] 2026-09-26T16:18:22.206Z info [electron-message-handler] chatgpt_pubsub_transport_opened rendererWebContentsId=1 rendererWindowAppearance=primary rendererWindowFocused=true rendererWindowId=1 rendererWindowVisible=true topicCount=1 windowFocused=true
[source line 84] 2026-09-26T16:18:22.338Z info [electron-message-handler] chatgpt_pubsub_topic_subscribed catchupCount=0 hadPreviousOffset=false recovered=false rendererWebContentsId=1 rendererWindowAppearance=primary rendererWindowFocused=true rendererWindowId=1 rendererWindowVisible=true topicId=resource-updates
[source line 86] 2026-09-26T16:18:22.479Z warning [IpcClient] Received broadcast but no handler is configured method=client-status-changed
[source line 88] 2026-09-26T16:18:22.594Z info [window-manager] window ready-to-show appearance=detached hostId=local startupElapsedMs=145 webContentsId=2 windowId=2
[source line 89] 2026-09-26T16:18:22.598Z info [window-manager] window main frame finished load appearance=detached hostId=local startupElapsedMs=149 webContentsId=2 windowId=2
[source line 90] 2026-09-26T16:18:36.604Z info [bundled-plugins] bundled_plugins_reconcile_skipped_features_unavailable reason=focus
[source line 91] 2026-09-26T16:18:46.864Z info [bundled-plugins] bundled_plugins_reconcile_skipped_features_unavailable reason=focus
[source line 92] 2026-09-26T16:18:51.883Z info [bundled-plugins] bundled_plugins_reconcile_skipped_features_unavailable reason=focus

Related reports

Search found similar startup-spinner reports in #48463 and #48466. This report adds the directly observed main-page versus detached-page reload result on this machine. A shared underlying cause has not been established; please link or consolidate as appropriate.

Please investigate a data-preserving permanent fix and an accessible, supported recovery action for users whose main UI never loads.

Activity

  1. added
    bug
    app
    windows-os
    on Sep 26, 2026
  2. Reyoonmath commented on Sep 26, 2026

    @Reyoonmath
    Author

    Follow-up: failure recurred after relaunch — previous recovery was not persistent

    The affected user has now reported that, after the successful main-page (app://-/index.html) reload described above, they ran the ChatGPT desktop app again and it failed to open normally again.

    This updates the original report's “normal exit/relaunch afterward has not yet been reported” limitation: a subsequent app relaunch was attempted, and the startup failure recurred according to the user. The previous successful Page.reload restored that running instance; it did not establish a lasting fix.

    Observed sequence on this PC:

    1. Startup remained on the loading screen.
    2. Explicitly reloading the main index.html renderer restored the home UI (previously confirmed visually).
    3. The user relaunched the app and reported that it was not opening normally again.

    No fresh logs or screenshot have been supplied for this recurrence. The exact process-termination method and arguments used for the subsequent launch have not been independently verified. A second successful renderer-reload recovery has not yet been reported. This does not establish a precise cause or a failure rate across every possible launch.

    Please keep this treated as an unresolved startup problem and provide a supported, data-preserving permanent fix. Repeated manual debugging/reloading should not be necessary to open the desktop app.

  3. YRN-playmaker commented on Sep 27, 2026

    @YRN-playmaker

    I can add a reproducible A/B test and a second renderer-only recovery observation on Windows 11 x64 / OpenAI.Codex 26.924.2738.0. The symptom began after an abnormal shutdown caused by power loss.

    • Start with my preserved, existing %USERPROFILE%.codex: indefinite startup spinner, reproducible across launches.
    • Start with a completely fresh empty .codex: app loads normally.
    • Restore the existing .codex: spinner returns.
    • Recreate the Chromium/Electron profile while retaining the existing .codex: spinner still occurs.
    • While stuck, terminate only ChatGPT.exe --type=renderer ... --renderer-client-id=5. Electron creates a replacement renderer; the UI recovers immediately and the same local Projects/Work data loads. The main process, codex.exe app-server, NetworkService and StorageService remain running. The stuck renderer typically showed about 300–400 MB working set in process snapshots; that value alone does not establish OOM.

    This renderer-process restart differs from #48333, where terminating codex.exe restored the UI. It is consistent with this issue's main-page reload observation, though neither result proves a shared underlying cause. The responsible entry in my existing local state has not been isolated. The manual restart is a workaround; normal launches with that state still hang. I can provide sanitized logs if useful. I am not uploading the raw .codex directory because it contains private local data.

  4. mrmaster1371-crypto commented on Sep 28, 2026

    @mrmaster1371-crypto

    Additional evidence from another Windows x64 system on the exact Stable package OpenAI.Codex 26.924.2738.0:

    • Windows App Repair completed successfully (package file validation and registration returned success), but the startup/loading problem persisted.
    • A narrow, reversible test that regenerated only Stable's Session Storage and navigation/sidebar state did not help; both originals were restored. Cookies, Local Storage, account data, projects, conversations, and .codex were not reset.
    • The Stable Sentry scope repeatedly recorded: Matched leaf route at location "/" does not have an element or Component ... resulting in an "empty" page.
    • Ending only Stable's initial child codex.exe caused the Desktop process to spawn a replacement backend, but the same root-route warning was recorded again, so that recovery was not sufficient on this machine.
    • Stable was then activated through its registered AUMID with --remote-debugging-port=9222. The target list contained the real main target app://-/index.html, two auxiliary index.html?initialRoute=... targets, and detached-window.html.
    • Sending Page.reload with ignoreCache=true specifically to the exact app://-/index.html target returned {"id":1,"result":{}}.
    • A post-reload structural check of that same target showed document.readyState="complete", a populated root DOM (about 274k HTML characters), 94 buttons, New chat present, and no visible Loading text. This confirms recovery of the main UI without deleting user data.
    • A Beta build was also open during diagnosis and its log recorded HTTP 409 Remote app server already online. That concurrent-channel warning is real, but its causal relationship to the Stable renderer stall is not established.

    No raw chat text, account email, tokens, UUIDs, or complete logs are included. Normal relaunch persistence and two-message acceptance testing are still unverified.

  5. ttec commented on Sep 29, 2026

    @ttec

    Confirmed on another Windows x64 PC on 2026-09-29, with MSIX package OpenAI.Codex 26.924.2738.0 (app build 11645).

    While the main window remained on the startup spinner:

    • The tray menu populated with existing chats. Selecting a chat did not clear the spinner.
    • Remote access through the iOS app continued to work with projects/chats on the same PC.
    • Local app-server connection and account lookup succeeded.

    Multiple startup logs recorded app_start outcome=failure reason=timeout after approximately 123–126 seconds. One example had durationMs=124602, with renderer_ready, host_startup_ready and settings_ready already recorded, but no shell_visible, sidebar_ready or home_visible marks in that span.

    After starting with remote debugging enabled and connecting Chrome DevTools, I used Reload Page. The main UI then loaded, including the projects/chat sidebar and the new desktop-layout introduction dialog. Recovery was also verified by inspecting and capturing the actual app://-/index.html target. No runtime installation or data reset was performed as part of this recovery.

    For context, Primary Runtime 26.921.10847 was already present: all 22,470 regular files in the matching downloaded archive existed in the cache with matching sizes (not a per-file content-hash verification).

    This confirms renderer reload as a workaround on this PC. Whether the fix survives a normal restart has not yet been tested. A startup ordering/timing issue is only a hypothesis, not a confirmed root cause.

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

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions