Skip to content

Codex App: new task creation times out when configured MCP server is unreachable #31359

Open

Description

@ikruglikov

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

26.623.141536

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

Immediately after updating Codex Desktop to version 26.623.141536, I could no longer create new chats.

Every attempt failed with:

  • Task creation failed — Timeout
  • Chat startup failed — Timeout

Existing chats continued to work normally.

After investigating, I found that the issue was caused by an MCP server configured with a LAN-only endpoint.

When working outside my local network, that MCP server became unreachable. As a result, Codex waited for the MCP connection and eventually timed out, preventing any new task from being created.

After replacing the LAN-only MCP endpoint with a reachable Tailscale MagicDNS endpoint and restarting Codex, new chats worked immediately.

Expected behavior:

If an MCP server is unreachable, Codex should mark that MCP as unavailable, display a warning if necessary, and continue creating the task.

Actual behavior:

A single unreachable MCP server prevents all new task creation until timeout.

This behavior appears to have started after updating to version 26.623.141536.

What steps can reproduce the bug?

Feedback ID: no-active-thread-019f3add-322f-7703-b72a-f7c57de75730

What is the expected behavior?

If an MCP server is unreachable, Codex should mark that MCP as unavailable and continue creating the task instead of failing with a timeout.

Additional information

Feedback ID: no-active-thread-019f3add-322f-7703-b72a-f7c57de75730

The issue was resolved by replacing the LAN-only MCP endpoint with a reachable Tailscale MagicDNS endpoint.

This suggests that Codex currently blocks new task creation while waiting for an unreachable MCP server instead of treating it as unavailable.

Activity

  1. added
    appIssues related to the Codex desktop app
    on Jul 7, 2026
  2. added
    bugSomething isn't working
    mcpIssues related to the use of model context protocol (MCP) servers
    connectivityIssues involving networking or endpoint connectivity problems (disconnections)
    on Jul 7, 2026
  3. github-actions commented on Jul 7, 2026

    @github-actions
    Contributor
  4. josheverett commented on Jul 11, 2026

    @josheverett

    Confirmed the same failure class on macOS, with a configured MCP server that was not fully unreachable but was instead backed by a live, unhealthy local process.

    A Codex agent had added the local HTTP MCP endpoint as a persistent global entry in ~/.codex/config.toml after being instructed to use it. The user did not realize the agent had made that configuration durable.

    Measured behavior while broken:

    • Desktop thread/start timed out after exactly 30 seconds.
    • The app-server returned the corresponding response after about 40.1 seconds.
    • mcpServerStatus/list took about 65.1 seconds.
    • App-server initialization and account/config/model requests completed normally.

    Terminating the unhealthy server immediately restored conversation creation. Removing the persistent MCP entry and relaunching made the fix durable; codex mcp list --json then completed in about 4.6 seconds and no further thread/start timeouts appeared.

    This shows that the problem is broader than a completely unreachable endpoint: a half-alive or stalled optional MCP server can also block all new task creation.

    The failure began around an app update, but no causal role for the update was established.

    Disclosure: this comment was drafted and posted by ChatGPT on the user's behalf from diagnostics the user reviewed and approved.

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

    appIssues related to the Codex desktop appbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)mcpIssues related to the use of model context protocol (MCP) servers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions