Skip to content

[Windows 11][26.908.9136.0] Chrome backend is discoverable but tab operations fail with nodeRepl.fetch request failed #45576

Open

Description

@GravityMsc

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

Codex Desktop 26.908.9136.0Bundled Chrome plugin: 26.908.70816Bundled Computer Use / unified computer-use plugin: 26.908.70816

What subscription do you have?

Codex Plus

What platform is your computer?

Windows 11 x64 (10.0.26200)Google Chrome Stable 153.0.8010.37ChatGPT Chrome extension 1.26.901.11451Extension ID: hehggadaopoacecdllhhajmbjkdcmajg

What issue are you seeing?

The Chrome plugin, Chrome extension, Native Messaging registration, manifest, and host executable are present. The Chrome Native Messaging host starts successfully, and the browser API can return a Chrome browser ID. However, the extension-backed control channel is not usable: listing tabs or creating a controlled Chrome tab fails with nodeRepl.fetch request failed after approximately 20 seconds.

The in-app browser (iab) remains usable through a direct-selection workaround, so the bundled browser runtime and Playwright DOM path are not completely unavailable. The failure appears specific to the Chrome extension-backed session/transport path.

What steps can reproduce the bug?

  1. Install and enable the bundled Chrome and Computer Use plugins in Codex Desktop.
  2. Install and enable the official ChatGPT Chrome extension in Chrome's Default profile.
  3. Confirm that the extension and Native Messaging host are connected.
  4. Fully restart Chrome and Codex Desktop.
  5. Start a fresh local Codex task.
  6. Select the Chrome backend and list tabs.
  7. Observe that selecting the backend can return a browser ID, but the first tab operation fails.

Observed minimal behavior:

agent.browsers.get("chrome") -> returns a browser object / browser ID
browser.tabs.list()          -> nodeRepl.fetch request failed

The higher-level path also fails:

cua.createBrowserTab("chrome", "https://example.com", ...)
-> nodeRepl.fetch request failed

What is the expected behavior?

After the Chrome extension and Native Messaging host connect, Codex should be able to list existing tabs, create an agent-controlled tab, read page state, and interact with the page.

If the Chrome transport cannot establish a usable session, the tool should report which layer failed rather than returning a generic fetch error after a timeout.

Additional information

Diagnostics verified without reading browser databases, cookies, history, passwords, or authenticated page content:

  • Native Messaging registration and manifest are present and point to an existing bundled host executable.
  • The manifest allows the installed stable extension origin.
  • The native host starts as a child of Chrome's Native Messaging process chain.
  • A full Chrome restart created new Chrome and native-host processes, but the failure remained.
  • No .agent-browser Chrome process or autostart entry was present.
  • CUA_REPL_ENABLED_SURFACES=browser is already configured.
  • No stale setupCUA(...) banner was found.

Control test: global browser inventory may also fail, but directly selecting the in-app browser works. If automatic AX-state collection times out, reacquiring the observed in-app tab and calling tab.playwright.domSnapshot() succeeds. The equivalent Chrome tab operation remains unusable.

Related issues: #22849, #21908, #27962, #38134, #41408, #45047.

Privacy: this report excludes usernames, absolute user paths, task/thread IDs, dynamic ports, tokens, browser history, tab titles, authenticated URLs, cookies, local storage, and account identifiers.

