Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.924.1866.0 (Windows package version; the app does not load reliably enough to open About Codex)
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What issue are you seeing?
Codex Desktop remains indefinitely on the startup spinner before showing projects or chats. Its child codex.exe app-server process stays running. If I terminate only that process while the spinner is visible, the UI proceeds and my existing chats appear. The problem returns on every normal restart.
The local logs show:
MCP server startup failed server_name="codex_app" error="timed out awaiting tools/list after 10s"
The app-server also receives repeated getAuthStatus requests during startup. Windows AppModel-Runtime reports that the app package and process launch successfully.
What steps can reproduce the bug?
- Close Codex Desktop completely and confirm no codex.exe process remains.
- Open Codex Desktop.
- It stays on the startup spinner indefinitely.
- Terminate the child codex.exe process in Task Manager.
- The UI advances and displays the existing chats.
- Close and reopen Codex Desktop: the spinner returns.
I also tried Windows Repair and Reset, uninstall/reboot/reinstall, a fresh .codex profile, a fresh web profile, temporarily removing config.toml, regenerating logs_2.sqlite, and changing the Windows sandbox mode. None fixed normal startup.
What is the expected behavior?
Codex Desktop should complete startup and display my projects and chats without requiring me to terminate its app-server process.
Additional information
Windows package: OpenAI.Codex 26.924.1866.0.
The child process is launched with:
codex.exe -c features.code_mode_host=true app-server --analytics-default-enabled -c [email protected]_servers.codex_app.enabled=true
A separate warning reports HTTP 409 "Remote app server already online", but no codex.exe process remains locally after closing the app. It is unclear whether this warning is related.
Activity
github-actions commentedon Sep 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
BucaDude commentedon Sep 26, 2026
I am seeing the same failure on Windows 11 25H2 x64 build 26200.9550 with OpenAI.Codex 26.924.1866.0.
The app remains indefinitely on the startup spinner.
I have already tried:
Logs confirm:
The UI still never becomes usable.
This has blocked active development work for several hours. I have also escalated the case through OpenAI Support.
BucaDude commentedon Sep 26, 2026
Confirmed on my system.
Environment:
The app remained indefinitely on the startup spinner after Repair, Reset, uninstall/reinstall, Windows restart, fresh ChatGPT authentication, and rebuilding Codex runtime caches.
While the spinner was displayed, I identified the child app-server codex.exe process and force-terminated only that process.
Result: the ChatGPT/Codex UI immediately advanced and became usable, with my existing project and conversations restored.
So the workaround described in this issue also works on Windows build 26200.9550.
This is only a per-launch workaround; the underlying startup defect still needs to be fixed.
BrandonFailing commentedon Sep 26, 2026
I can independently reproduce this on Windows with Codex Desktop
26.924.1866.0.My behavior matches this issue very closely:
Fully terminate Codex Desktop /
ChatGPT.exeand allcodex.exeprocesses.Cold-launch Codex Desktop.
UI remains indefinitely on the startup spinner.
Run:
Stop-Process -Name codex -ForceThe existing
ChatGPT.exeprocess automatically spawns a replacementcodex.exeapp-server.The UI becomes usable immediately.
I captured the processes before and after the workaround:
Initial app-server (UI hung)
1808897089/25/2026 11:44:28 PMReplacement app-server (UI working)
1560897089/25/2026 11:45:19 PMImportantly, both app-server instances were launched by the same Desktop parent and had the same command line:
codex.exe -c features.code_mode_host=true app-server --analytics-default-enabled -c [email protected]_servers.codex_app.enabled=trueSo in my reproduction there is no apparent executable or command-line/configuration difference between the initial app-server that leaves Desktop stuck and the replacement app-server that immediately works.
I also tried the following without resolving the cold-start problem:
.codex-global-state.json.codex\.tmp\pluginscodex doctorreports runtime0.158.0-alpha.2(windows-x86_64) with 0 failures (22 OK, 1 idle, 2 notes, 2 warnings).This seems particularly consistent with the initial Desktop ↔ app-server startup/initialization lifecycle rather than persistent project or Chromium profile state.
Happy to provide the before/after app-server logs or run additional diagnostics if that would help isolate where the first instance diverges from the replacement.
Auda29 commentedon Sep 26, 2026
Confirmed on Windows 11 with OpenAI.Codex 26.924.2738.0. The desktop app remained on the startup spinner after an update. I saw the same behavior on a second laptop immediately after updating it. Rebooting and Windows App Repair did not resolve it.
While the spinner was visible, terminating only the desktop app's child
codex.exeapp-server process allowed the app to start a replacement process. The UI then finished loading and became usable. This confirms the workaround on 26.924.2738.0; I cannot confirm the underlying cause.S4l4z4r1970 commentedon Sep 26, 2026
I am seeing a very similar issue on the same Codex package version, 26.924.1866.0, on Windows 10 Pro 22H2 x64 (build 19045.7725).
The main ChatGPT Desktop window opens but remains indefinitely on a blank white screen with a loading spinner.
Important difference in my case:
Troubleshooting already performed:
ChatGPT Desktop version: 1.2026.190.0
OpenAI Codex package: 26.924.1866.0
This makes me suspect the issue may be isolated to the main window initialization/rendering path, since the companion window renders normally.
S4l4z4r1970 commentedon Sep 26, 2026
Confirmed: terminating one of the child Codex processes in Task Manager while the main window was stuck on the spinner immediately caused the ChatGPT Desktop main UI to render.
This strongly matches the behavior described in this issue.
Environment:
Additional observation:
S4l4z4r1970 commentedon Sep 26, 2026
After terminating one child Codex process, the main window rendered successfully.
The app now shows the normal UI and a separate “Windows setup was not completed” message with the option “Continue without administrator access.”
S4l4z4r1970 commentedon Sep 26, 2026
Additional update:
After terminating one child Codex process, the main window rendered and showed my chats and projects.
However, selecting any chat or project caused the right-hand content pane to remain completely blank.
The app then reported that an update was available. After applying the update, the application returned to the original state: blank main window with an infinite loading spinner.
So the issue is not limited to initial startup. Even when the shell renders, opening a conversation/project can leave the content renderer blank.
This still appears consistent with a renderer/main-window initialization issue rather than general connectivity or authentication.
S4l4z4r1970 commentedon Sep 26, 2026
After terminating one child Codex process, the main shell renders and the sidebar shows projects/chats.
However, selecting any project or chat leaves the entire right content pane blank.
The app therefore partially initializes: navigation/sidebar works, but the main content renderer does not.
9 remaining items
yunuseli commentedon Sep 27, 2026
Related product/data-safety request discovered while recovering from this issue:
Codex-managed Git worktrees can be stored under the global user-data tree, for example:
%USERPROFILE%\.codex\worktrees\<id>\...That makes project-owned working copies easy to mistake for disposable application state during backup, migration, reset, or recovery.
Please add a supported, user-configurable worktree root, for example:
<workspace>\CodexWorktrees\<project>\<task-id>or a sibling workspace-level directory.
Desired behavior:
~/.codexwhen the user has explicitly requested project-local storage;This would make backup, migration, branch recovery, and detection of uncommitted work much safer.
Abdelouahedb commentedon Sep 27, 2026
samee
demetriomjr commentedon Sep 27, 2026
I was able to reproduce and work around this issue on Windows.
The underlying behavior appears to be a startup race condition between the Desktop renderer and the local
codex.exe app-server.The normal startup flow should effectively be:
On the failing startup path, the renderer appears to miss the initialization state emitted by the first
codex.exe app-server.The relevant UI state then remains effectively stuck at:
The behavior described in the investigation is approximately equivalent to:
The local app-server version is populated when the renderer receives the app-server initialization IPC/state.
If that initialization state is missed,
appServerVersion("local")remainsnull.The important part is that there does not appear to be a sufficient retry/re-request/timeout path for recovering from this state.
As a result, the app is not necessarily still "loading" anything. It can simply remain permanently blocked waiting for initialization state that was already emitted and missed.
This also explains why restarting the renderer itself did not fix the problem in my tests.
The workaround that reliably worked for me was:
The important distinction is that the script kills the initial
codex.exe ... app-serverexactly once.It does not continuously kill respawned app-server processes.
A healthy Codex session also requires an app-server to remain running.
This is also why the first and second
codex.exeprocesses may have:while only the second one results in a usable UI.
The issue appears to be related to initialization timing/lifecycle synchronization, rather than the actual configuration of the app-server process.
Conceptually, it resembles:
with a timing window where:
A more robust design would behave more like:
or:
rather than relying on a one-time initialization notification to unblock the root UI.
I created the following workaround for Windows.
It intentionally uses a
.batlauncher and a separate PowerShell file instead of embedding complex PowerShell insidefor /F, because CMD escaping can corrupt PowerShell output and cause strings to be interpreted as PIDs.codex_fix_48333.batcodex_fix_48333.ps1With the failing startup, the relevant output looks like:
Immediately after the replacement app-server starts, the Codex Desktop UI becomes usable.
No auth data, chats, sessions, configuration files, or project files are deleted by this workaround.
This strongly suggests the failure is in the Desktop ↔ app-server initialization/IPC lifecycle rather than persistent local user data.
ZielonaNoir commentedon Sep 30, 2026
$server = Get-CimInstance Win32_Process -Filter "Name='codex.exe'" |
Where-Object {
$.CommandLine -like 'app-server' -and
$.ExecutablePath -like '*\AppData\Local\OpenAI\Codex\bin*'
} |
Select-Object -First 1
if ($server) {
Stop-Process -Id $server.ProcessId -Force
} else {
Write-Host "notfound ChatGPT app-server。"
}
namgung3421 commentedon Sep 30, 2026
Additional Windows reproduction on the current production build, observed September 30, 2026 (Asia/Seoul).
Static inspection of this build confirms an initialization-snapshot path and a route gate that can remain loading while the local app-server version is null. The runtime value and exact failed delivery/order have NOT been captured, so event loss is a hypothesis, not a proven root cause. The transient network-policy errors during backend restart are likewise not established as the initial cause.
The user requires current models and desktop features; switching to the older Beta or rolling back is not an acceptable solution. Please provide a fix for the current production startup path, with initialization state resynchronization/recovery and a bounded wait, or identify a supported configuration fix and the release containing it.
No account identifiers, credentials, private paths, conversation contents, or raw logs are included. Prepared with AI assistance from the affected user's reports and local read-only diagnostics.
LionelCarminati commentedon Sep 30, 2026
Update after Windows app updates — now on 26.928.2636.0
My installation has received two app updates today. I am now running:
OpenAI.Codex 26.928.2636.0 — package status Ok.
The startup symptom has changed. Instead of remaining on the previous loading spinner, the app now remains indefinitely on the ChatGPT/OpenAI splash logo.
I inspected the Codex processes while the splash was stuck. There are now two distinct codex.exe processes:
Local app-server
codex.exe -c features.code_mode_host=true app-server --analytics-default-enabled -c [email protected]_servers.codex_app.enabled=true -c [email protected]_servers.code-review.enabled=true
Remote exec-server
codex.exe exec-server --remote https://codex-cloud-environments.chatgpt.com/api --environment-id
There is also a separate:
codex-computer-use-swift.exe
Important behavioral change on this build:
I have not terminated codex-computer-use-swift.exe.
So on 26.928.2636.0 the startup hang still exists, but the visible symptom has changed from the spinner to the splash logo, and in my current reproductions the process whose termination can release startup is the exec-server --remote, rather than necessarily the initial local app-server.
This is based on observed process command lines and behavior; I do not know whether the remote exec-server is the cause of the hang or merely another startup dependency whose restart/termination changes the initialization sequence.
ramzess22 commentedon Oct 1, 2026
I can independently reproduce the same issue.
Environment:
The failure was reproduced across multiple separate Codex Desktop launches.
Repeated log error:
MCP startup failed: timed out awaiting tools/list after 10s
with:
pluginId=codex-app-tools@openai-bundled
server=codex_app
The Desktop app also records:
name=app_start
outcome=failure
reason=timeout
with wallDurationMs approximately 121,600 ms.
codex doctor reports:
22 ok · 1 idle · 5 notes · 2 warn · 0 fail degraded
Authentication, WebSocket connectivity (HTTP 101), OpenAI endpoint reachability, and Codex state database integrity all pass.
A stale node_repl path was investigated earlier, but later logs show the bundled node_repl.exe resolving successfully while the codex_app tools/list timeout still occurs.
The same workaround works in my case:
while Desktop is stuck during startup, terminating the affected local Codex/app-server child process allows the application to recover and become usable.
I have attached a redacted diagnostic archive containing codex doctor --json, selected startup log excerpts, and a README.
Codex_Support_2026-09-30.zip
jshousephd commentedon Oct 1, 2026
Additional reproduction on September 30, 2026, with a newer Windows desktop build.
Environment:
Observed behavior:
Correlated diagnostics:
The app-server exits coincide with the manual recovery; they are not evidence of a spontaneous crash. A separate plugin manifest warning about a defaultPrompt exceeding 128 characters appears as the last captured stderr line, but has not been established as causal. Likewise, subsequent desktop network-policy warnings are not established as the startup cause.
A temporary local workaround has been installed to restart only the app-server child once if a fresh launch lacks readiness markers after 30 seconds. Its detection was checked against the failed-launch logs, but an unattended fresh-launch recovery has not yet been verified. This is a workaround, not a root-cause fix.
Private paths, usernames, account identifiers, conversation IDs, and raw logs are omitted from this public report.
Snikzzz-olt commentedon Oct 1, 2026
Still reproducible on 26.928.3736.0 (Microsoft Store), Windows 11 build 22000 x64, signed in with a ChatGPT account. Affected since 26.924.1866.0 too; started fine on 26.917.x.
A few additional data points that may help narrow it down:
account/read,getAuthStatus,config/read,experimentalFeature/list,windowsSandbox/readinessandskills/listreturn within milliseconds. After that the renderer never sendsaccount/gatewayOAuth/read,model/list,plugin/installedorhooks/list, and[startup][renderer] app routes mountedis never logged. The renderer stays idle (~0–3% CPU), with no exceptions and no crash dumps.ChatGPT.exe --type=renderer, the lowest--renderer-client-id), the built-in renderer crash recovery reloads the window. The UI then mounts within ~6–12 s, with history and sign-in intact. A full app restart usually hangs again: over the past week only about 1 in 8 cold launches got past the spinner by itself. This suggests the problem is specific to the first renderer load after process start.View → Reload Windowwould work, but the menu bar is rendered by the web UI and isn't reachable while hung. Alt, Ctrl+R and Ctrl+Shift+R do nothing./wham/statsig/bootstrap, ~7.9 MB uncompressed for my account) has a 5 s timeout. When it times out, the app also stays on the spinner permanently, with no retry except on 401. On a slower connection this alone causes a hang.Auda29 commentedon Oct 2, 2026
Update from my earlier report: after updating the Codex CLI and Windows desktop app separately, the installed
OpenAI.CodexMSIX package is now26.930.2377.0.The desktop app has started normally on three consecutive full app exits and relaunches. I did not need to terminate or restart the child
codex.exe app-serverprocess or use the workaround launcher. The previous endless loading/splash behavior has not recurred in these tests.One qualification: OpenChamber was running during the tests, and
codex-windows-sandbox-service.exeremained as a background process after closing the desktop app. These were therefore not tests with every Codex-related process stopped. I also cannot isolate whether the desktop update, the separate CLI update, or their combination made the difference, nor confirm a general fix for other users.For now,
26.930.2377.0appears to start normally on my system.krlee0082-boop commentedon Nov 18, 2026
I am experiencing the same issue on Windows 11 x64 with Codex version 26.1111.2228.0 as of November 18, 2026.
The app repeatedly freezes on the OpenAI splash screen. Terminating the codex.exe app-server process temporarily restores functionality, but the issue returns.
I have tried Windows app Repair, restarting the computer, disabling the malformed MCP configuration, and isolating config.toml. None of these resolved the issue.
The diagnostic logs show successful app-server initialization, successful Local Work executor connection, and repeated ResizeObserver errors.
This issue persists in version 26.1111.2228.0, which is newer than the version originally reported here.
I can provide redacted diagnostic logs if needed.