codex - 💡(How to fix) Fix macOS Codex in-app Browser cannot connect: Reconnecting 5/5 while browser-use native pipe starts

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

browser_use_runtime_paths_selected codexCliPath=/Applications/Codex.app/Contents/Resources/codex codexCliPathSource=bundled-or-dev nodePath=/Applications/Codex.app/Contents/Resources/node nodePathSource=bundled-or-dev nodeReplPath=/Applications/Codex.app/Contents/Resources/node_repl nodeReplPathSource=bundled-or-dev nodeVersionError=undefined nodeVersionMajor=24 nodeVersionStatus=ok nodeVersionValue=v24.14.0 platform=darwin
browser-use-native-pipe-peer-authorizer browser-use native pipe peer authorization enabled mode=packaged
browser-session-registry IAB_LIFECYCLE registered browser sidebar thread conversationId=... windowId=1
browser-use-native-pipe-server browser-use native pipe listening pipePath=/tmp/codex-browser-use/37530b10-0376-4639-a6d1-5284cdf06886.sock

---

browser-session-registry IAB_LIFECYCLE rebound browser sidebar window ownerWebContentsId=1 previousOwnerWebContentsId=1 windowId=1
browser-session-registry IAB_LIFECYCLE captured turn route conversationId=... disposeAfterTurn=false ownerWebContentsId=1 turnId=... windowId=1
browser-session-registry IAB_LIFECYCLE ended browser use turn route conversationId=... turnId=... windowId=1

---

AppServerConnection response_routed ... method=plugin/list ...
AppServerConnection response_routed ... method=config/read ...
AppServerConnection response_routed ... method=turn/start ...

---

/tmp/codex-browser-use/*.sock

---

grep -RinE "sk-|Bearer|Authorization|api[_-]?key|password|secret|cookie|github_pat" ~/Desktop/codex-browser-bug-report
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using?

Codex bundled CLI: codex-cli 0.130.0-alpha.5

What subscription do you have?

Plus

What platform is your computer?

  • macOS 26.1 / build 25B78
  • Darwin 25.1.0
  • Apple Silicon / arm64

What issue are you seeing?

The built-in Codex in-app Browser does not connect on macOS.

This is not about the Chrome extension. I am specifically reporting the built-in @Browser / in-app Browser path.

Simple public pages fail to open, including:

  • https://example.com
  • Baidu

The task repeatedly reconnects and eventually fails, showing behavior like:

  • Reconnecting... 2/5, 3/5, 4/5, 5/5
  • Browser / Node Repl setup hangs
  • Previously observed: js execution timed out; kernel reset, rerun your request

What steps can reproduce the bug?

  1. Open Codex Desktop on macOS.
  2. Start a new conversation.
  3. Run: @Browser open https://example.com.
  4. Observe the Browser task reconnecting repeatedly and eventually failing.
  5. The same happens for other public pages.

What is the expected behavior?

The built-in in-app Browser should open a simple public page such as https://example.com.

What is the actual behavior?

The built-in Browser never successfully connects. The task gets stuck in reconnect attempts and fails.

What I already tried

  • Restarted Codex.
  • Restarted Chrome.
  • Created new Codex threads.
  • Clean reinstalled Codex.
  • Removed Codex logs/cache/preferences.
  • Temporarily removed ~/.codex, then restored ~/.codex/sessions from backup.
  • Cleared /tmp/codex-browser-use.
  • Tested simple public sites instead of localhost or authenticated pages.
  • The issue still reproduces.

Relevant logs

The logs show the browser-use native pipe starts successfully:

browser_use_runtime_paths_selected codexCliPath=/Applications/Codex.app/Contents/Resources/codex codexCliPathSource=bundled-or-dev nodePath=/Applications/Codex.app/Contents/Resources/node nodePathSource=bundled-or-dev nodeReplPath=/Applications/Codex.app/Contents/Resources/node_repl nodeReplPathSource=bundled-or-dev nodeVersionError=undefined nodeVersionMajor=24 nodeVersionStatus=ok nodeVersionValue=v24.14.0 platform=darwin
browser-use-native-pipe-peer-authorizer browser-use native pipe peer authorization enabled mode=packaged
browser-session-registry IAB_LIFECYCLE registered browser sidebar thread conversationId=... windowId=1
browser-use-native-pipe-server browser-use native pipe listening pipePath=/tmp/codex-browser-use/37530b10-0376-4639-a6d1-5284cdf06886.sock

But the in-app browser lifecycle repeatedly rebounds / fails to become usable:

browser-session-registry IAB_LIFECYCLE rebound browser sidebar window ownerWebContentsId=1 previousOwnerWebContentsId=1 windowId=1
browser-session-registry IAB_LIFECYCLE captured turn route conversationId=... disposeAfterTurn=false ownerWebContentsId=1 turnId=... windowId=1
browser-session-registry IAB_LIFECYCLE ended browser use turn route conversationId=... turnId=... windowId=1

There are also repeated app-level requests around the same time, while the Browser never becomes usable:

AppServerConnection response_routed ... method=plugin/list ...
AppServerConnection response_routed ... method=config/read ...
AppServerConnection response_routed ... method=turn/start ...

The temp directory also accumulates multiple browser-use socket files, for example:

/tmp/codex-browser-use/*.sock

Additional notes

A sensitive-info scan was run over the generated bug report files using:

grep -RinE "sk-|Bearer|Authorization|api[_-]?key|password|secret|cookie|github_pat" ~/Desktop/codex-browser-bug-report

The only matches were false positives for browser-use-native-pipe-peer-authorizer / authorization enabled; no API keys, bearer tokens, cookies, or passwords were found.

I can provide the full redacted log bundle if needed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix macOS Codex in-app Browser cannot connect: Reconnecting 5/5 while browser-use native pipe starts