Repository navigation
Description
[Windows][Dots] list_threads/read_thread fail with MCP -32000 while desktop read succeeds; durable WebSocket times out
Summary
A dot cannot list existing local Codex chats or read a known local chat on an online, authorized Windows computer. Both exposed tools fail with the generic MCP error -32000: Codex app tool request failed.
The desktop Codex tools can list chats and read the same target successfully. One normal desktop-app exit/reopen did not resolve the dot-side failure. In the latest failure window, native app logs show repeated hostKind=durable WebSocket open timeouts, followed by remote_unavailable and premature app-tool termination, while the local execution relay still records connected samples.
The log correlation is based on timestamps. An end-to-end request ID linking the dot call to the internal connection failure was not established.
Environment
- ChatGPT/Codex desktop app: 26.1016.51333, build 21161, production channel.
- Earlier same-day built-in update check returned
up_to_date; no upgrade was performed during this investigation. - Windows MSIX package:
OpenAI.Codex 26.1016.6573.0. This is the package version, distinct from the app version above. - Bundled Codex CLI version, queried read-only:
codex-cli 0.163.0-alpha.11. - OS: Windows 11 Pro, 10.0.26200, build 26200, x64.
- Local computer is online and already authorized. The user previously observed that the dot could create local tasks and read local files; no new task was created for these controlled tests.
- Proxy is enabled and must remain enabled. No proxy, firewall, authorization, or network setting was changed. No direct-versus-proxy comparison was performed.
- Subscription and model details were not collected. These tests concern chat-list/read tool calls, with no business message or generation request sent.
Reproduction
-
Keep the Windows desktop app running and the authorized local computer connected to the dot.
-
Use an existing chat in an existing saved local Codex project; obtain its valid thread ID from the desktop's supported chat tools.
-
From the dot, invoke exactly once, without retries:
{"tool":"codex_app/list_threads","arguments":{"limit":50}} -
From the dot, invoke exactly once for that same known existing chat:
{"tool":"codex_app/read_thread","arguments":{"threadId":"<LOCAL_TARGET_THREAD_ID>","turnLimit":1,"includeOutputs":false}} -
Compare with the desktop Codex read-only control for the same target:
{"tool":"read_thread","arguments":{"hostId":"local","threadId":"<LOCAL_TARGET_THREAD_ID>","turnLimit":1,"includeOutputs":false,"maxOutputCharsPerItem":200}}
The tool names above reflect their exposed names on each surface. The placeholders consistently refer to the same actual local target.
Actual result and exact failure times
All times below are on 2026-10-21. Beijing time is UTC+08:00. End times are calculated from the reported start time and duration.
| Round | Dot tool | Start, UTC+08:00 | Start, UTC | Duration | Calculated end, UTC+08:00 |
|---|---|---|---|---|---|
| Before app reopen | list_threads, limit=50 | 18:16:26.085 | 10:16:26.085Z | 35.920 s | 18:17:02.005 |
| Before app reopen | read_thread, turnLimit=1, includeOutputs=false | 18:17:08.909 | 10:17:08.909Z | 63.152 s | 18:18:12.061 |
| After app reopen | list_threads, limit=50 | 21:16:16.245 | 13:16:16.245Z | 57.016 s | 21:17:13.261 |
| After app reopen | read_thread, turnLimit=1, includeOutputs=false | 21:17:17.777 | 13:17:17.777Z | 64.829 s | 21:18:22.606 |
Each round consisted of one call to each tool, with no retries. The errors were:
tool call error: tool call failed for `codex_app/list_threads`
Caused by:
Mcp error: -32000: MCP error -32000: Codex app tool request failed
tool call error: tool call failed for `codex_app/read_thread`
Caused by:
Mcp error: -32000: MCP error -32000: Codex app tool request failed
The dot did not obtain the list or the target chat's contents.
One normal app exit/reopen was verified
Other active work was allowed to finish before the one normal exit/reopen. Fresh operating-system process evidence confirms:
- Desktop main process start: 2026-10-21 21:11:58 UTC+08:00.
- Child
codex.exe app-serverstart: 21:12:04 UTC+08:00. - Child
codex.exe exec-serverstart: 21:12:46 UTC+08:00.
The latest failures happened after these new processes started. The target's local read still succeeded afterward. No additional restart or reconnect was attempted during the latest controlled tests.
Redacted native app-log evidence
Source: the app-generated Windows desktop diagnostic logs, date directory 2026/10/21, from the instance started at 21:11:58 UTC+08:00. Only events around the latest failures are excerpted.
Log timestamps below are UTC. Nonessential fields, machine/user paths, session IDs and stack traces are omitted or replaced with placeholders. Request IDs are retained for OpenAI correlation. No tokens, cookies, credentials, business prompts, source code, or conversation contents are included.
list_threads failure window
2026-10-21T13:17:11.747Z info [AppServerConnection] app_server_connection.closed code=1006 connectionId=12 failureReason=open_timeout hasReason=false hostKind=durable reason="" signal=null transport=websocket
2026-10-21T13:17:11.752Z error [electron-message-handler] Request failed conversationId=<CLOUD_CONTEXT_ID> durationMs=35011 error={"code":-32000,"message":"Codex app-server is not available"} failureReason=remote_unavailable id=63897cfc-df90-4abf-864f-3dd9bdc99edf method=thread/read [nonessential fields omitted]
2026-10-21T13:17:11.753Z warning [dynamic-app-tools-native-pipe] dynamic_app_tools_request_failed errorMessage="The app tool call ended before producing a result" errorName=Error errorStack=[omitted] method=tools/call
The outer dot list call returned its error at the calculated UTC time 13:17:13.261Z, approximately 1.5 seconds after the native-pipe failure.
read_thread failure window
2026-10-21T13:18:21.805Z info [AppServerConnection] app_server_connection.closed code=1006 connectionId=14 failureReason=open_timeout hasReason=false hostKind=durable reason="" signal=null transport=websocket
2026-10-21T13:18:21.817Z error [electron-message-handler] Request failed conversationId=<CLOUD_CONTEXT_ID> durationMs=35027 error={"code":-32000,"message":"Codex app-server is not available"} failureReason=remote_unavailable id=f968241a-c3d8-407b-acf8-a89b3f787626 method=thread/read [nonessential fields omitted]
2026-10-21T13:18:21.817Z warning [dynamic-app-tools-native-pipe] dynamic_app_tools_request_failed errorMessage="The app tool call ended before producing a result" errorName=Error errorStack=[omitted] method=tools/call
The outer dot read call returned its error at the calculated UTC time 13:18:22.606Z, approximately 0.8 seconds after the native-pipe failure.
The internal conversationId above is different from the local target thread ID. Its exact role was not established; the internal thread/read failure should not be treated as evidence that the target local chat is missing or corrupted.
Local execution relay remained connected in this window
2026-10-21T13:16:23.293Z info [tpp-local-executor] Local Work executor connection observation connectedMs=60002.11760000003 eligibleMs=60002.11760000003 event=sample observationSequence=11
2026-10-21T13:17:23.293Z info [tpp-local-executor] Local Work executor connection observation connectedMs=60000.379399999976 eligibleMs=60000.379399999976 event=sample observationSequence=12
2026-10-21T13:18:23.304Z info [tpp-local-executor] Local Work executor connection observation connectedMs=60011.73330000002 eligibleMs=60011.73330000002 event=sample observationSequence=13
In the bounded 13:16–13:18 UTC search, no matching dynamic_app_tool_renderer_execution_started or Sending server response events tagged with tool=list_threads or tool=read_thread were found. This absence is an observation, not proof of the complete internal routing path.
Desktop-side successful controls
The supported desktop chat APIs were used directly; session-storage files were not read to bypass the interfaces.
| Control | Start, UTC+08:00 | Duration | Result |
|---|---|---|---|
| Desktop list_threads(limit=50) | 18:04:49.755 | 9.439 s | Success; 50 recent and 2 pinned chats returned, including the target |
| Desktop read_thread, same local target | 18:06:22.948 | 3.276 s | Success |
| Desktop read_thread, same target after the earlier dot failures | 18:23:32.141 | 0.178 s | Success |
| Desktop read_thread, same target after the verified app reopen and latest dot failures | Exact start not captured in the summarized tool output | 3.667 s | Success; target remained notLoaded |
Metadata-only summary of the latest desktop read result; this is not a complete transcript or raw tool payload:
{
"isError": false,
"elapsedMs": 3667,
"thread": {
"id": "<LOCAL_TARGET_THREAD_ID>",
"title": "<REDACTED>",
"hostId": "local",
"status": {"type": "notLoaded"}
}
}The returned thread ID and title matched the requested target. The read did not resume the chat or send it any message.
Expected behavior
An authorized dot should be able to list the permitted local chats and read a known existing local chat through the exposed tools. If this path is unsupported, restricted, or requires another permission, return a specific actionable explanation rather than the generic MCP request failure.
Interpretation and request for investigation
The evidence points toward the dot-to-desktop cloud-context connection or app-tool dispatch path, rather than demonstrating a failure of the target local chat itself.
However, the logs do not establish whether the cause is a desktop transport defect, proxy/network handling, a service-side failure, or another routing issue. No direct permission-denied evidence was collected in the latest window.
Please investigate:
- Why the
durableWebSocket never becomes ready in this path while local execution and desktop chat reads work. - Whether the generic tool error is masking a cloud-context preparation or tool-dispatch failure.
- Whether a fix or supported recovery can preserve existing chats, authorization and required proxy settings.
Related symptoms, without a confirmed common root cause:
- [macOS][Work] Codex chat tools fail with MCP -32000 while the same operation succeeds from Codex #55550 — Work chat tools fail while Codex controls succeed.
- [ChatGPT Work Cloud] list_threads is exposed with local execution but fails #53177 — list_threads is exposed with local execution but fails.
- Dot tasks fail to open in desktop when the cloud WebSocket requires a proxy #49829 — durable WebSocket open timeouts in a proxy-required environment.
Please consolidate if appropriate. This report adds Windows 26.1016.51333 evidence, both list/read failures, exact timestamps, a verified unsuccessful normal app reopen, and a successful post-reopen local read control.
Privacy and scope
Computer name, local username, business project/chat names, full local paths, and conversation IDs are redacted. No raw log archive, session transcript, credentials, or business content is attached.
No session deletion, app-data reset, reinstall, authorization change, proxy/firewall change, forced task stop, business message, or session-store bypass was used for diagnosis or reproduction.
Activity
github-actions commentedon Oct 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
xsoc1 commentedon Oct 22, 2026
Additional reproduction on 2026-10-22: native Codex app tools succeed, while the ChatGPT-origin desktop task's app-tool calls fail on the same Windows computer.
Versions and successful native control
The native Codex conversation returned a valid
list_projectsresponse (schemaVersion: 2, five projects; project details omitted). Itscheck_app_updatereturned:{"installedVersion":"26.1016.51333","installedBuildVersion":"21161","installedReleaseChannel":"prod","status":"up_to_date"}The failing desktop log stack identifies MSIX package
26.1016.6573.0; startup logs identify app-server0.163.0-alpha.11. These are different version fields, not contradictory versions.ChatGPT-origin failures
In a ChatGPT-origin task using the connected, attached and authorized local computer,
list_projects({})failed with-32000: Codex app tool request failed:Other calls in this ChatGPT-origin context, including
read_thread,check_app_update, and an authorized update to an existing automation, also returned the same generic error. Readback after the automation attempt confirmed that its configuration was unchanged. No automation prompt or business content is included here.Time-correlated desktop evidence
At 2026-10-22 07:09:12.746 UTC, the desktop log recorded:
Stack locations were
main-CT5a1yCd.js:101:34853andmain-CT5a1yCd.js:101:33038in the package above. This is timestamp correlation only: we did not obtain an end-to-end request ID, callerSource, or provider-selection trace linking the events.Scope and unresolved cause
Local task execution and parent/child task communication have worked, so this is not evidence that the entire desktop application is unavailable. The native-versus-ChatGPT control narrows the issue to the ChatGPT-origin invocation path, but does not establish whether the failure is cloud-context preparation, desktop provider dispatch, transport, or result lifecycle. Caller-source filtering remains an unconfirmed hypothesis. Historical WebSocket errors were not treated as proof of the cause of this particular call.
A separate cloud read of an older local thread produced
unsupported placement format version 1; that cannot explain the no-targetlist_projectsfailure and should not be assumed to have the same cause.Could the maintainers inspect the cloud-context/provider dispatch and result lifecycle for this version and clarify whether there is a supported recovery that preserves existing conversations and automations? No packaged code, caller identity, capabilities, network/security settings, or conversation databases were modified. Private paths, project names, email addresses, conversation IDs, credentials and raw log archives are intentionally omitted.
fishwithoctopus commentedon Oct 23, 2026
Additional Windows observation from 2026-10-23 in a ChatGPT Work conversation using local computer access.
Environment: Windows 11 25H2, build 26200.9457. The desktop app/CLI version was not independently established.
The user explicitly requested transferring a diagnostic update to another existing conversation in the same ChatGPT project. The exposed codex_app/list_threads tool failed repeatedly (tested limits: 60 and 20) with:
Local shell commands and file editing remained usable in the same conversation. Because listing never returned the target's identity, send_message_to_thread was not called and the requested update was not delivered.
This confirms the same outer listing error and its effect on cross-conversation work. We did not perform a desktop-native control, obtain an end-to-end trace, or establish a WebSocket/provider-dispatch cause. The user reports this workflow was previously usable, but no particular update has been identified as the regression point.
Could the tool return an actionable distinction between unsupported caller context, unavailable desktop dispatch, and connection failure, together with a supported recovery that preserves existing conversations?
kkingo commentedon Oct 25, 2026
Additional Windows reproduction on 2026-10-25 (approximately 13:25–13:35 UTC), from a ChatGPT-origin task on a connected and authorized desktop.
Environment
0.164.0-alpha.11.1.Fresh read-only results
Each call below was attempted once:
list_threads({"limit":100})-32000: Codex app tool request failedafter 68.072 slist_archived_threads,limit:100, source:"codex"read_threadfor existing local conversation Aread_threadfor existing local conversation B-32000error after 63.105 sBoth local read calls used
turnLimit:2, includeOutputs:false, maxOutputCharsPerItem:1500, with nohostId. The 90-second values are observation limits imposed by the test, not server-returned timeout errors. No successful local list page or nonempty local conversation body was obtained. Remote bodies were not verified. These names are the exposed integration tools, not the standalone App Server JSON-RPC method names.Separate fallback diagnostic, not an established root cause
A previously used read-only official App Server probe initially failed because its hardcoded old executable path no longer existed (
WinError 2). After referencing the verified current Core executable in the probe process, the server exited duringinitializein approximately 0.500 s, exit code 1:That attempt never reached
thread/listorthread/read. It ran under read-only diagnostic restrictions, and we did not change permissions or repair initialization state. Whether this was due to filesystem/sandbox restrictions, database state, or another cause remains unknown. It may be separate from the native MCP failure; it is not evidence of database corruption or a confirmed cause of this issue.Scope
This adds current-version observations of the same outer list/read failure. We did not reproduce the original report's successful desktop-native control or collect a new end-to-end transport trace, so we cannot independently confirm the durable WebSocket explanation. No configuration edits, app restart, test-conversation creation, new SSH connections, or session-storage bypass were performed during this run.
Conversation IDs, account details, machine/remote names, full paths and private conversation contents are omitted. An actionable error distinguishing dispatch/transport/access failures would be helpful, as the generic
-32000and long waits currently prevent authorized conversation lookup.soSoolq commentedon Oct 28, 2026
Additional reproduction: Windows 10, Codex Desktop 26.1023.6123.0
The issue is still reproducible on October 28, 2026.
Environment
Observed behavior
The Codex desktop app can open existing conversations and continue chatting normally. Dot can successfully dispatch local diagnostic tasks to the authorized Windows machine.
Both
codex_app/list_threads(limit=20) andcodex_app/read_thread(hostId=local,turnLimit=1,includeOutputs=false) fail withMCP -32000: Codex app tool request failed.Relevant logs
October 28, UTC 07:18:06.943 and 07:19:16.996:
[dynamic-app-tools-native-pipe] dynamic_app_tools_request_failedmethod=tools/callThe app tool call ended before producing a resultOctober 27, UTC 02:32:21.610:
hostKind=durableWebSocket was closed before the connection was establishedA local app-server connection was previously observed initialized with
hostId=localandtransport=stdio.Assessment
The native tool request reaches the desktop bridge but terminates before returning a result. The durable WebSocket error is a separate observation; causality has not been established.
The workaround involving a local auxiliary Codex task was also tested and failed with the same error.
No configuration, credentials, cache, conversation data, or application binaries were modified.
Could the maintainers investigate the native-pipe request lifecycle and provide a supported recovery procedure that preserves existing local conversations?
gfly0424-maker commentedon Oct 29, 2026
We are seeing a similar failure on macOS when using dot-created tasks to manage an existing Codex conversation.
App version: 26.1023.51421 (build 22530). Bundled app-server version: 0.165.0-alpha.1.2.
Local shell commands work, and the existing target conversation opens normally in the desktop UI. The user confirmed it was idle. However, read_thread, list_threads, and a single plain-text send_message_to_thread attempt returned “-32000: Codex app tool request failed”. No attachment was involved in that send.
Logs show a failing thread/read for the calling diagnostic task, not the target conversation, followed by dynamic_app_tools_request_failed. The durable connection repeatedly reports “WebSocket was closed before the connection was established”. We have not established a complete causal chain or confirmed target-side receipt.
Related failures occurred through two Macs. This workflow previously worked, including after the latest recorded update, so we cannot attribute the regression to that update. Earlier send attempts also hung until timeout.
Could the team help distinguish caller-context routing from durable connection failure, and provide a supported recovery procedure and reliable send-acceptance status? This is blocking ongoing project coordination. We have stopped retries to avoid duplicate delivery.
No private conversation IDs, file contents, credentials, or raw logs are included.