Skip to content

Codex desktop UI hang, #49049

Closed
Closed

Description

@RCWmoab

After the latest codes desktop update(between 09/25/2026 - 09/28/2026) every time I open codex I get the loading wheel and the UI never loads. I have trouble shot this with Chatgpt and have a solution.. for now. The UI hangs EVERY time I fully close out of codes desktop and then reopen the application. Chatgpt and I have determined the backend is healthy, the session authenticates with OpenAI, but the UI hangs and that is the issue.

Feedback ID: no-active-thread-01a0e92f-7216-7083-9885-fb1813ff896d

Chatgpt diag:
Windows 11, build 26100
Codex Desktop 26.924.2738.0
Codex CLI 0.158.0-alpha.2.1
Desktop process launches normally
app-server launches and initializes successfully
ChatGPT authentication succeeds
WebSocket connectivity succeeds
CDN connectivity succeeds
configuration parses successfully
Codex databases pass integrity checks
desktop renderer remains on the loading spinner
startup eventually records app_start outcome=failure reason=timeout
killing only the codex.exe app-server child while leaving the Electron desktop process running causes it to respawn
UI becomes functional roughly 15 seconds later

no deletion/reset/reinstallation is required

Chatgpt Powershell solution:
$servers = Get-CimInstance Win32_Process -Filter "Name='codex.exe'" |
Where-Object { $_.CommandLine -match 'app-server' }

$servers | Select-Object ProcessId, ParentProcessId, CommandLine

if ($servers) {
$servers | ForEach-Object {
Write-Host "Restarting Codex app-server PID $($.ProcessId)"
Stop-Process -Id $
.ProcessId -Force
}
} else {
Write-Host "NO_CODEX_APP_SERVER_FOUND"
}

Codes Doctor Output:
←[2K←[1mCodex Doctor←[0m ←[2mv0.158.0-alpha.2.1 · windows-x86_64←[0m

←[1mNotes←[0m
←[38;5;214m⚠←[39m rollouts 641 active files · 1.93 GB on disk
←[38;5;214m⚠←[39m security Microsoft Defender can interfere with Codex. Verify Codex exclusions.
←[38;5;214m⚠←[39m search search command could not be verified - Install ripgrep or repair the bundled Codex package.
←[38;5;214m⚠←[39m mcp MCP configuration has optional issues - Set the missing MCP env vars or disable the affected server.
←[2m─────────────────────────────────────────────────────────────←[0m

←[1mEnvironment←[0m
←[38;5;10m✓←[39m system ←[2men-US←[0m
←[38;5;240mos ←[39m Windows 10.0.26100 (Windows 11 Professional) [64-bit]
←[38;5;240mOS language ←[39m en-US
←[38;5;240mVISUAL ←[39m not set
←[38;5;240mEDITOR ←[39m not set
←[38;5;10m✓←[39m disk ←[2msufficient free disk space (320.8 GiB)←[0m
←[38;5;240mwarning threshold ←[39m 5.0 GiB
←[38;5;240mfailure threshold ←[39m 1.0 GiB
←[38;5;240mCODEX_HOME available ←[39m 320.8 GiB
←[38;5;240mworktree available ←[39m 320.8 GiB
←[38;5;214m⚠←[39m security Microsoft Defender can interfere with Codex. Verify Codex exclusions.
←[38;5;240mendpoint products ←[39m Microsoft Defender
←[38;5;240mexclusion targets ←[39m signed Codex app; codex.exe; codex-windows-sandbox-setup.exe; codex-command-runner.exe; codex-code-mode-host.exe
←[38;5;214m▸←[39m ←[38;5;240mCodex exclusions ←[39m not verified ←[2m(expected Codex application and helper exclusions)←[0m
←[38;5;214m→←[39m Microsoft Defender: Add a certificate or executable-path exclusion for Codex and its helpers. If Attack Surface Reduction blocks Codex, add a rule exclusion. If Controlled Folder Access blocks Codex, allow the app.
←[38;5;10m✓←[39m runtime ←[2mother←[0m
←[38;5;240mversion ←[39m 0.158.0-alpha.2.1
←[38;5;240minstall method ←[39m other
←[38;5;240mcommit ←[39m ←[38;5;240munknown←[39m
←[38;5;240mexecutable ←[39m ←[38;5;117mC:\Users\Ryan\AppData\Local\OpenAI\Codex\bin\faa963e871dd422c\codex.exe←[39m
←[38;5;10m✓←[39m install ←[2mconsistent←[0m
←[38;5;240mcontext ←[39m other
←[38;5;240mmanaged by ←[39m npm: ←[38;5;240mno←[39m · bun: ←[38;5;240mno←[39m · pnpm: ←[38;5;240mno←[39m · Vite+: ←[38;5;240mno←[39m · package root ←[38;5;240m—←[39m
←[38;5;214m⚠←[39m search search command could not be verified — Install ripgrep or repair the bundled Codex package.
←[38;5;240msearch command ←[39m rg.exe
←[38;5;240msearch provider ←[39m system
←[38;5;240msearch command readiness←[39m cannot find binary path
←[38;5;10m✓←[39m git ←[2mno Git worktree is active←[0m
←[38;5;10m✓←[39m git ←[2mgit executable found; execution not verified←[0m
←[38;5;240mselected git ←[39m ←[38;5;117mC:\Program←[39m Files\Git\cmd\git.exe
←[38;5;240mrepo detected ←[39m ←[38;5;240mfalse←[39m
←[38;5;240mPATH entries (1) ←[39m ←[38;5;117mC:\Program←[39m Files\Git\cmd\git.exe
←[38;5;240mgit execution ←[39m not inspected (PATH helpers are not executed)
←[38;5;10m✓←[39m terminal ←[2munknown←[0m
←[38;5;240mterminal ←[39m ←[38;5;240munknown←[39m
←[38;5;240mstdin is terminal ←[39m true
←[38;5;240mstdout is terminal ←[39m true
←[38;5;240mstderr is terminal ←[39m true
←[38;5;240mterminal size ←[39m 237x63
←[38;5;240mcolor output ←[39m enabled
←[38;5;240mconsole input code page ←[39m 437
←[38;5;240mconsole output code page←[39m 437
←[38;5;240mstdout console mode ←[39m 0x00000003 (VT processing: ←[38;5;240mfalse←[39m)
←[38;5;240mstderr console mode ←[39m 0x00000003 (VT processing: ←[38;5;240mfalse←[39m)
←[38;5;10m✓←[39m title ←[2mdefault · project system32←[0m
←[38;5;240mtitle source ←[39m default
←[38;5;240mtitle items ←[39m activity, project-name
←[38;5;240mactivity item ←[39m true
←[38;5;240mproject source ←[39m cwd
←[38;5;240mproject value ←[39m system32
←[38;5;10m✓←[39m state ←[2mdatabases healthy←[0m
←[38;5;240mCODEX_HOME ←[39m ←[38;5;117mC:\Users\Ryan.codex←[39m (dir)
←[38;5;240mlog dir ←[39m ←[38;5;117mC:\Users\Ryan.codex\log←[39m (missing)
←[38;5;240msqlite home ←[39m ←[38;5;117mC:\Users\Ryan.codex←[39m (dir)
←[38;5;240mstate DB ←[39m ←[38;5;117mC:\Users\Ryan.codex\state_5.sqlite←[39m (file) · integrity ←[38;5;10mok←[39m
←[38;5;240mlog DB ←[39m ←[38;5;117mC:\Users\Ryan.codex\logs_2.sqlite←[39m (file) · integrity ←[38;5;10mok←[39m
←[38;5;240mgoals DB ←[39m ←[38;5;117mC:\Users\Ryan.codex\goals_1.sqlite←[39m (file) · integrity ←[38;5;10mok←[39m
←[38;5;240mmemories DB ←[39m ←[38;5;117mC:\Users\Ryan.codex\memories_1.sqlite←[39m (file) · integrity ←[38;5;10mok←[39m
←[38;5;240mactive rollouts ←[39m 641 ←[2mfiles←[0m · 1.93 ←[2mGB←[0m (avg 3.08 ←[2mMB←[0m)
←[38;5;240marchived rollouts ←[39m 2 ←[2mfiles←[0m · 219.34 ←[2mKB←[0m (avg 109.67 ←[2mKB←[0m)
←[38;5;240mmemories v2 DB ←[39m ←[38;5;117mC:\Users\Ryan.codex\memories_v2_1.sqlite←[39m (missing)
←[38;5;240mmemories v2 DB integrity←[39m skipped (missing)
←[38;5;240mqueue DB ←[39m ←[38;5;117mC:\Users\Ryan.codex\queue_1.sqlite←[39m (file)
←[38;5;240mqueue DB integrity ←[39m ←[38;5;10mok←[39m
←[38;5;240mthread history DB ←[39m ←[38;5;117mC:\Users\Ryan.codex\thread_history_1.sqlite←[39m (file)
←[38;5;240mthread history DB integrity←[39m ←[38;5;10mok←[39m
←[38;5;10m✓←[39m threads ←[2mrollout files and state DB thread inventory agree←[0m
←[38;5;240mdefault model provider ←[39m openai
←[38;5;240mrollout DB active files ←[39m 641
←[38;5;240mrollout DB archived files←[39m 2
←[38;5;240mrollout DB scan errors ←[39m 0
←[38;5;240mrollout DB malformed file names←[39m 0
←[38;5;240mrollout DB scan cap reached←[39m ←[38;5;240mfalse←[39m
←[38;5;240mrollout DB rows ←[39m 643
←[38;5;240mrollout DB active rows ←[39m 641
←[38;5;240mrollout DB archived rows←[39m 2
←[38;5;240mrollout DB missing active rows←[39m 0
←[38;5;240mrollout DB missing archived rows←[39m 0
←[38;5;240mrollout DB stale rows ←[39m 0
←[38;5;240mrollout DB archive mismatches←[39m 0
←[38;5;240mrollout DB duplicate rollout thread ids←[39m 0
←[38;5;240mrollout DB duplicate DB paths←[39m 0
←[38;5;240mrollout DB model providers←[39m openai=643
←[38;5;240mrollout DB sources ←[39m subagent:other=360, subagent:thread_spawn=277, vscode=6

←[1mConfiguration←[0m
←[38;5;10m✓←[39m config ←[2mloaded←[0m
←[38;5;240mmodel ←[39m gpt-5.6-sol · openai
←[38;5;240mcwd ←[39m ←[38;5;117mC:\WINDOWS\system32←[39m
←[38;5;240mconfig.toml ←[39m ←[38;5;117mC:\Users\Ryan.codex\config.toml←[39m
←[38;5;240mconfig.toml parse ←[39m ←[38;5;10mok←[39m
←[38;5;240mMCP servers ←[39m 1
←[38;5;240mfeature flags ←[39m 53 enabled · 0 overridden (full list with ←[38;5;117m--all←[39m)
←[38;5;240mconfiguration scope ←[39m invocation config, including cloud-managed policy
←[38;5;240mactive thread overrides ←[39m not inspected
←[38;5;240mconfiguration load ms ←[39m 10
←[38;5;10m✓←[39m auth ←[2mauth is configured←[0m
←[38;5;240mauth storage mode ←[39m File
←[38;5;240mauth file ←[39m ←[38;5;117mC:\Users\Ryan.codex\auth.json←[39m
←[38;5;240mstored auth mode ←[39m chatgpt
←[38;5;240mstored API key ←[39m ←[38;5;240mfalse←[39m
←[38;5;240mstored ChatGPT tokens ←[39m true
←[38;5;240mstored agent identity ←[39m ←[38;5;240mfalse←[39m
←[38;5;214m⚠←[39m mcp MCP configuration has optional issues — Set the missing MCP env vars or disable the affected server.
←[38;5;240mconfigured servers ←[39m 1
←[38;5;240mdisabled servers ←[39m 0
←[38;5;240mstdio servers ←[39m 1
←[38;5;240mnode_repl ←[39m env var CODEX_WINDOWS_REGISTERED_CORE is not set
←[38;5;10m✓←[39m sandbox ←[2mrestricted fs + restricted network · approval OnRequest←[0m
←[38;5;240mapproval policy ←[39m OnRequest
←[38;5;240mfilesystem sandbox ←[39m restricted
←[38;5;240mdenied-read rules ←[39m 0
←[38;5;240mdenied-read glob rules ←[39m 0
←[38;5;240mglob scan max depth ←[39m unbounded
←[38;5;240mmanaged filesystem source←[39m ←[38;5;240mnone←[39m
←[38;5;240mnetwork sandbox ←[39m restricted
←[38;5;240mlinux helper ←[39m ←[38;5;240mnone←[39m
←[38;5;240mexecve wrapper helper ←[39m ←[38;5;240mnone←[39m
←[38;5;240msandbox backend ←[39m ←[38;5;244m←[3m←[0m←[39m
←[38;5;240mdenied-read restrictions←[39m ←[38;5;240mfalse←[39m
←[38;5;10m✓←[39m sandbox ←[2mno explicit filesystem paths to probe←[0m

←[1mDesktop App←[0m
←[38;5;10m✓←[39m desktop ←[2mthe desktop application is installed←[0m
←[38;5;240mversion ←[39m 26.924.2738.0
←[38;5;240mrunning ←[39m ←[38;5;240mfalse←[39m
←[38;5;240mlog directory ←[39m $HOME\AppData\Local\Codex/Logs
←[38;5;10m✓←[39m desktop ←[2mthe desktop application is not running←[0m
←[38;5;10m✓←[39m desktop ←[2mno locally visible recent Codex security enforcement was found←[0m

←[1mUpdates←[0m
←[38;5;10m✓←[39m updates ←[2mupdate configuration is locally consistent←[0m
←[38;5;240mstartup update check ←[39m true
←[38;5;240mupdate action ←[39m manual or ←[38;5;240munknown←[39m
←[38;5;240mversion cache ←[39m ←[38;5;117mC:\Users\Ryan.codex\version.json←[39m
←[38;5;240mversion cache ←[39m ←[38;5;240mmissing←[39m
←[38;5;240mlatest version ←[39m 0.158.0
←[38;5;240mlatest version status ←[39m current version is not older

←[1mConnectivity←[0m
←[38;5;10m✓←[39m network ←[2mno proxy env vars←[0m
←[38;5;240mproxy env vars ←[39m ←[38;5;240mnone←[39m
←[38;5;240mrespect system proxy ←[39m disabled
←[38;5;240mmanaged proxy ←[39m not configured
←[38;5;10m✓←[39m websocket ←[2mconnected (HTTP 101 Switching Protocols) · 15s timeout←[0m
←[38;5;240mmodel provider ←[39m openai
←[38;5;240mprovider name ←[39m OpenAI
←[38;5;240mwire API ←[39m responses
←[38;5;240msupports websockets ←[39m true
←[38;5;240mproxy env vars ←[39m ←[38;5;240mnone←[39m
←[38;5;240mconnect timeout ←[39m 15000 ms
←[38;5;240mauth mode ←[39m chatgpt
←[38;5;240mendpoint ←[39m ←[38;5;117mwss://chatgpt.com/backend-api/←[39m
←[38;5;240mDNS ←[39m 2 IPv4, 0 IPv6, first IPv4
←[38;5;240mhandshake result ←[39m HTTP 101 Switching Protocols
←[38;5;240mreasoning header ←[39m ←[38;5;240mfalse←[39m
←[38;5;240mserver model present ←[39m ←[38;5;240mfalse←[39m
←[38;5;10m✓←[39m reachability ←[2mactive provider endpoints are reachable over HTTP←[0m
←[38;5;240mreachability mode ←[39m ChatGPT auth
←[38;5;240mChatGPT inference URL ←[39m ←[38;5;117mhttps://chatgpt.com/backend-api/←[39m reachable (HTTP 405)
←[38;5;240mdesktop assets CDN ←[39m ←[38;5;117mhttps://persistent.oaistatic.com/codex-app-prod/←[39m reachable (HTTP 200)

←[1mBackground Server←[0m
←[2m○←[0m app-server ←[2mnot running (ephemeral mode)←[0m
←[38;5;240mdaemon state dir ←[39m ←[38;5;117mC:\Users\Ryan.codex\app-server-daemon←[39m
←[38;5;240msettings ←[39m ←[38;5;117mC:\Users\Ryan.codex\app-server-daemon\settings.json←[39m (missing)
←[38;5;240mpid file ←[39m ←[38;5;117mC:\Users\Ryan.codex\app-server-daemon\app-server.pid←[39m (missing)
←[38;5;240mupdate-loop pid file ←[39m ←[38;5;117mC:\Users\Ryan.codex\app-server-daemon\app-server-updater.pid←[39m (missing)
←[38;5;240mdedicated pid file ←[39m ←[38;5;117mC:\Users\Ryan.codex\app-server-daemon\daemon.pid←[39m (missing)
←[38;5;240mdedicated update-loop pid file←[39m ←[38;5;117mC:\Users\Ryan.codex\app-server-daemon\daemon-updater.pid←[39m (missing)
←[38;5;240mcontrol socket ←[39m ←[38;5;117mC:\Users\Ryan.codex\app-server-control\app-server-control.sock←[39m
←[38;5;240mstatus ←[39m not running
←[38;5;240mmode ←[39m ephemeral

←[2m─────────────────────────────────────────────────────────────←[0m
←[2m21←[0m ←[38;5;10mok←[39m←[2m · ←[0m←[2m1←[0m ←[2midle←[0m←[2m · ←[0m←[2m4←[0m ←[38;5;214mnotes←[39m←[2m · ←[0m←[2m3←[0m ←[38;5;214mwarn←[39m←[2m · ←[0m←[2m0←[0m ←[38;5;196mfail←[39m ←[1m←[33mdegraded←[39m←[0m

←[38;5;117m--summary←[39m ←[2mcompact output←[0m ←[38;5;117m--all←[39m ←[2mexpand truncated lists←[0m
←[38;5;117m--json←[39m ←[2mredacted report←[0m

Activity

  1. added
    bug
    app
    windows-os
    app-server
    on Sep 28, 2026
  2. VelumArc commented on Sep 28, 2026

    @VelumArc

    Bro, you’re awesome! You finally fixed the issue that had been driving me crazy all night.

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

    appapp-serverbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions