Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.908.40834
What subscription do you have?
Pro
What platform is your computer?
Windows 11 Home, build 26200 (x64); the machine is behind a TLS-inspecting proxy, but the proxy is not involved
What issue are you seeing?
Symptoms
- A new chat's first message sends normally. Every later message in that thread, and any message in an existing thread, spins forever. The text stays in the composer.
- No request reaches the app-server. The desktop logs show no
turn/start,turn/steerorthread/queue/add, and no error. - Sending to the same thread from the ChatGPT mobile app (remote control) works.
- Sending through the in-app
send_message_to_threadtool also works. - None of these helped: restarting the app, re-login, clearing the Electron
Cache,Code CacheandGPUCache, switchingfollowUpQueueModebetween queue and steer, changing the model or permission mode, or using a different project folder.
Root cause analysis (runtime evidence)
The app was launched inside its package with --remote-debugging-port bound to 127.0.0.1. Non-pausing logpoints were set in webview/assets/app-primary-17b54400f32a.js and app-initial-d9bed9d614d8.js. The minified names below are from this build.
-
The composer submit gate parks the message. At the start of
Evr's submit handler the state was{submitDisabled:false, submitting:false, submitBlockReason:"loading-local-config"}.yvr.queueSubmitthen queued it withisLocalConfigPending:true. None of the later steps ran (cvr, the turn coordinator,turn/start). -
Why
isLocalConfigPendingis true.Ygr()ends withcomposerMode==='local' && (localWorkspaceMaterialization==='loading' || …). The submit block context was:agentMode: guardian-approvals, isAgentModeLoading: false, isAgentModePending: false, windowsSandboxRequirement: null, isWindowsSandboxRequirementPending: false, localWorkspaceMaterialization: "loading", composerMode: "local", roots: ["D:\\Claude\\Kova"]Every other input was ready. The
config/read, host and cwd data used bypvr()were all cached. -
Why materialization is
loading. TheD8query options (managed-worktree-state) readTC = ["vscode","codex-home",{hostId}]. BecauseTChas no data and no error,D8returns a disabled query keyedcodex-home-loading.aQothen maps "no data" to"loading"indefinitely. Live query cache:["vscode","codex-home","{\"hostId\":\"local\"}"] status=pending fetchStatus=fetching fetchFailureCount=0 error=null ["vscode","codex-home"] status=pending fetchStatus=fetching fetchFailureCount=0 error=null ["git","local","managed-worktree-state","codex-home-loading","D:\\Claude\\Kova"] status=pending fetchStatus=idle -
The startup
codex-homerequest is never answered.- The renderer fetch client (
sS.getInstance(), thevscode://codex/*bridge) still held 11 unresolved entries inpendingRequestsabout 30 minutes after launch. - The main process logged
[electron-fetch-handler] codex-home requestonly during startup (six lines between +1.1 s and +14 s). - A fresh
post('vscode://codex/codex-home', {"hostId":"local"})from the same renderer returned in 2 ms with{"codexHome":"C:\\Users\\User\\.codex","worktreesSegment":"C:\\Users\\User\\.codex\\worktrees"}. The main handler (readCodexHomePaths) itself works; only the startup requests are lost.
- The renderer fetch client (
-
Why it never recovers. TanStack Query's
Query.fetchreuses the in-flight retryer whenstate.data === undefined, even withcancelRefetch: true. Invalidation and refetch therefore keep waiting on the lost promise. There is no timeout on the bridge request. -
Confirmation. Running
queryClient.cancelQueries({predicate: codex-home})and thenrefetchQueries(...)turned both queries tosuccess.D8switched to["git","local","managed-worktree-state","available",...], and the next desktop submit in an existing thread sentturn/startsuccessfully (2026-09-12T15:48:34Z, conversation01a0959a-…). This was the first one since 2026-09-11 16:18.
Startup timing correlation (not proven causal)
Times are milliseconds after Launching app:
| Launch | Result | First codex-home requests |
First query-cache-invalidate broadcast |
|---|---|---|---|
| 2026-09-09 | works | +3537, +3542 | none in the first 40 s |
| 2026-09-11 14:01 (d61b04e1) | works | +8872, +8905 | +23185 (after avatar overlay loaded) |
| 2026-09-11 16:35 (bbafcf82) | fails | +5219, +5237 | +8568 |
| 2026-09-12 21:15 (430813af) | fails | +2565, +2573 | +2893 |
| 2026-09-12 23:13 (4c766004) | fails | +2395, +2407 | +3389 |
In every failing launch, an IPC query-cache-invalidate broadcast arrives about 1 s after the main window's first codex-home requests. It shows up in the main log as [IpcClient] Received broadcast but no handler is configured method=query-cache-invalidate. In the working launches it arrives much later or not at all during startup. This may be how responses get lost or mis-routed, but it has not been proven.
Ruled out
- App-server: healthy. One
codex.exe, fast responses, no queued items, SQLitequick_checkok. - Stream ownership and resume: the thread was
resumedand this window was theowner. - Other submit gates: the goals feature (no goals), Windows sandbox readiness, and agent-mode or model-settings loading were all ready.
- Remote-workspace gate: it would show a dialog, not a spinner.
- Thread
cwd: the\\?\prefix and the specific project folder make no difference. - Machine environment: WSL (healthy), proxy or TLS, stale helper processes, OS updates.
What steps can reproduce the bug?
Feedback ID: 01a0959a-8824-7282-9ac2-59173f451f2d
What is the expected behavior?
Able to submit prompt to the previous session.
Additional information
Suggested fixes
- Add a timeout and retry to
vscode://codex/*bridge requests, or reject pending requests on any window or IPC reset. Unanswered bridge requests should never hang forever. - For
codex-home, handle a stuck initial fetch with no data: cancel it, then refetch, instead of relying oncancelRefetch. - Do not block the composer indefinitely when
localWorkspaceMaterializationisloading. Fail open or show an actionable error after a timeout. - Log bridge requests that stay pending longer than N seconds, with their URL, so this is visible in the desktop logs.
Workaround in use
Launch Codex with --remote-debugging-port=<port> via Invoke-CommandInDesktopPackage, then cancel and refetch the stuck codex-home queries through DevTools. This lasts only for that app session.
Activity
github-actions commentedon Sep 12, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
lishuoipad commentedon Sep 12, 2026
Confirmed the cancel-then-refetch
codex-homerecovery on Windows package 26.908.4834.0 on September 13, 2026 (UTC+8), with two completed follow-up replies through the normal desktop composer.Full runtime observations, recovery steps, core query-retry code, cleanup and limitations: #44342 (comment)
In an idle existing conversation, the actual main window (
type=window, exact URLapp://-/index.html) reportedisResponseInProgress=false,isResumePending=false,submitBlockReason=loading-local-config, andlocalWorkspaceMaterialization=loading. Both home-query variants werepending / fetchingwith no data or error.Using a temporary loopback-only diagnostic connection to the already-running desktop main process, cancelling those exact two queries and then refetching them returned actual directory metadata. Both became
success / idle, workspace materialization becameavailable, and the configuration submit block cleared. No restart, main-window reload, Ctrl+R, readiness override, permission change or cache/data reset was used.Validation in the same existing conversation:
Desktop main-process and app-server PIDs/start times were unchanged, and the original unsent draft was restored afterward. Neither test was submitted via
send_message_to_threador another messaging tool.markedStreaming=truewas not treated as proof of an active turn.This establishes recovery for this session, not a permanent fix. Eight other local initialization reads still showed
pending / fetchingand were not retried; they did not prevent these sends. The original startup response-loss boundary remains untraced, and recurrence after another ordinary launch remains possible. A supported bounded recovery path is still needed.MiraScully commentedon Sep 13, 2026
I can reproduce this on Codex Desktop for Windows, version 26.908.40834.
Additional UI behavior that may help narrow it down:
So switching chats appears to reset only the visible loading state, not the underlying submit problem.
MiraScully commentedon Sep 13, 2026
Additional workaround observation on Windows Desktop 26.908.40834:
Using the built-in Chromium/Electron task manager and terminating the Renderer process that owns the main Codex window caused the window to briefly turn white and the renderer to restart automatically. After that, sending from an already affected existing chat worked again.
This is not just a one-message recovery: after the renderer restart, multiple subsequent follow-up messages have continued to send normally so far without having to repeat the restart after each response. I do not yet know how long the recovery lasts.
There are multiple Renderer entries in the task manager, so the relevant one is not obvious by name alone. The useful signature is that terminating the correct Renderer causes the whole main Codex chat window to go white briefly and rebuild. I did not need to terminate the Browser process.
This appears to be a much simpler user-facing workaround than launching with a remote debugging port and calling webContents.reload(), and seems consistent with the existing evidence that a main-window renderer reload clears the stuck state.
yunuseli commentedon Sep 13, 2026
Temporary recovery confirmed twice — Windows 26.908.4834.0 / About 26.908.40834.
Symptoms: A new task accepts its first message, but the second and subsequent normal composer messages do not send; existing tasks are affected too. Internal task-to-task messages (
send_message_to_thread) and replies to asynchronous question cards still work. This blocks normal work across tasks despite those alternative paths remaining functional.Follow-ups stopped because two
codex-homequeries stayedpending/fetching(no data/error), leaving the composer atloading-local-config.For Codex-assisted recovery: inspect the running main window (
type=window, exact URLapp://-/index.html). Obtain its existing React/TanStack QueryClient (qc; not a new instance or guaranteed global). Only with the matching signature:Verify
success/idle, workspaceavailable, the submit block cleared, and normal composer follow-ups. Close temporary diagnostics afterward. Build-specific diagnostic access details.Fully quitting and reopening Codex reproduced the same fault. Repeating this recovery restored normal sending again. The user confirmed both recoveries through normal composer messages.
No restart/reload during recovery, history/config reset, database/bundle edits, or readiness/permission bypass. Do not retry all pending requests; some are writes. This recovers the current session; a permanent startup/timeout fix is still needed.
zhangzexin commentedon Sep 14, 2026
Additional observed occurrence on September 14, 2026, with matching live query/composer state.
Environment: Windows x64 packaged Codex Desktop; package version
26.908.4834.0, reported client version26.908.40834, bundled backend0.154.0-alpha.6.2. A custom model provider was configured; provider credentials and identifying details are omitted.Observed flow: the initial message in a new conversation worked, but subsequent messages could not be submitted. The send control appeared grey/unresponsive; the loading appearance could disappear without restoring submission. This affected multiple conversations. Restarting alone did not reliably resolve it, and there was no actionable error.
Live state during failure:
Recovery evidence:
codex-homequeries and refetching actual directory data returned valid paths, changed workspace materialization toavailable, and cleared the submission block. Actual follow-up test messages then completed successfully in both affected conversations.Other checks: the preceding turn had completed; the queue was empty; permissions and sandbox readiness were normal; account usage allowed ordinary requests. Removing a standalone CLI override and using the bundled backend did not prevent recurrence. An IDE-context spinner was not the cause of the configuration block.
These observations corroborate the indefinitely pending local-configuration prerequisite. They do not establish the exact point where the original startup request/response failed, or prove a specific startup race.
Please add bounded completion/failure and safe retry for these idempotent initialization reads, plus an actionable composer error/retry path that preserves drafts. A regression check should cover new-chat first send followed by follow-up sends, and normal startup versus renderer reload.
This supplement excludes conversation contents and IDs, account details, user-specific filesystem paths, credentials, and raw logs.
blxckhundred commentedon Sep 14, 2026
@MiraScully May I ask how you managed to open Task Manager? I have the same version and the same problem as everyone else here, but I can’t even open Task Manager - Shift+Esc doesn’t work, even after I removed the action assigned to that key combination in the settings. So far, the only thing that helps is logging out and logging back in.
UPD: found it, It's hidden in the buttons at the top.
whtpdbs0204 commentedon Sep 19, 2026
I can independently reproduce what appears to be the same Windows Desktop follow-up submission failure on a newer build.
Environment
26.915.3194526200.9457unelevated01a0b7bb-7603-7542-b6b7-bdb0590d7eedUser-visible behavior
In both Codex and Work:
The same behavior reproduced with Blender MCP disabled and confirmed absent from the new runtime, so Blender MCP does not appear to be the primary cause.
Backend evidence
For the affected second submission I observed:
turn/startturn/steertask_startedThe first turn completed normally.
This is consistent with the request being blocked before backend acceptance.
Performance Trace evidence
I collected a trace using the public ChatGPT Desktop:
Help → Start Performance Tracefeature.
For the failed second Enter, an actual V8 CPU sampled stack showed:
DOM keydown → editor Enter handler → composer submit → local-config queueSubmit / queueLocalConfigSubmit → React state setterSo the second Enter definitely reaches the local-config queue path.
However, the trace did not directly expose:
hasPendingSubmitsubmitBlockReasonI also did not observe a second
U3e/preflightsample. Because short/async functions may be missed by CPU sampling, I am not treating that absence as proof that U3e never ran.After the failed Enter, the renderer was mostly idle, with no evidence of a persistent CPU busy loop. This makes a readiness/state update or queued-submission release problem more plausible than CPU starvation.
Relation to this issue
My trace independently confirms entry into the same local-config submission-queue area described here, but I have not directly measured a stuck
codex-homequery on my machine, so I cannot claim that the exact root cause is identical.Static inspection of the current installed build suggests the follow-up materialization path can depend on
codex-home/ workspace readiness before submission, which is consistent with the mechanism described in this issue.I have a ~630 MB raw Performance Trace and the affected session transcript available locally. I have not uploaded them publicly because they may contain local/sensitive diagnostic data. I can provide them if maintainers want a specific supported transfer method.
yunuseli commentedon Sep 19, 2026
Update, 19 September 2026: still reproducible after updating; additional confirmed queue-read blocker.
Follow-up to my earlier recovery report.
Impact: This has repeatedly interrupted daily work since September 11–12. A new conversation's first message can work while normal follow-ups/existing conversations cannot send; internal task-to-task messages and question-card replies still work. The user also reports losing the ability to send corrections or stop work during active tasks and having to quit the app. The Stop failure itself has not yet been independently traced; it should not be assumed fixed by the send recovery below.
A. Reproduced today on Windows package
26.915.4065.0, About26.915.31945. Bothcodex-homequery variants werepending/fetching, without data or error; workspace materialization wasloadingand the composer block wasloading-local-config. At 06:45:43 UTC, cancelling and refetching exactly these two reads through the existing QueryClient returned real data: bothsuccess/idle, workspaceavailable, blockempty-message. Normal user follow-up messages subsequently arrived in the same task. No app/renderer restart, history/database/cache reset, permissions change, or installed-bundle modification was performed. The same startup fault has recurred across launches and updates.B. Separately verified on September 18, package
26.915.3509.0, About26.915.31029: a stalethread/queue/listblocked sending during ongoing work.response_routedafter 9 ms,errorCode=null,hadPending=true,targetDestroyed=false.thread/queue/add. Merely clearing the visible submitting flag enabled the button but did not unblock this dependency.onResultpath with that actual response released the already-clicked original submission. No replacement user message or direct queue-add was issued.thread/queue/add; an independent subsequent queue read confirmed one persisted queued message. This confirms enqueue, not execution/completion of that message.This establishes a concrete blocking chain, not the precise cause of the original response loss:
response_routedalone does not prove renderer delivery/handling. The queue-read recovery is build-specific diagnostic work, not a supported general patch; do not fabricate successful responses, replay tool/write requests, or clear all pending requests.Request to maintainers: Please triage this as a work-blocking Windows issue, including loss of timely intervention during active work. A supported recovery path and bounded timeout/retry for safe reads would avoid indefinite composer locks. Please also investigate the response-delivery/completion gap and stale per-thread queue-load promises. Can you confirm whether a fix is in progress or which desktop build contains it?
Only sanitized technical observations are included here; no project contents, private paths, or raw traces are attached.
jiangzengyuang-jisoo commentedon Sep 19, 2026
Independent confirmation on Windows, 19 September 2026: package
26.915.4065.0, bundled app version26.915.31945.The user reported that most existing conversations could not send follow-ups and that the problem had returned after a recovery the previous day. Today's occurrence was inspected directly; the observations below are from this machine.
Captured failure
Existing conversations resumed, but clicking Send entered the local-configuration wait path without reaching actual turn submission:
A fresh read of the same directory metadata succeeded immediately. Cancelling and then refetching only these two queries through the existing QueryClient returned real directory data. Both became
success / idle; workspace materialization becameavailable.Recovery and verification
No installed-bundle patch, conversation deletion, database reset, or permission/readiness override was used. Temporary diagnostic hooks and the loopback debugging listener were removed. These results establish session recovery; whole-process cold restart, sleep/wake, and deterministic fault-injection regression tests were not completed.
Implementation observations and requested durable fix
In this installed build,
Rv.sendRequestinapp-initial-6c4523b43a11.jsregistersvscode://codex/requests without an intrinsic timeout. TheW2e/n6e/o6epaths inapp-primary-355549b35da9.jsretain the local-config submission wait.Please investigate startup response completion and add bounded timeout/cancellation plus limited retries for the safe directory reads. On terminal failure, the composer should end the wait, preserve the draft and provide an actionable retry without bypassing readiness checks or duplicating message submissions. Please confirm whether a supported fix is planned or which desktop build includes it.
Only sanitized observations are included: no account details, conversation IDs/content, private filesystem paths, credentials or raw logs.
yuzhe2026ai-cmyk commentedon Sep 22, 2026
I can reproduce this issue too.
Environment:
Symptoms:
Comparison:
I have submitted OpenAI feedback reports:
01a0c4fd-161c-7c43-925d-5ca5f4f05353
01a0ca02-4e87-7b00-af16-d042bf6712ba
This issue has happened repeatedly over multiple days.
It would be helpful to know if this is a known Windows desktop client bug.
2026/09/24:
I can reproduce this issue too.
Environment:
Symptoms:
Additional observation:
The issue temporarily disappeared after reinstalling Clash (proxy client), but returned the next day while using the same environment.
This makes me suspect the proxy/network state may be a trigger, but the root cause may still be related to the Windows desktop client session handling.
OpenAI feedback IDs:
01a0c4fd-161c-7c43-925d-5ca5f4f05353
01a0ca02-4e87-7b00-af16-d042bf6712ba