Repository navigation
Description
Problem
The bundled Browser connection is unavailable to the primary agent in a Windows Work Mode task, blocking local checkout testing before any page can be opened.
Environment
- Windows host, PowerShell execution environment.
- Browser plugin package:
26.1007.71326. - Exact desktop app and Windows versions were not verified.
- Primary agent; no subagents were used in this reproduction.
- Observed 14 October 2026.
Reproduction
- Explicitly select
Browser(browser@openai-bundled) and ask: "Test my checkout flow on localhost". - Read the installed Browser skill and initialize its bundled
scripts/browser-client.mjswithsetupBrowserRuntime(). - Call
agent.browsers.get("iab"). - Follow the documented bootstrap troubleshooting guidance and list available browsers once.
Actual result
agent.browsers.get("iab") returns:
Browser is not available: iab
agent.browsers.list() contains only:
[{"name":"Codex MCP Apps","type":"mcpapps"}]No in-app browser backend is exposed. The failure happens before navigation or checkout interaction, so no localhost or checkout application failure has been established.
The user reports restarting and uninstalling/reinstalling the Browser plugin through the plugin UI during preceding troubleshooting. The current primary-agent reproduction still fails.
Expected result
The explicitly selected bundled Browser should be available to the authorized primary task, or the app should report an actionable connection/setup error.
Feedback reference
The application's "Feedback submitted" dialog directed the user to open a GitHub issue or add this feedback ID to an existing issue:
no-active-thread-01a13987-3395-7041-b6c9-5506d8d7c3d6
The relationship between this feedback reference and missing browser registration has not been established.
Related reports
- macOS: built-in browser is visible but runtime reports Browser is not available: iab #53425 describes the same discovery result on macOS.
- Windows 26.1007.21434: browser-control subagent sees no browsers while IAB pages render and Chrome setup shows Manage #53306 describes Windows browser discovery failure involving a subagent; this reproduction occurs in the primary agent without delegation.
No shared root cause is asserted. No credentials, browser profiles, payment information, private application URLs, or raw logs are included.
Activity
github-actions commentedon Oct 14, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Kvizl01 commentedon Oct 14, 2026
Additional reproduction on Windows, 14 October 2026.
Installed desktop package: 26.1007.9446.0
Bundled Browser plugin: 26.1007.71326
Context: primary agent in a local desktop task, native Windows/PowerShell.
The built-in browser pane is open and ambient context reports an existing tab. The documented Browser runtime initializes, but agent.browsers.get('iab') fails with:
Browser is not available: iab
Following bootstrap troubleshooting, agent.browsers.list() returns only a Codex MCP Apps entry (type mcpapps), with no iab backend.
Already tried without restoring IAB:
Read-only observations:
The failure occurs before page inspection. Its root cause remains unconfirmed. An earlier local hypothesis about mismatched browser/task ownership is not established and should not be treated as the diagnosis.
Please investigate IAB discovery/filtering after native getInfo and provide a supported diagnostic or recovery procedure. Repeated restarts/reinstallation have not restored the connection.
No private URLs, account identifiers, task IDs, credentials, browser profiles, or raw logs are included. No security checks or permission policies were disabled.
xzdxjbs commentedon Oct 14, 2026
Another independent Windows reproduction with identical versions to @Kvizl01's report: desktop
26.1007.9446.0, bundled browser plugin26.1007.71326. Same symptoms, includingagent.browsers.list()returning only themcpappsentry, and the interleaved "somegetInfocomplete / others report no route" pattern.Filed separately as #54036 before seeing this thread; happy for that one to be closed as a duplicate if maintainers prefer to consolidate here.
Adding three elimination results that I could not find in this thread or in #53425 / #53692 / #53306, in the hope they narrow the search.
1. A valid, live runtime registry does not restore Computer Use
The obvious suspect is a stale
%LOCALAPPDATA%\OpenAI\Codex\chrome-native-hosts-v2.json. On this machine it was indeed stale: deadpresence.pid, and anextensionHostPathpointing into app package26.1007.2314.0, which the update to26.1007.9446.0had removed, so the path no longer resolved.To rule that out, the file was rewritten by hand with fully valid values, taken from the app's own
browser_use_runtime_paths_selectedlog line:appVersion/cliVersion/nativeHostVersion=26.1007.71326presence.pid= the live desktop main process, verified alive at test timeextensionHostPath= the current package's...\plugins\openai-bundled\plugins\chrome\extension-host\windows\x64\extension-host.execodexCliPath,nodePath,nodeReplPath,nodeModuleDirs[0]= the new...\bin\9614f1d9...and...\runtimes\cua_node\a9ba6825...locations the app selectsbrowserClientPath/browserServicePath=...\browser\26.1007.71326\scripts\*.mjsAll nine paths were verified to resolve. Chrome and Edge were then fully restarted and three
extension-host.exeprocesses spawned and stayed alive.Computer Use still fails with the identical error:
So on Windows the browser-URL determination fails even with a valid registry entry and a working native-messaging transport. That suggests a second defect in the URL path, separate from registry staleness.
2. The app also never recreates that registry
26.1007.9446.0: file untouched.chrome-native-hosts,codex-runtime-,entryId,installIdandnativeHostVersionhave zero occurrences across everycodex-desktop-*.logon this machine, so that write path appears never to execute.For reference,
codex plugin remove/codex plugin addonly copy files: they do not create thechrome\latestjunction, do not writeextension-host-config.json, do not touchcom.openai.codexextension.json, and do not refresh this registry.docs/chrome-troubleshooting.mdtells users to reinstall the Browser plugin, but the app-UI reinstall did not refresh it either.3. The iab route follows whatever page the window is displaying
ownerRoutePathin theIAB_LIFECYCLErecords appears to decide which conversation owns the pane:and the handover is explicit:
This repeats with a fresh draft id each time (
c5896cf5,60c87272,967bcc59,766a9dc0,85bc1bb7), i.e. every newly created draft takes the pane from the conversation that wants it. Merely visiting a settings page is enough to trigger the handover.However, avoiding that is not sufficient. Repeating the test in an existing conversation, in a single window, never opening a new chat or a settings page, with a real page loaded in the pane first, still gives
Browser is not available: iab. So the draft handover looks like a real defect, but not the only one.Also observed, likely unrelated to this bug but worth noting
The native-messaging manifest is only registered under the Chrome root.
installManifest.mjswritesHKCU\Software\Google\Chrome\NativeMessagingHosts, but Edge readsHKCU\Software\Microsoft\Edge\NativeMessagingHosts. With the extension installed and enabled in Edge, it had no path to the native host at all until that key was added by hand, after which Edge began spawningextension-host.exeon launch. On this machine another vendor's extension registers under both roots.Separately, the app's availability state machine reports the success state throughout all of the above, so none of this is a gating problem:
Suggestion
The current error text, "could not determine the current browser URL on Windows with enough confidence to enforce policy", is not self-serviceable. Logging which source was consulted (extension channel, UI Automation, CDP) and why each was rejected would let affected users narrow this down without reverse-engineering
app.asar.jaimelinharesjr commentedon Oct 15, 2026
Additional Windows reproduction — Chrome and IAB missing despite working native host
I can reproduce this issue on Windows 11 with:
26.1007.9446.026.1007.713260.162.0-alpha.17.2Actual browser discovery:
[ { "name": "Codex MCP Apps", "type": "mcpapps" } ]setupBrowserRuntime()completes successfully, butagent.browsers.get("chrome")fails with:The IAB backend is also absent from the discovery list.
Diagnostics performed:
extension-host.exe.codex.exe app-server --analytics-default-enabled.CODEX_CLI_PATHoverride changed CLI selection fromenv-overridetobundled-or-dev, but did not restore Chrome or IAB.Relevant desktop log events:
Important comparison:
A second Windows machine with the same Codex Desktop version and identical SHA-256 hashes for the Browser Client, Extension Host and Codex CLI successfully discovers three Chrome extension instances, IAB and MCP Apps.
This suggests the issue may involve browser backend registration, discovery or session association rather than missing or corrupted plugin binaries. The root cause remains unconfirmed.
Could maintainers advise which diagnostic logs or events would identify why the Chrome and IAB backends are not published to the Browser Runtime?
I can provide additional sanitized logs if required.
xzdxjbs commentedon Oct 15, 2026
@jaimelinharesjr — your "second Windows machine with identical hashes works" observation is the most useful thing in this thread so far, because it rules out binary corruption and points at per-machine state. Same versions here (
26.1007.9446.0/26.1007.71326), same failure, and I ran the same eliminations you did.To help isolate the differentiator, one candidate from my machine that is unusual and is known to break other Codex components:
CODEX_HOMEreached through a directory symlink.On this machine
C:\Users\<user>\.codexis a symlink toD:\Codex\.codex. That is not cosmetic — it already broke an unrelated stdio MCP server here, because Node resolvesimport.meta.urlto the real path whilepathToFileURL(process.argv[1])keeps the link path, so the standard main-module guard is never true and the server exits 0 without serving:Codex reported that as
MCP server startup failed: connection closed: initialize response. Pointing the configured path at the realD:\...location fixed it.If the browser runtime compares, keys or validates any path that can arrive in both forms —
codexHome,browserClientPath,browserServicePath, trusted-code-path prefixes, or a route/session key derived from any of them — the same class of mismatch would make a backend fail to publish while every individual component still looks healthy, which matches what both of us observe.Note the registry on this machine stores
codexHomeas the link path (C:\Users\<user>\.codex), while Node inside the runtime will seeD:\Codex\.codex.Could you and others hitting this check one thing and report it:
Empty
LinkType= a real directory.SymbolicLinkorJunctionwith aTargetelsewhere = the same setup as mine.If the machines that work all have a real directory and the machines that fail all have a link, that is the trigger and it is also trivially testable by maintainers. If someone fails with a plain real directory, this candidate is dead and worth crossing off.
I have not been able to confirm it from the outside: forcing
CODEX_HOMEto the realD:\Codex\.codexpath and restarting the desktop app did not restore discovery here, but that test was inconclusive, because on this machine the app never performs the native-host registration step at all (deleting%LOCALAPPDATA%\OpenAI\Codex\chrome-native-hosts-v2.jsonand restarting does not recreate it, and no desktop log on this machine ever mentions that file). So the symlink may be a second-order factor rather than the primary cause.Other per-machine oddities here, in case they correlate for anyone else:
plugins\cache\openai-bundled\chrome\26.1007.21434directory alongside26.1007.71326, and nochrome\latestjunction until I created one by hand — the runtime registry references...\chrome\latest\scripts\browser-client.mjs, andcodex plugin addnever creates that junction.NativeMessagingHostsroot was missing entirely until added by hand (installManifest.mjsonly writes the Chrome root).For reference, the full set of eliminations from my side is in #54036, including that a hand-written, fully valid registry entry (live pid, all nine paths verified to resolve, versions taken from the app's own
browser_use_runtime_paths_selectedlog line) still leaves Computer Use refusing every browser window with "could not determine the current browser URL".jaimelinharesjr commentedon Oct 15, 2026
I completed the comparison against my working Windows machine, and there is a clear correlation with the symlink hypothesis.
Failing machine (JAIMENB):
C:\Users\<user>→ symbolic link toD:\Users\<user>..codexitself is a regular directory, but resides under the redirected profile.C:\Users\<user>\.codex.fs.realpathSync.native()resolves toD:\Users\<user>\.codex.mcpapps; Chrome and IAB are missing.Working machine (JAIMENBA):
C:\Users..codexis also a regular directory.fs.realpathSync.native()returns the same path as the configured path.Both machines have identical Codex Desktop versions (
26.1007.9446.0) and identical SHA-256 hashes for the Browser Client, Browser Service, Extension Host and Codex CLI.This is a strong correlation between path canonicalization differences and the backend discovery failure, but not yet proof of causation. The symlink is at the Windows profile level rather than directly on
.codex.I have not modified or removed the Windows profile symlink. A clean, non-symlinked Windows user profile would be a useful controlled follow-up test.
xzdxjbs commentedon Oct 15, 2026
Confirmed, with a working workaround: making
CODEX_HOMEcanonical restores Chrome/Edge discovery@jaimelinharesjr — your comparison let me turn this from correlation into a tested cause on my machine. Setting
CODEX_HOMEto the canonical path fixes extension-backend discovery.My machine's shape
Unlike yours, the Windows profile here is a regular directory; only
.codexis redirected:So the mismatch was limited to
CODEX_HOMEitself:The fix
Set
CODEX_HOMEto the canonical path so configured ==fs.realpathSync.native():Then restart the desktop app, and restart Chrome and Edge so the extensions relaunch
extension-host.exe.Before vs after
Nothing else was changed. Same app
26.1007.9446.0, same plugins26.1007.71326, same binaries.Before —
agent.browsers.list():(and in earlier runs, only the
mcpappsentry)After:
[ {"family":"edge","id":"1","type":"extension","name":"Edge","profileName":"...","metadata":{"extensionInstanceId":"47079666-..."}}, {"family":"edge","id":"2","type":"extension","name":"Edge","profileName":"...","metadata":{"extensionInstanceId":"03a0af80-..."}}, {"family":"chrome","id":"3","type":"extension","name":"Chrome","profileName":"...","metadata":{"extensionInstanceId":"ebc914a0-..."}} ]So the extension backends are published only when the configured
CODEX_HOMEequals its canonicalized form. That is consistent with your two-machine comparison and makes the defect a path-canonicalization bug rather than anything to do with plugin binaries, registry entries or the native host, all of which were already verifiable as healthy on both of our failing machines.Two things the workaround does not fix
iabis still unavailable.Browser is not available: iabpersists. I cannot fully evaluate this one from a CLI session, since the in-app browser is bound per(windowId, conversationId)route inside the desktop app, so this needs an in-app retest.Computer Use is still hard-blocked on every browser window, with extension discovery now working:
This is the significant part: the URL policy check fails even though
agent.browsersnow publishes Chrome and Edge extension backends on this machine. So the Windows browser-URL determination inurl_policy.rsappears to have a second, independent defect, rather than simply inheriting the discovery failure. Earlier I had also ruled out a stale runtime registry for this (hand-written entry, live pid, all nine paths verified, versions from the app's ownbrowser_use_runtime_paths_selectedline — see Windows: in-app browser never binds to the active conversation (Browser is not available: iab), and Computer Use is hard-blocked on every browser window #54036).Suggested check for anyone else hitting this
If the two differ — whether because
.codexis a junction/symlink, or because the whole profile is redirected as on @jaimelinharesjr's machine — pointingCODEX_HOMEat the canonical path is worth trying.A maintainer-side fix would presumably be to canonicalize
CODEX_HOME(and any path used to key or match backend registration) once at startup, rather than comparing a configured path against a resolved one.jaimelinharesjr commentedon Oct 15, 2026
Update: Chrome browser integration is now working on my Windows machine.
After changing
CODEX_HOMEto the canonical physical path (D:\Users\<user>\.codex), aligning explicit Codex configuration and native-host manifest paths from the symlinkedC:\Users\<user>profile toD:\Users\<user>, and fully restarting Windows, the integration started working.Codex successfully discovered the browser backends, accessed a Chrome tab, and interacted with the website.
My Windows user profile is intentionally symlinked from
C:toD:to save SSD space.This strongly supports a path-canonicalization problem affecting browser backend discovery.
Because I changed both
CODEX_HOMEand explicit paths before rebooting, I cannot determine whether settingCODEX_HOMEalone would have been sufficient on my machine.No plugin reinstall was required, and the Windows profile symlink remains intact.
Status: working after configuration changes and reboot.
xzdxjbs commentedon Oct 15, 2026
@jaimelinharesjr — glad that worked. I can answer the question you left open, because on my machine the variables were separable.
CODEX_HOMEalone was sufficient here, with no OS reboot.What I changed: only the user environment variable.
What I did not do: edit any explicit path by hand, touch the native-host manifest, reinstall a plugin, or restart Windows. I restarted only the desktop app, then Chrome and Edge.
Result, as posted above:
agent.browsers.list()went from[]to three extension backends, andget("chrome")/get("edge")both succeed.The desktop app then aligned the remaining explicit paths by itself. Within a minute of the restart it rewrote
config.toml, and everyC:\Users\<user>\.codexreference is gone:That previously included
NODE_REPL_TRUSTED_CODE_PATHS,NODE_REPL_TRUSTED_SERVICESand the bundled-marketplace sources. So for anyone else hitting this, hand-editing those is probably unnecessary — setCODEX_HOMEto the canonical path and let the app regenerate them.One correction to my earlier model, which may matter for the fix
I previously suspected the stale runtime registry
(
%LOCALAPPDATA%\OpenAI\Codex\chrome-native-hosts-v2.json) was on the discovery path. It is not.On this machine that file is still stale after the fix — last written over a day ago,
presence.piddead, andcodexHomestill recorded as the oldC:\Users\<user>\.codex— and Chrome/Edge discovery works anyway. So these are three independent defects:CODEX_HOMEnot canonicalized → extension backends never published. Fixed by the workaround.The desktop app never rewrites
chrome-native-hosts-v2.json(deleting it and restarting does not recreate it; no desktop log on this machine ever mentions the file). Real, but apparently not blocking discovery.Windows browser-URL determination in
url_policy.rs→ Computer Use still refuses every browser window, with extension backends now published and working:Still open here
iabremains unavailable (Browser is not available: iab) even with Chrome/Edge working. On this machine the in-app browser also exhibits a separate route-ownership problem that I documented in #54036: the browser pane's route gets reassigned from the conversation requesting it to a freshly created unsentclient-new-thread:draft, withownerRoutePathfollowing whatever page the window currently displays.Did
iabcome back for you along with Chrome, or only the extension backends? That would tell us whether the canonicalization bug covers both paths or only extension discovery.jaimelinharesjr commentedon Oct 15, 2026
Update: IAB is fully functional on my machine after the canonical
CODEX_HOMEfix.I performed two consecutive tests in separate turns, both successful.
Test 1:
agent.browsers.list()returnedCodex In-app Browser(id: "2",type: "iab").https://example.comexclusively through IAB.Example Domain.Test 2 (repeat):
id: "2",type: "iab").https://example.comthrough IAB.Example Domain.No Chrome, Edge, or MCP Apps fallback was used, and no settings were changed between tests.
Chrome automation is also working on my machine after the canonical-path changes and Windows reboot.
One detail: Edge was not present in the most recent backend discovery list, so I am not claiming that Edge has been revalidated.
Current results: Chrome automation working, IAB discovery and navigation working consistently across repeated tests.
My setup has the entire Windows user profile symlinked from
C:toD:, whereas your setup has only.codexredirected.I cannot isolate whether
CODEX_HOMEalone was sufficient on my machine because I also aligned explicit configuration paths before rebooting. However, your independent test provides strong evidence that canonicalizingCODEX_HOMEresolves extension backend discovery.The IAB route-ownership issue you reported may therefore depend on additional per-machine or per-session conditions.
AprilGrimoire commentedon Oct 19, 2026
Adding a Linux data point relevant to the
CODEX_HOMEcanonicalization discussion. I previously reported the browser-discovery symptom in #53425.My October 16 reproduction used:
26.1007.71326.The built-in browser had an open tab visible to me, and the agent received ambient context describing it. After initializing the documented Browser runtime:
agent.browsers.get("iab")returnedBrowser is not available: iab.agent.browsers.list()returned only[{"name":"Codex MCP Apps","type":"mcpapps"}], with no IAB or extension backend.Browser is not available: chrome.After reading this thread, I checked my path configuration:
~/.codexis a symlink to a relocated directory.CODEX_HOMEwas unset in the inspected shell, while the configured Node REPL server explicitly uses the symlink path forCODEX_HOME.This gives a concrete similarity to the path mismatch reported here, beyond the matching discovery errors. I have not yet tested a desktop relaunch with canonical
CODEX_HOME, so I cannot confirm the workaround or a shared root cause on Linux.These observations are limited to my Nix-packaged build; I have not performed a clean stock-build comparison.
adamkubat-beep commentedon Oct 19, 2026
Adding a possibly related Windows reproduction on a newer desktop version; I am not claiming the same root cause.
Environment: Windows desktop, personal workspace, application 26.1013.40934 (build 20770, prod), bundled Browser client 26.1013.40934. The supported updater reported up_to_date.
On 19 October 2026, approximately 19:49 Europe/Prague (CEST, UTC+02:00), the built-in browser pane was visible to the user, but the supported agent.browsers.get('iab') call returned:
Browser is not available: iab
Following the bundled bootstrap troubleshooting guidance, discovery exposed only Codex MCP Apps (type mcpapps), not IAB. The primary conversation and a separate diagnostic conversation both encountered missing IAB discovery. The same diagnostic conversation captured genuine IAB screenshots successfully on 5 and 9 October 2026.
Checks completed: the 3 inspected OpenAI/Codex registry policy locations and the documented Windows system requirements file were absent (confirmed outside the execution sandbox). User-supplied chrome://policy screenshots showed no policies in the 4 visible sections. Browser website permissions showed default Browse=Always allow without a visible localhost block. Full CDP remains off; no security settings were changed. Full desktop restart, exact tab mentions and the documented Browser plugin reinstall had already failed to restore access.
These observations do not establish the internal cause or exclude every possible availability restriction. Please investigate IAB backend registration/routing and provide a supported diagnostic or recovery procedure. This blocks UI testing of a local application; no new automated visual-QA success is claimed.
Support/feedback session reference provided by the affected user, who explicitly authorized its public inclusion:
01a1098c-8bed-7343-87a8-57857d6430cc
No business content, personal user paths, credentials, other conversation IDs or raw session logs are included.
TOOOOOOBY-Q commentedon Nov 13, 2026
I reproduced the Edge extension discovery failure on a newer Windows build and verified that the
CODEX_HOMEworkaround restored browser control.Environment: Windows 11 x64 (build 26200), ChatGPT desktop
26.1106.51428(MSIX26.1106.6628.0), and the ChatGPT extension from Microsoft Edge Add-ons1.26.1021.11019. The default%USERPROFILE%\.codexpath was an NTFS junction to the existing data directory, andCODEX_HOMEwas unset.Before: The Edge sidebar loaded and the bundled extension and native-host checks passed. In the desktop chat,
cua.listBrowsers()listed only Codex MCP Apps, and opening a tab with@Edgefailed withBrowser is not available: edge. Reinstalling the bundled Chrome plugin, switching to the Edge store extension, Windows app Repair, and a full reboot had already failed to restore discovery.After: I set the Windows user-level
CODEX_HOMEto the junction's resolved target and fully reopened ChatGPT and Edge.@Edgethen openedexample.comthrough the Edge extension, read the page title, followed a link, and entered text into a web search field. The junction stayed in place. This test covers the external Edge extension path.Could the desktop app resolve the effective Codex home to its canonical path before browser provider discovery? A regression test with an unset
CODEX_HOMEand a junction at the default path would cover this setup.ziyoumylife-beep commentedon Nov 15, 2026
Additional Windows reproduction on 2026-11-15: the built-in browser opens manually, but the supported Browser API still discovers only MCP Apps.
Environment
26.1111.2228.0.26.1111.21308.@oai/browser-desktopinterface usingsetupBrowserRuntime().Reproduction
agent.browsers.list()returns onlyCodex MCP Apps(type: "mcpapps").agent.browsers.get("iab")returnsBrowser is not available: iab; no page content is obtained.Verified observations
browserPane=true,available=true. An earlier transient false state is not the diagnosis.getInfocompletes and returns matching session metadata.chrome,iab,mcpapps, with build flavorprod.in_app_browser,browser_use,browser_use_external, andcomputer_useas enabled.Fresh-chat comparisons, JS-kernel resets, and full application relaunches have not restored control. A manual service-entry alignment was also attempted, but the app restored its generated entry on startup; subsequent integrity checks matched the installation source. This is not evidence that the generated service entry is faulty.
Could maintainers provide diagnostics for the discovery/filtering stage after successful
getInfo, including the candidate type, discovery scope, session/build-flavor match results, allowed backend list, and the exact exclusion condition? The available API exposes only the final unavailable error.Root cause remains unconfirmed; no shared cause with other reports is asserted. No session-identity, signature, website-permission, proxy, or system-security checks were bypassed. This comment contains no account/chat identifiers, private URLs or paths, credentials, or raw logs.