Activity

  1. added
    app
    on Sep 15, 2026
  2. added
    bug
    windows-os
    connectivity
    on Sep 15, 2026
  3. qihangzhang-272 commented on Sep 30, 2026

    @qihangzhang-272

    Windows reproduction on the current build (26.928.21956), with evidence that this is not Chrome-transport-specific

    Confirming this on Windows. Adding data that may narrow the scope, plus one configuration observation.

    Environment

    • Codex Desktop 26.928.21956 (core 0.159.2), Windows 10 Pro
    • Chrome 154.0.8037.58; ChatGPT Chrome extension 1.26.901.11451 — installed, enabled and registered
      (official scripts/check-extension-installed.js exits 0, selectedProfileDirectory: Default)
    • Bundled browser plugin 26.928.21956
    • Network: mainland China. Clash Verge in system-proxy mode only (enable_tun_mode: false);
      HTTP_PROXY / HTTPS_PROXY / ALL_PROXY are set to a loopback proxy.

    Addition: cua.createBrowserTab fails on the iab backend too

    call outcome
    cua.createBrowserTab("chrome", ...) fails after ~21.4 s → nodeRepl.fetch request failed
    cua.createBrowserTab("iab", ...) fails after ~21–60 s → js execution timed out; kernel reset, rerun your request

    iab is the bundled in-app browser and does not use Chrome, the extension, or the Native Messaging
    host, so this does not appear to be a Chromium-transport-only defect. Both backends stall at the same
    stage.

    Wall time tracks the requested timeout exactly — the call stalls until the timeout fires

    timeout_ms 30000 -> 30.16 / 30.03 / 30.15 / 30.19 / 30.14 s
    timeout_ms 45000 -> 45.17 s
    timeout_ms 60000 -> 60.15 / 60.04 s
    default          -> 21.37 / 21.40 / 21.46 / 21.86 / 21.90 s
    

    Existing-tab operations are unaffected — only tab creation stalls

    • cua.getTab(...), browser.tabs.list(), browser.tabs.get() — OK
    • tab.goto(), tab.click(), tab.playwright.domSnapshot(), tab.screenshot(), tab.getAXState() — OK
    • cua.getBrowser({id}) returns in ~0.5 s
    • cua.createBrowserTab(...) — fails on every backend, every time

    cua.getState() reports the browser as discovered but with an empty tab list and an error entry:

    {"family":"chrome","id":"3","name":"Chrome","profileName":"<profile>","type":"extension","tabs":[]}
    "errors":["Browser 3: Error: nodeRepl.fetch request failed"]

    Full kernel stack

    Error: nodeRepl.fetch request failed
        at <TMP>\kernel.js:1595:16
        at Object.settle (<TMP>\worker-runtime.js:396:5)
        at <TMP>\kernel.js:1871:11
        at handleInputFrame (<TMP>\worker-runtime.js:418:7)
        at Socket.<anonymous> (<TMP>\worker-runtime.js:434:9)
        at Socket.emit (node:events:514:28)
        at addChunk (node:internal/streams/readable:568:12)
        at readableAddChunkPushByteMode (node:internal/streams/readable:519:3)
        at Readable.push (node:internal/streams/readable:399:5)
        at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)
    

    Reproduces after a full clean reset

    • Full Chrome restart (all processes recycled, zero surviving processes) + Codex Desktop restart
    • Disabling a third-party browser-automation extension and stopping its local daemon
    • Killing the Native Messaging host to force a reconnect
    • Native Messaging registry key and manifest verified present:
      HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension →
      %LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.json

    None of the above changed the failure.

    Configuration observation that may connect this to the identity/prerequisite lead

    The generated config.toml launches node_repl with an explicit environment map that contains
    no proxy variables and no NODE_USE_ENV_PROXY:

    [mcp_servers.node_repl]
    env_vars = ["CODEX_WINDOWS_REGISTERED_CORE"]

    This is consistent with the lead reported in #43787 (tengfei-xy): requests other than getInfo
    await readRequestHeaderEnabled() before the browser command is sent, and that prerequisite path
    performs an authenticated request to https://chatgpt.com/backend-api/aura/identity. A stall at that
    prerequisite would present exactly as observed here — discovery succeeds, every subsequent tab
    operation (including tab creation on iab) hangs until the timeout.

    It is also consistent with the proxy-environment workaround reported in #43787 (VidyFoo,
    2026-09-27), where a mainland-China user found the bundled Node helper making stalled direct
    connections and restored Chrome control by enabling TUN mode.

    We are testing the TUN workaround next and will report the result.

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

    appbrowserbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions