You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows Codex Desktop: node_repl crashes with "windows sandbox failed: spawn setup refresh", breaking Chrome plugin/browser runtime #26782
appIssues related to the Codex desktop appbrowserbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
The Chrome extension and native messaging manifest appear to be installed correctly, but the browser runtime cannot start because node_repl crashes even on minimal execution.
Error:
windows sandbox failed: spawn setup refresh
What works
Chrome is installed and running.
Chrome extension is installed and enabled in the Default profile.
Native messaging manifest is correct.
Headless/new Chrome process automation can open a page and read DOM in another session.
What fails
@chrome / Chrome plugin cannot list or claim existing logged-in Chrome tabs.
node_repl minimal execution fails before browser runtime starts.
The workaround from #25357 fixed the local reproduction here:
[windows]
sandbox = "unelevated"
After updating %USERPROFILE%\.codex\config.toml, node_repl minimal execution started working again, and Chrome browser automation was able to connect and read the logged-in Green Beans tab.
appIssues related to the Codex desktop appbrowserbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Jun 6, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
windows sandbox failed: spawn setup refresh#26163Powered by Codex Action
R9182 commentedon Jun 7, 2026
Closing this as a duplicate of #25357.
The workaround from #25357 fixed the local reproduction here:
After updating
%USERPROFILE%\.codex\config.toml,node_replminimal execution started working again, and Chrome browser automation was able to connect and read the logged-in Green Beans tab.Thanks.