Codex Desktop Browser Bridge fails on Windows: windows sandbox failed: spawn setup refresh

Resolved 💬 4 comments Opened May 30, 2026 by carypdarling-star Closed Jun 12, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Codex Desktop Browser Bridge fails on Windows after app restart and fresh thread.

When attempting to initialize Browser Bridge through the trusted node_repl/browser skill path, node_repl crashes with:

node_repl kernel exited unexpectedly
node_repl diagnostics: {"kernel_pid":25712,"kernel_status":"running","kernel_stderr_tail":"windows sandbox failed: spawn setup refresh","reason":"stdout_eof","stream_error":null}

Another attempt produced the same error with a different kernel_pid.

Trying the bundled browser client directly from local Node produced:
Error: privileged native pipe bridge is not available; browser-client is not trusted

I understand the local Node error may be expected, but the trusted node_repl Browser Bridge path is failing. This prevents agents from connecting to real Chrome/listing tabs/using DOM control. Windows screen/mouse fallback works only in sessions where those tools are exposed, but other sessions do not have that fallback.

Environment: Windows 11, Codex Desktop, Chrome installed with Codex Chrome extension.

Repro steps:

  1. Restart Codex Desktop.
  2. Open a fresh thread.
  3. Ask Browser skill to initialize Browser Bridge / list real Chrome tabs.
  4. node_repl exits with the sandbox error above.

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 3 months ago

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

  • #25102
  • #25090
  • #25012
  • #24963
  • #24926

Powered by Codex Action

carypdarling-star · 2 months ago

Additional detail: this is not limited to Browser Bridge initialization.

A minimal node_repl call also fails:

nodeRepl.write("ok")

Result:

node_repl kernel exited unexpectedly
node_repl diagnostics: {"kernel_pid":9592,"kernel_status":"running","kernel_stderr_tail":"windows sandbox failed: spawn setup refresh","reason":"stdout_eof","stream_error":null}

So the failure appears to be at node_repl startup/runtime level, before Browser Bridge code runs.

iceweasel-oai contributor · 2 months ago

this is now fixed

dicinohit · 1 month ago

Im still having this problem. codex says this:

"Direct in-app browser-control tool is still not exposed to me.
Node/browser bridge still crashes with the same Windows ACL sandbox error before it can even fetch.
I could not actually use the built-in browser debug tool in this session because its required Node browser bridge is broken under the current sandbox"