Skip to content

Codex Desktop 26.908.40834 (Windows): composer never submits after app restart; "invalid transport in mcp_servers.codex_app" #45187

Open

Description

@sinec09-cloud

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

26.908.40834 (MSIX package OpenAI.Codex 26.908.4834.0), bundled app-server codex-cli 0.154.0-alpha.6.2

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What issue are you seeing?

Since the self-update to 26.908.40834 on 2026-09-12 12:09 (Europe/Amsterdam; previous build 26.903.71938 was fine) the desktop app is effectively unusable for existing chats and, since 2026-09-13, also for new chats. Three related symptoms:

1. Thread start/resume fails with an MCP config error
failed to load configuration: invalid transport in mcp_servers.codex_app (JSON-RPC -32600, failureReason=invalid_config). 177 occurrences in the desktop logs on 2026-09-12, 0 on any earlier day. The user's config.toml contains no mcp_servers.codex_app at all.

2. After an app restart, a resumed chat never submits a new message
No turn/start is ever sent by the renderer; the send button stays in its loading state. The main process logs Conversation state not found conversationId=<resumed thread> right after thread/resume returned errorCode=null. Since the update, all 20 successful turn/start calls were in threads created in the same app session; 0 in resumed threads. With 26.903 resumed threads accepted messages normally.

3. Since 2026-09-13 even a new chat in a project does not submit
model/list and experimentalFeature/list are requested when the composer opens, but no thread/start follows when pressing Enter or the send button. The app-server (codex.exe) is idle and healthy; codex exec from the CLI with the same config completes a turn in 9 s.

Warnings that appear in every affected session and never before 26.908: Received broadcast but no handler is configured method=thread-stream-following-status-requested (also thread-stream-following-changed, client-status-changed, query-cache-invalidate). Occasionally mcp_request_timeout method=plugin/installed (30 s) and, in the app-server log, MCP server startup failed server_name="codex_app" error=timed out awaiting tools/list after 10s, but sessions without these also fail to submit.

What steps can reproduce the bug?

Symptom 1 (invalid transport)

  1. Codex Desktop 26.908.40834 on Windows, app-server 0.154.0-alpha.6.2, any config.toml without a [mcp_servers.codex_app] block.
  2. Start the app, open an existing chat or start a new one from the main window.
  3. In some app sessions every thread/start / thread/resume fails with the error above; in other sessions it works. Looks timing-dependent.

CLI reproduction of the underlying rejection:
codex.exe -c "mcp_servers.codex_app.enabled_tools=[\"read_thread\"]" mcp list -> invalid transport in mcp_servers.codex_app. Any override set that includes a command loads fine.

From app.asar: with pluginMcpConfigOverrides (app-server >= 0.151.0-alpha.1) the app sends [email protected]_servers.codex_app.enabled=true and no server definition, but in some sessions the main window still sends the legacy key mcp_servers.codex_app.enabled_tools. That creates a top-level mcp_servers.codex_app table without command, which the CLI rejects.

Workaround that removed symptom 1 completely: a top-level [mcp_servers.codex_app] block in config.toml mirroring plugins/cache/openai-bundled/codex-app-tools/0.1.4/.mcp.json (cmd.exe + launch_codex_app_tools_mcp.cmd + server.mjs, cwd = the runtime marketplace copy). After that: thread/start OK, codex_app MCP status ready, 0 further occurrences.

Symptom 2/3 (composer never submits)

  1. Have a chat that was created in an earlier app session (any size; also reproduced with a 38M-token / 7 MB rollout thread with history_mode=paginated).
  2. Quit and restart the app, open the chat. thread/resume succeeds, then Conversation state not found is logged twice for that conversation.
  3. Type a message, press Enter or click send: nothing is sent, no request reaches the app-server.
  4. Since 2026-09-13 the same happens for a brand-new chat in a project.

Side effect worth noting: when the app is quit/killed while a turn is running, thread_turns.status stays inProgress in thread_history_1.sqlite; on the next start the chat is shown as still running, cannot be used, and forking is refused ("Forking is not available for threads using paginated history yet"). We found 13 such turns from 2026-08-24 onwards and repaired them manually by appending a turn_aborted event and setting the status to interrupted.

What is the expected behavior?

Existing and new chats accept messages after an app restart, like in 26.903.71938. A turn that is interrupted by quitting the app should be marked interrupted, not left inProgress.

Additional information

Related: #40860 reported the same invalid transport in mcp_servers.codex_app error on macOS with 26.820 and was closed on 2026-08-28 as fixed by a newer build. This report is a regression of that symptom on Windows in 26.908.40834, plus the new composer-never-submits behaviour, which is not covered there.

Logs available: %LOCALAPPDATA%\Codex\Logs\2026\09\12 and ...\13 (desktop), %USERPROFILE%\.codex\logs_2.sqlite (app-server). Happy to share via the in-app "Report an issue" or on request. Locale nl-NL, ChatGPT auth (no API key), no proxy, Microsoft Defender only.

Activity

  1. added
    app
    on Sep 13, 2026
  2. added
    bug
    windows-os
    app-server
    mcp
    on Sep 13, 2026
  3. q8seaman70 commented on Sep 17, 2026

    @q8seaman70

    Same bug here, and it still reproduces after updating to 26.911.7940.0 (Microsoft Store), so the update did not fix it.

    Environment: Microsoft Windows NT 10.0.26200.0 x64. Seen on 26.908.9136.0 (bundled app-server 0.154.0-alpha.6.2) and again on 26.911.7940.0 on 2026-09-17, right after updating.

    Symptom: in some launches every thread/start / thread/resume fails with failed to load configuration: invalid transport in mcp_servers.codex_app (-32600, failureReason=invalid_config), UI shows "Error submitting message" / "Could not start this chat". It sticks for the whole app session; a full quit + relaunch usually clears it. 3 of 25 launches on 2026-09-15 (26.908), 16 occurrences in one session on 26.911. My config.toml has no mcp_servers.codex_app entry.

    One more detail on why the legacy key gets sent (from the 26.908 bundle + logs): in the failing launches the main window's renderer never receives the codex-app-server-initialized message before the first chat (no remote_connections.manager_state_set for that renderer; in good launches it arrives ~0.1 s after "app routes mounted"). The request client's appServerVersion therefore stays null, the pluginMcpConfigOverrides gate returns false for a null version, and the renderer attaches the tools list under mcp_servers.codex_app.enabled_tools instead of [email protected]_servers.codex_app.enabled_tools. Waiting for the app-server version before the first thread/start, or treating a null version as current rather than legacy, would avoid it.

    Note on the config.toml mirror workaround: in my tests a top-level [mcp_servers.codex_app] block takes precedence over the plugin-scoped entry, so the per-chat enabled_tools from the plugin path no longer applies, and the copied paths are version-specific (they break on the next app update). I did not keep it for that reason.

    In-app feedback with diagnostic logs from a failing 26.911 session: Feedback ID no-active-thread-01a0af6b-9805-7a60-b74e-986b075269c7

  4. sinec09-cloud commented on Sep 22, 2026

    @sinec09-cloud
    Author

    Still reproduces on 26.915.4065.0 after a clean uninstall/reinstall, and the split is exactly "resumed vs new"

    Environment: Windows 11 Home 10.0.22631 x64, Store package OpenAI.Codex 26.915.4065.0, app build 26.915.31945, bundled app-server 0.155.0-alpha.9.2. Fully uninstalled with Remove-AppxPackage and reinstalled with winget install --id 9PLM9XGG6VKS --source msstore on 2026-09-22. All user data (~/.codex) intact, signed in again. The send block is unchanged after the reinstall.

    Per-conversation counting of successful turn/start calls in the desktop logs (%LOCALAPPDATA%\Codex\Logs), across 2026-09-13, 09-15 and 09-22, builds 26.908.70816 and 26.915.4065.0:

    Conversation kind Count turn/start sent
    Resumed (existed before the app session) 14 0
    Created in the same app session 6 6

    No exceptions in either direction. In every resumed conversation thread/resume returns errorCode=null, maybe_resume_success assignedStreamRole=owner follows, and then pressing Enter or Send produces no request at all — the renderer never issues turn/start, so nothing reaches the app-server. Aggregate turn/start counts therefore look healthy and hide the bug; the split by conversation kind is what makes it visible.

    This matches #44342 (submitBlockReason=loading-local-config, startup vscode://codex/codex-home responses never delivered to the renderer) and #44102 / #45069. Likely the same root cause rather than a separate defect; happy for this to be closed as a duplicate of #44342 if maintainers agree.

    One additional observation, new in the session started right after the reinstall and absent from an earlier session on the same day in which new chats did work: two plugin/read requests failing one second after resume with -32600 invalid remote plugin id: only ASCII letters, digits, _, -, and ~ are allowed, conversationId=none. All configured plugin ids are plain name@marketplace. Possibly related, not proven.

    Regarding the invalid transport in mcp_servers.codex_app half of this report: still reproducible on CLI 0.155.0-alpha.9.2. With the workaround block removed, both -c "mcp_servers.codex_app.enabled_tools=[...]" and a bare -c "mcp_servers.codex_app.enabled=true" fail to load the config; the plugin-scoped key is accepted. The legacy code path is still present in 26.915's app.asar, gated on the same pluginMcpConfigOverrides = 0.151.0-alpha.1 check, so a top-level [mcp_servers.codex_app] block mirroring the bundled codex-app-tools/.mcp.json is still required here.

  5. sinec09-cloud commented on Sep 22, 2026

    @sinec09-cloud
    Author

    Two observations that narrow this down: voice works while the composer is blocked, and the block is per-conversation

    Same machine and build as my previous comment (Windows 11 x64, Store package OpenAI.Codex 26.915.4065.0, app-server 0.155.0-alpha.9.2).

    1. The send button is disabled per conversation, not per window. In one and the same window, without restarting: opening a new chat leaves the send arrow enabled; switching to a conversation that existed before this app session immediately greys it out. Switching back to a new chat re-enables it. So whatever the composer is waiting for is scoped to the resumed conversation, not to a global workspace/config state.

    2. Voice input succeeds on exactly the conversation whose composer is blocked. Session log for conversation 01a09ec2-…:

    14:31:21.773Z  response_routed  method=thread/resume  conversationId=01a09ec2-…  errorCode=null
    14:33:28.062Z  response_routed  method=thread/resume  conversationId=01a09ec2-…  errorCode=null
    14:33:30Z      [Composer] resolved realtime continuity enabled=true itemCount=0
    14:33:30Z      Starting realtime voice transport clientOwnsCall=false conversationId=01a09ec2-… model=gpt-live-1-codex
    14:33:31Z      realtime_session_started  threadId=01a09ec2-…
    

    Zero turn/start in that session via the composer, while the realtime path started on the same thread and the model replied and ran tools normally. The backend, the thread state and auth are therefore all fine; only the text composer's submit gate is stuck.

    Where I would look, given #44342's finding that main→renderer fetch responses are dropped during startup: after thread/resume the main process logs method=thread/queue/list and method=thread/turns/list for the resumed conversation with errorCode=null and single-digit durationMs, i.e. main answered. If those responses are not observed by the renderer, the per-conversation composer state would stay in its loading branch indefinitely, which matches both observations above. The realtime path does not depend on those queries, which would explain why voice is unaffected.

    Practical workarounds for anyone blocked on this: use voice in the affected conversation, continue the thread from the terminal with codex resume <thread-id>, or start a new chat and pull the old one in with read_thread. A full uninstall/reinstall of the Store package does not help (confirmed here, and by @TomassonJW in #44342).

  6. sinec09-cloud commented on Oct 3, 2026

    @sinec09-cloud
    Author

    Resolved here by Store package 26.930.2377.0 (app build 26.930.21537), after 5 days of total startup failure

    Posting the resolution with exact build numbers, because the fix is not obvious from the version string alone and because the failing and working builds sit on different app-server branches.

    What changed

    Failing Working
    Store package 26.908.4834.0, 26.915.4065.0, 26.928.2636.0, 26.928.3736.0 26.930.2377.0
    App release string in log 26.908.70816 / 26.915.31945 / 26.928.21956 26.930.21537
    buildNumber in log 12553 12776
    Bundled app-server 0.159.2 0.159.0-alpha.12.1

    Note the app-server version: the working build ships 0.159.0-alpha.12.1, which is a lower version string than the 0.159.2 in the broken builds. Whatever landed appears to be on a different branch rather than a straight bump, so anyone bisecting by version number alone will be misled.

    Timeline on this machine, from the desktop logs

    2026-09-18 07:15:03Z  release 26.908.70816  app routes mounted after 9844ms     OK
    2026-09-22 05:43 / 10:54 / 11:27 / 14:31Z  release 26.915.31945  mounted 6.7s - 28.3s  OK
    2026-09-28 .. 2026-10-02 09:08 local       four builds, ~20 launches             app routes mounted: 0 occurrences
    2026-10-02 09:13 local  package 26.930.2377.0 installed
    2026-10-02 22:11:13Z    release 26.930.21537  app routes mounted after 14412ms    OK
    

    Every launch on 26.928 and earlier failed; the first launch on 26.930 succeeded and it has been stable since, including thread/start and turn/start on resumed conversations.

    One log-level difference that may help whoever fixes this properly

    Every failing session contained:

    [sparkle] in_app_updates_policy_wait_started timeoutMs=300000
    [sparkle] in_app_updates_policy_timeout policy=pending timeoutMs=300000
    

    The 26.930 sessions do not contain in_app_updates_policy_timeout at all. In the failing sessions the update-policy latch never resolved and expired after the full five minutes, while the renderer never reached app routes mounted. I cannot prove causation from the outside, but the correlation is total across roughly 20 failing and 6 working sessions here.

    Ruled out on this machine before the fix arrived, in case it saves anyone else the time: two clean uninstall/reinstall cycles of the Store package, the Settings app reset, an empty %USERPROFILE%\.codex\sessions directory, Microsoft Defender process and path exclusions for the signed app and all three helper executables, Controlled Folder Access disabled, 133 GB free disk, and repairing two genuinely stale local items (a [mcp_servers.node_repl] block pointing at a runtime folder and CLI folder that an earlier update had replaced, and ~800 KB of stale plugin cache inside electron-persisted-atom-state in .codex-global-state.json). None of them made any difference. Only the build change did.

    Also worth recording: "Run as administrator" cannot be used as a troubleshooting step for this app. The MSIX manifest declares runFullTrust but no uap10:AllowElevation and no allowElevation capability, so Windows does not offer it for the packaged app.

    For anyone still stuck on an older build, the CLI and the VS Code extension kept working throughout on the same account and the same machine. Since CLI 0.159 the CLI needs --no-daemon or it exits with "this CLI has no complete local package".

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-serverbugmcpwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions