Skip to content

Upgrading Docker Sandbox from 0.31.3 to 0.35.0 causes codex_apps authentication to fail (401 token_expired) #334

Description

@eshref

After upgrading Docker Sandbox from v0.31.3 to v0.35.0, all of my existing sandboxes stopped working because the codex_apps MCP client fails to authenticate.

The following error appears on startup:

MCP client for `codex_apps` failed to start: MCP startup failed: handshaking with MCP server failed:

Send message error Transport
[rmcp::transport::worker::WorkerTransport<...>]
error: unexpected server response: HTTP 401:

{
  "error": {
    "message": "Provided authentication token is expired. Please try signing in again.",
    "code": "token_expired"
  },
  "status": 401
}

MCP startup incomplete (failed: codex_apps)

What I tried
Logged out and logged in again.
Restarted the sandbox.
Downgraded back to v0.31.3.

Unfortunately, none of these steps resolved the issue. Even after logging in again, I continue to receive the same 401 token_expired error. Downgrading to v0.31.3 does not restore functionality either—the same error persists.

Expected behavior
After logging in again, the authentication token should be refreshed and the codex_apps MCP client should start successfully.

Actual behavior
The MCP client continues to fail with 401 token_expired, making codex_apps unusable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions