Skip to content

[macOS] Browser tools return “The browser access host is unavailable” while in-app tab works #55173

Open

Description

@arminnajafi

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

Installed macOS app metadata: version 26.1013.40934, build 20770, bundle ID com.openai.codex (displayed as ChatGPT). These values were read from the installed app’s Info.plist; the About dialog was not inspected.

What subscription do you have?

Not collected for this report.

What platform is your computer?

macOS 26.6.2 (25G83), Apple Silicon. uname -mprs: Darwin 25.6.0 arm64 arm.

What issue are you seeing?

The built-in browser opens and renders a local development website normally for the user, but the agent cannot discover or control browser tabs. The supplied mcp__cua_repl.js tool is present and executes, but browser access repeatedly fails with:

The browser access host is unavailable

Calling await cua.getState(); successfully discovers native applications, while the browser portion returns:

{
  "browsers": [],
  "errors": ["Browsers: Error: The browser access host is unavailable"]
}

This prevents the agent from inspecting the rendered local app even though its in-app browser tab is visibly open and working.

What steps can reproduce the bug?

Observed repeatedly in an existing local project chat on October 18, 2026:

  1. Open a working local development page in the built-in browser (observed at http://localhost:3112/).
  2. Ask the agent to inspect that tab.
  3. Call await cua.getState(); through mcp__cua_repl.js: native apps are discovered, but browser inventory fails as shown above.
  4. Directly request the existing tab:
await cua.getTab({ url: "http://localhost:3112/" }, { browser: "iab" });

This returns the same host-unavailable error.
5. Explicitly select @Browser in the user message and retry: same result.
6. Reset the tool’s JavaScript session with mcp__cua_repl.js_reset, then retry direct tab acquisition: same result.

Feedback ID: 01a1485d-d37b-7a41-8625-eb9eeced1667

The user successfully submitted in-app feedback before requesting this GitHub report.

What is the expected behavior?

The agent should be able to discover and inspect an enabled, open built-in browser tab. If the browser access host cannot initialize or connect, the app should provide an actionable diagnostic or supported recovery procedure.

Additional information

Please advise on a supported recovery procedure that preserves existing chats and browser data.

Activity

  1. added
    bug
    app
    on Oct 19, 2026
  2. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. RazeBerry commented on Oct 22, 2026

    @RazeBerry

    Adding a related browser availability failure on macOS / Apple silicon, observed on 22 October 2026 with desktop client version 26.1016.51333 and Browser component version 26.1016.51333.

    In my incident, an ongoing Work conversation had previously used authenticated in-app browser tabs. Continuing the website task in a Codex execution turn initialized the supported Browser runtime successfully, but browser discovery repeatedly returned:

    await agent.browsers.list(); // []

    The empty inventory persisted across subsequent user turns. An attempt to open the requested HTTPS site using codex_app.open_in_codex with a browser target also failed:

    Mcp error: -32000: Codex app tool request failed
    

    There is an important diagnostic distinction: my session did not emit “The browser access host is unavailable”. I also did not test native application discovery, so I cannot confirm the browser-only versus native-app split described in this issue. The overlap is the failure to discover or control the browser despite the user's expectation that the existing in-app browser remained available. The active task's attachment to the original tabs could not be independently inspected.

    The failure blocked an authorized document upload and print submission. A full application restart has not been tested for this incident, and the root cause is unknown.

    I am closing my separate report #56152 and consolidating these observations here and in #55104. Please compare the newer client version and Work task continuation context when investigating browser host or task routing failures; this comment does not establish that the incidents have the same cause.

  4. barcuchj commented on Oct 23, 2026

    @barcuchj

    Cross-reference from #56448: I have encountered the same general failure mode repeatedly in ChatGPT Work while using the built-in browser for an interactive Red Teaming course.

    The important additional detail is that browser control had already worked earlier in the same conversation, but later the assistant could no longer access/control the still-open built-in browser, even after I explicitly selected @Browser and requested continued interaction.

    That makes this look less like a simple missing permission and more like an intermittent loss of binding/routing between the visible browser session and the agent-side browser capability. I added the fuller reproduction/context to #56448.

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

    appbrowserbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions