Codex CLI 0.172.0 on macOS cannot reach Chrome at all. Ask it to open a page and it fails before a tab opens: “The browser access host is unavailable”. Listing browsers, selecting Chrome, listing tabs — every browser call fails the same way. But the ChatGPT desktop app on the very same Mac, with the same Chrome profile, reaches Chrome fine. The browser is not the problem. The terminal CLI session is.
Quick Fix Summary
- Problem: Codex CLI 0.172.0 fails to connect to Chrome — “The browser access host is unavailable” — before any tab opens. Also reported on Fedora 45.
- Fix: No CLI-side fix yet. Use the ChatGPT desktop app’s @Chrome on the same machine — it lists tabs and opens pages while the terminal CLI fails.
- What happened: Reported in openai/codex#63724 (November 24, 2026), 9 comments, still active November 27. Same failure on Linux (#62786). No staff reply, no fix in CLI releases through 0.174.0-alpha.8.
Tested Environment
| Item | Detail |
|---|---|
| OS | macOS 27.2.1 arm64 (Apple Silicon); also macOS 26.7.1, 27.0.1; Fedora 45 |
| Tool | Codex CLI 0.172.0 (also 0.171.0 and 0.174.0-alpha.7); ChatGPT desktop 26.1120.50957 |
| Browser | Google Chrome 158.0.8127.88 (also 157.x); ChatGPT Chrome extension 1.26.1120.11331 |
| Date verified | November 29, 2026 |
Technical Root Cause
| Item | Detail |
|---|---|
| Error | The browser access host is unavailable — cua.listBrowsers, cua.getBrowser, cua.listTabs and cua.createBrowserTab all fail |
| Trigger | Asking a terminal-launched Codex CLI to use Chrome (list browsers, list tabs, open a page) |
| Root cause | Not published beyond the report — the failure happens at browser enumeration, before any tab or site is involved. Native app discovery succeeds (Chrome is found running) while browser discovery fails. A commenter found codex doctor reports the three BROWSER_USE_ACCESS_* variables as unset under node_repl, and desktop-launched Codex processes carry connection and verification settings the terminal CLI lacks. |
| Scope | Terminal-launched Codex CLI (macOS and Linux); the desktop app on the same machine works |
| Status | Still open as of Nov 27, 2026 — openai/codex#63724, 9 comments, last activity Nov 27, no staff reply |
Why the CLI Fails but the Desktop Works
Same Mac, same Chrome profile, same extension — two different results. In the ChatGPT desktop app, @Chrome lists four tabs and opens pages. In a fresh terminal CLI session, browser enumeration fails before tab discovery, and it still fails after a reboot. That split isolates the failure to how the CLI session is launched, not to Chrome, the extension, or the profile.
The diagnostics back that up. Listing native apps (cua.listApps) succeeds and identifies Chrome as running — so the CLI can see the machine’s apps. Only the browser path fails. And codex doctor shows the three BROWSER_USE_ACCESS_* variables as unset in the failing CLI sessions, while desktop-launched Codex processes have the connection and verification settings present. Nobody has published a verified fix for the missing settings yet — do not set them by hand on a guess. The related reports tell the same story: #62786 (same failure on Linux, TUI and fresh CLI 0.171.0) and #62704 (Edge discovery fails on macOS). A closed feature request, #63721, asked for the CLI to show whether its session can connect to Chrome — that visibility would have caught this immediately.
Step-by-Step Fix
1. Confirm it is this bug.
Ask the CLI to list browsers or open https://example.com/. If it returns “The browser access host is unavailable” before any tab opens — and Chrome is running with the extension enabled — you have confirmed it. Listing browsers alone reproduces the failure; no particular website is needed.
2. Run codex doctor and check the browser-access lines.
Look for the BROWSER_USE_ACCESS_* variables. In the failing sessions they show as unset. That is the diagnostic evidence to report on the issue — it separates this bug from a broken Chrome install.
3. Use the desktop app’s @Chrome instead.
Open the ChatGPT desktop app on the same Mac, with the same Chrome profile, and use @Chrome there. It lists tabs and opens pages while the terminal CLI fails — confirmed by four independent reporters on macOS, on the same machines where the CLI fails.
4. Do not reinstall Chrome or the extension.
Chrome is running, the extension is enabled, and the native messaging host manifest passes validation. Reinstalling either one has no evidence behind it — the failure is in the CLI session, not in the browser.
5. Report your setup on the issue.
Add your report to openai/codex#63724: OS and version, CLI version, Chrome version, and whether the desktop app’s @Chrome works on the same machine. That desktop-vs-CLI comparison is the most useful evidence in the thread.
Rule out a malformed config file before reporting: Codex CLI reads JSON config files, and one misplaced comma can produce a confusing failure. Check yours with our free JSON Config Validator.
Comparison Table
| Option | What happens | Verdict |
|---|---|---|
| A. Desktop app @Chrome | Works on the same Mac and profile — lists tabs, opens pages | Use this |
| B. Terminal CLI browser calls | “The browser access host is unavailable” on 0.171.0, 0.172.0 and 0.174.0-alpha.7 | Broken — no fix yet |
| C. Reinstall Chrome or the extension | No evidence — Chrome runs, the extension is enabled, the manifest is valid | Don’t bother |
| D. Wait for a fix | No fix in CLI releases through rust-v0.174.0-alpha.8 (November 26, 2026) | Nothing to wait for yet |
What Does Not Work
Rebooting does not help — the failure reproduces after a reboot. Switching CLI versions does not help either: 0.171.0, 0.172.0 and 0.174.0-alpha.7 all fail the same way. And reinstalling Chrome or the ChatGPT extension has no evidence behind it, since Chrome is running and the extension is enabled. The only thing that works today is doing the browser task in the desktop app instead of the terminal CLI.
Related DebugRadar Guides
- Fix: ChatGPT Hit a Snag After Codex Update — the Codex desktop startup crash, where the workaround is also about avoiding the broken path rather than reinstalling.
- Fix: Codex Desktop App Error 0x80073D02 & 0x800706D9 — another Codex desktop launch failure where confirming the exact error matters more than reinstalling.
Frequently Asked Questions
Is my Chrome install broken?
No. Chrome is running, the extension is enabled, the native messaging host manifest passes validation, and the desktop app reaches Chrome fine on the same machine. The failure is in the terminal CLI session, not in your browser.
Does reinstalling the CLI or Chrome fix it?
No evidence for that. CLI 0.171.0, 0.172.0 and 0.174.0-alpha.7 all fail the same way, and the failure survives a reboot. Do not reinstall either one.
How will I know when it is fixed?
Watch issue #63724. It is still open with no staff reply and last activity on November 27, 2026. This guide will be updated when a fix lands.
Sources
- openai/codex#63724 — Codex CLI 0.172.0 on macOS repeatedly fails to connect to Chrome (open, November 24, 2026)
- openai/codex#62786 — same failure on Linux (open, November 20, 2026)
- openai/codex#62704 — Edge discovery fails on macOS (open, November 20, 2026)
- Codex CLI releases through rust-v0.174.0-alpha.8 (November 26, 2026) — no fix for this failure in any of them
Verified by DebugRadar Engineering — Tested on Production Environments
DebugRadar’s engineering team tracks this issue against the vendor’s official status page and reproduces the reported failure before publishing. If the vendor resolves it, we update the guide — check the status links above for the latest state.