Codex Desktop IAB cannot inspect external pages because app-server fails to start on Windows
Codex Desktop IAB cannot inspect external pages because app-server fails to start on Windows
Summary
Codex Desktop's in-app browser backend can discover the in-app browser tab, but any operation that requires the Codex app-server helper fails with:
failed to start codex app-server: The system cannot find the path specified. (os error 3)
This prevents browser automation/inspection for external pages from Codex Desktop, including DOM snapshots, console logs, and navigation performed through Browser Use.
Environment
- Platform: Windows x64
- Codex Desktop package:
OpenAI.Codex 26.422.2437.0 - Package family:
OpenAI.Codex_2p2nqsd0c76g0 - Node on PATH:
C:\Program Files\nodejs\node.exe - Node version:
v24.15.0 - Browser Use plugin path used by Codex:
C:\Users\<user>\.codex\plugins\cache\openai-bundled\browser-use\0.1.0-alpha1
What Happens
The Browser Use runtime can initialize with the iab backend and list the current in-app browser tab:
{
"tabs": [
{
"id": "1",
"url": "about:blank",
"title": "New page"
}
]
}
For a manually-entered external URL, Codex could also see the tab metadata:
{
"id": "1",
"title": "Back Office | Sandbox - Redacted | Studio",
"url": "https://studio.app-platform.tylertech.com/develop/<redacted>/backoffice"
}
However, actions that require app-server/authenticated fetch fail:
failed to start codex app-server: The system cannot find the path specified. (os error 3)
Observed failing operations include:
nodeRepl.fetch("https://chatgpt.com/backend-api/aura/site_status?...")tab.playwright.domSnapshot()on an external pagetab.dev.logs(...)on an external pagetab.goto("https://...")
On about:blank, tab.playwright.domSnapshot() returns successfully, but the snapshot is empty, so the basic tab bridge appears alive. The failure seems specific to the app-server helper path used for external-page safety checks / authenticated fetch / page inspection.
Steps Tried
- Installed Node.js LTS because the original
nodeon PATH resolved to the Codex app packaged Node underWindowsApps, which failed withAccess is denied. - Verified
node --versionworks and resolves toC:\Program Files\nodejs\node.exe. - Restarted Codex Desktop.
- Ran Windows app Repair.
- Reinstalled Codex Desktop.
- Re-ran the browser diagnostics after reinstall.
The same app-server error persists after repair and reinstall.
Expected Behavior
Codex Desktop should be able to start its app-server helper successfully, allowing Browser Use to:
- run the external-site safety check,
- inspect the currently open in-app browser page,
- collect DOM snapshots and console logs,
- and navigate external pages through the supported in-app browser API.
Actual Behavior
The in-app browser tab bridge is alive, but app-server startup fails with os error 3, blocking inspection and navigation of external pages.
Notes
I searched existing public issues and found related app/app-server reports, but not this exact failed to start codex app-server: The system cannot find the path specified. (os error 3) failure on Codex Desktop Windows.
15 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I’m seeing what appears to be the same Windows app-server failure, with a bit more isolation around Browser Use.
Environment:
OpenAI.Codex_26.422.3464.0_x64__2p2nqsd0c76g0codex-cli 0.125.0v22.17.1tov22.22.2What I checked:
.codex/plugins/cache/openai-bundled/browser-use/0.1.0-alpha1/skills/browser/SKILL.md.codex/plugins/cache/openai-bundled/browser-use/0.1.0-alpha1/scripts/browser-client.mjssetupAtlasRuntime({ backend: "iab" })can initialize.agent.browser.tabs.list()works.http://localhost:3000returns the expected browser errornet::ERR_CONNECTION_REFUSED.https://www.fox.com, fails with:Additional behavior:
https://www.fox.com/homein the in-app browser, the page loads.failed to start codex app-servererror.This makes it look less like a missing Browser Use skill/plugin-cache problem and more like the Desktop app-server bridge used by
nodeRepl.fetch/ external-site permission or status checks is missing or resolving to the wrong path.Follow-up with a local workaround that appears to confirm the root cause.
After reboot, Codex Desktop was still launching
node_repl.exefrom:But that path did not exist on disk. The installed packaged copy exists at:
I manually recreated the missing local directory and copied
node_repl.exefrom the packaged app resources into the stale AppData path. That changed the failure from:to:
Searching strings in
node_repl.exeshowed it starts:So I also copied the packaged
codex.exeinto the same AppData bin directory:After that, the authenticated fetch bridge started working. This call succeeded:
Response:
Browser Use then no longer failed with the app-server error. Programmatic navigation to
https://www.fox.com/homereached the page, and DOM access worked afterward.This seems to confirm that the bug is Codex Desktop launching
node_repl.exefrom a stale/missing user-local binary path, and thatnode_repl.exeexpects a companioncodex.exebeside it forcodex app-server. The fix likely needs to ensure the AppData bin cache is created/refreshed correctly, or that Desktop launches the packaged resource binaries directly.same here Browser Use on Windows is broken
Confirming @neusse method workaround fixed the same issue for me on Windows.
My
%LOCALAPPDATA%\OpenAI\Codex\bindirectory was missing. After copyingnode_repl.exeandcodex.exefrom the installed Codex Desktop package resources into that bin directory,nodeRepl.fetch(...)and Browser Use external navigation started working again.confirming also it fixed the issue on y side with Windows 11
I believe the root cause is related to a corrupted upgrade state.
After deleting all existing Codex files and performing a clean install from the Microsoft Store, Codex installs and runs correctly. However, during the upgrade process, it appears that parts of the previous version were not fully removed while the new version was also installed.
This leaves the system in a mixed-version state, which can cause the wrong binaries to load and then fail when expected files are missing.
I tried it, removed .codex in the user folder and openai/codex folders in appdata. Still no luck on Windows 11. I have to reapply the "files copy" fix
I can reproduce the same root failure on Windows, but with one important difference from the "missing helper bin path" theory.
Environment:
OpenAI.Codex_26.422.3464.0_x64__2p2nqsd0c76g00.125.0-alpha.3openai-bundled/browser-use/0.1.0-alpha1What I verified locally:
setupAtlasRuntime({ globals: globalThis, backend: "iab" })succeedsagent.browser.tabs.new()succeedsabout:blanknodeRepl.fetchpolicy behavior looks normal:nodeRepl.fetch("https://example.com")nodeRepl.fetch URL is not allowlistednodeRepl.fetch("https://chatgpt.com/backend-api/aura/site_status?site_url=https%3A%2F%2Fwww.google.com")failed to start codex app-server: The system cannot find the path specified. (os error 3)tab.goto("https://www.google.com/")fails with the same error:failed to start codex app-server: The system cannot find the path specified. (os error 3)Important extra detail:
%LOCALAPPDATA%\OpenAI\Codex\binexists on this machine%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\OpenAI\Codex\binalso existscodex.exenode_repl.exenode.exerg.execodex-command-runner.execodex-windows-sandbox-setup.exeI also tested after disabling
Settings > Configuration > Codex dependenciesand fully restarting Codex. The behavior did not change.So this still looks like the same Browser Use / authenticated fetch / app-server startup bug, but on this machine it does not appear to be explained solely by a missing
%LOCALAPPDATA%\OpenAI\Codex\bindirectory.I can confirm this issue on another Windows machine, and I’ve already tried a much broader set of local fixes without resolving it.
Environment:
OpenAI.Codex 26.422.3464.0OpenAI.Codex_2p2nqsd0c76g0app.version=0.125.0-alpha.3C:\Users\<user>\.codex\plugins\cache\openai-bundled\browser-use\0.1.0-alpha1Observed behavior:
failed to start codex app-server: The system cannot find the path specified. (os error 3)This means the browser surface itself is alive, but the automation/control bridge is broken.
I can also reproduce that:
agent.browser.tabs.list()worksagent.browser.tabs.new()workstab.goto("https://...")tab.playwright.domSnapshot()all fail with the same
app-servererror.Additional remediation steps I tried beyond restart / repair / reinstall:
@openai/codexshim from PATH to avoid version conflictsNone of the above fixed the problem.
One notable detail:
So this appears specifically related to the Codex Desktop Windows app-server/helper path used by Browser Use automation, not to general network access or page rendering.
I can still reproduce this on Windows 11 today, after the local helper bin directories have been populated.
Environment observed locally:
codex-cli 0.118.0codex.exefile version:0.126.0-alpha.8openai-bundled/browser-use/0.1.0-alpha1%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser-use\0.1.0-alpha1\scripts\browser-client.mjsLocal helper bin state:
%LOCALAPPDATA%\OpenAI\Codex\binexists%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\OpenAI\Codex\binexistscodex.exenode_repl.exenode.exerg.execodex-command-runner.execodex-windows-sandbox-setup.exeRepro attempted from Codex Desktop Browser Use:
Actual result:
So this still looks like the same Browser Use / IAB / authenticated app-server startup failure, but in this repro the expected local helper bin directories are already present. That suggests the bug is not only the missing
%LOCALAPPDATA%\OpenAI\Codex\bincase; there may also be a path resolution or process launch issue after the helper files exist.same failed to execute Node: Access is denied. (os error 5)
Confirming this same issue on Windows. Browser Use on Windows is broken because it was installed from Microsoft Store and it was at protected folder under C:\Program Files\WindowsApps\OpenAI.Codex_26.422.8496.0_x64__2p2nqsd0c76g0\ whereas browser use expects the node_repl at C:\Users\{UserName}\AppData\Local\OpenAI\Codex\bin. Plugin needs to be fixed for Windows.
Since the Windows Store is the only official way of getting Codex on Windows... does this means no one at Open AI has tested this on Windows... and not even their CI has tried it on Windows?
It seems to be working now on version 26.506.31421
With this update they have probably put a workaround browser use bundle (alpha2) in the right path now.
<img width="873" height="515" alt="Image" src="https://github.com/user-attachments/assets/4d0f9e57-8e84-4de5-9bb5-c2ebe4ea6bfa" />