Skip to content

Windows: codex_apps initialization fails after bundled engine update to 0.155.0-alpha.16.4 #48082

Open

Description

@ChrisHeadford75

App: Codex Windows 26.917.71314, build 10954
Engine: 0.155.0-alpha.16.4

Gmail and other connector tools are unavailable. Restarting
Codex and reconnecting Gmail did not resolve the problem.

Timeline, 24 September 2026 (UTC):
14:15:23 — codex_apps started successfully on engine .16.3.
14:25:44 — restarted app reported engine .16.4.
14:25:58.807 — first codex_apps initialization failure:
“HTTP request failed: error decoding response body,
when send initialize request.”

Checked logs contain no successful connector startups after
the change. GitHub calls also fail through this service.

codex doctor:
Installation/configuration checks passed.
HTTP connectivity and WebSocket handshake passed.
No explicit Windows, WinHTTP or environment proxy configured.
Optional node_repl warning: CODEX_WINDOWS_REGISTERED_CORE unset.

Expected: connectors initialize and tools are callable.
Actual: initialization fails and connector tools are unavailable.

The timing suggests a regression; causation is unconfirmed.
Feedback session IDs: 01a0d88a-6f14-7fa3-81d1-454f2b3bd364 and 01a0d9b6-04e7-72f1-a80f-cb9902d07826.

Additional evidence consolidated from #48154

After reset, Gmail tools appeared in the tool catalogue, but runtime inspection returned undefined and calling tools.mcp__codex_apps__gmail_get_profile({}) failed with TypeError: tools.mcp__codex_apps__gmail_get_profile is not a function. gmail_list_labels also failed. These calls failed before connector dispatch or Gmail authentication.

Startup-grace test

Added top-level mcp_optional_startup_grace_ms = 0 to the user config, backed up the original, and fully quit and reopened Codex. The problem persisted:

  • First execution cell: profile and labels tools appeared in ALL_TOOLS, with runtime type function.
  • Next execution cell: the profile invocation failed with the same TypeError.
  • A subsequent cell checked and invoked together: the profile entry was absent from ALL_TOOLS, its runtime type was undefined, and invocation failed.

The setting remains enabled. The two feedback submissions above predate this startup test. The observed sequence does not independently prove that initialization failure caused registry invalidation; please correlate the logs.

Integration configuration

No user [mcp_servers.codex_apps] configuration was found; this project's .codex/config.toml does not exist. The explicitly configured MCP servers are node_repl and cua_repl. Gmail plugin version 0.1.10 declares apps: ./.app.json with a required Gmail app connector. Its manifest does not declare mcpServers, and no .mcp.json was found in that plugin cache. This identifies Gmail as a plugin-provided app connector exposed through codex_apps, rather than a manually configured codex_apps server; it does not establish that the Gmail plugin itself launches a standalone MCP server.

Duplicate #48154 is being closed to keep follow-up in this original issue. Its detailed diagnostic comment remains available at #48154 (comment).

Activity

  1. added
    bug
    app
    windows-os
    mcp
    connectivity
    on Sep 25, 2026
  2. github-actions commented on Sep 25, 2026

    @github-actions
    Contributor
  3. cwheadford75 commented on Sep 25, 2026

    @cwheadford75

    GitHub’s automated triage linked my issue #48082 to #47468 and #48079. Both report the same codex_apps initialization/response-decoding failure on Windows; #48079 uses my exact desktop version. Please include these related reports in the engineering review.

  4. cwheadford75 commented on Sep 25, 2026

    @cwheadford75

    please close this issue

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

    appbugconnectivitymcpwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions