Skip to content

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

Open

Description

@xzdxjbs

Bug report: the in-app browser never binds to the active conversation, and the Chrome/Edge native-host runtime registry is never written

Environment

Item Value
OS Windows 11 Home China, 10.0.26200, x64, locale zh-CN
Codex desktop app 26.1007.9446.0 (Store package OpenAI.Codex_..._2p2nqsd0c76g0)
Codex CLI 0.162.1 (standalone install)
Bundled plugins browser / chrome / computer-use all 26.1007.71326, installed + enabled
CODEX_HOME C:\Users\<user>\.codex, which is a symlink to D:\Codex\.codex
Default browser Microsoft Edge
Extension hehggadaopoacecdllhhajmbjkdcmajg installed + enabled in both Chrome and Edge (Default profile)

Relevant feature flags (codex features list) are all enabled: browser_use,
browser_use_external, computer_use, in_app_browser.

The app's own availability state machine resolves to the success state:

browser_use_availability_resolved available=true browserPane=true
  platform=Windows reason=available release=26.1007.71326

So this is not a gating / entitlement / settings problem. Decoded from app.asar, the
other possible reasons would have been statsig-disabled, browser-pane-disabled,
config-requirement-disabled or wsl-disabled. None of those is reported.


Issue 1 - the in-app browser route is reassigned to an unsent "new chat" draft

agent.browsers.get("iab") fails in the conversation the user is actually typing in.
Two distinct failure modes are observed.

1a. Route stolen by a client-new-thread: draft

Every attempt produces this sequence in the desktop app log. The route is taken from the
real conversation and handed to an unsent new-chat draft:

IAB_LIFECYCLE received browser sidebar owner sync
    conversationId=client-new-thread:85bc1bb7-280d-41ea-9429-566756fd062f
IAB_LIFECYCLE reassigned browser use route
    sourceConversationId=01a13b39-24c2-7ef0-9407-9aab3d8b8f06   <- the real conversation
    targetConversationId=client-new-thread:85bc1bb7-280d-41ea-9429-566756fd062f
IAB_LIFECYCLE iab backend info request failed
    conversationId=01a13b39-24c2-7ef0-9407-9aab3d8b8f06
    errorMessage="No ChatGPT browser route is available for browser session 01a13b39-..."
IAB_LIFECYCLE created browser use host
    conversationId=client-new-thread:85bc1bb7-...
    routeKey=1:client-new-thread:85bc1bb7-...
IAB_LIFECYCLE ended browser use session activity
    conversationId=01a13b39-24c2-7ef0-9407-9aab3d8b8f06

The same pattern repeats with different draft ids (c5896cf5, 60c87272, 967bcc59,
766a9dc0, 85bc1bb7): each time the app creates a fresh draft, the draft takes the pane.

Some getInfo calls for the same conversation succeed while adjacent ones fail, so the
binding is also flapping:

iab backend info request completed  conversationId=01a13b39-...  metadataCodexSessionId=01a13b39-...
iab backend info request failed     conversationId=01a13b39-...  "No ChatGPT browser route is available"

1b. iab absent from browsers.list() entirely

In other attempts no iab backend is started for the new conversation at all, and the agent
gets:

Browser is not available: iab

In one session this was called 23 times, all of them before the app started an iab
backend for that conversation. The backend only became ready about 2.5 hours later, when
the browser sidebar happened to be bound to it.

What was tried, with no effect

  • Sending a message first so the conversation has a real id, then opening the Browser pane
  • Opening the Browser pane first, then asking
  • Loading a real page in the pane rather than leaving it blank
  • Using the documented [@Browser](plugin://browser@openai-bundled) plugin mention
  • Reducing to a single app window (logs had shown both windowId=1 and windowId=3)
  • Reinstalling the Browser plugin from the app's plugin UI
  • Restarting the app repeatedly

The provider side is healthy throughout: browser_use_iab_backend_startup_ready is logged
with a pipe path, and all \\.\pipe\codex-browser-use* pipes accept connections (verified
by connecting to all 14 of them directly). The failure is purely the
(windowId, conversationId) route binding.


Issue 2 - chrome-native-hosts-v2.json is never rewritten, so Computer Use cannot read a browser URL

%LOCALAPPDATA%\OpenAI\Codex\chrome-native-hosts-v2.json is the runtime registry that
extension-host.exe reads to find a live Codex runtime. Both app.asar and
extension-host.exe contain that filename; codex.exe does not, so only the desktop app
writes it.

On this machine its single entry is stale, last written 2026-10-14 09:54 local:

appVersion : 26.1007.21434
entryId    : codex-runtime-b097ad1c296eb4c397931a8d229997df
presence   : pid 19348, lastSeenAt 2026-10-14T01:53:36Z
extensionHostPath : C:\Program Files\WindowsApps\OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0\...\extension-host.exe
browserClientPath : C:\Users\<user>\.codex\plugins\cache\openai-bundled\chrome\latest\scripts\browser-client.mjs

Problems with that entry:

  1. presence.pid 19348 is dead.
  2. extensionHostPath points into app package 26.1007.2314.0, which the update to
    26.1007.9446.0 removed, so the path does not resolve.
  3. browserClientPath references ...\chrome\latest\scripts\, but nothing creates the
    latest junction (see secondary findings), and since 26.1007.71326 the chrome plugin
    ships no scripts/ directory at all.

The app never rewrites it

  • Restarting the app 4+ times, including after the update to 26.1007.9446.0: file untouched.
  • Deleting the file and restarting the app: it is not recreated.
  • Reinstalling the Browser plugin from the app's plugin UI: it is not recreated.
  • Across every desktop log on this machine, the strings chrome-native-hosts,
    codex-runtime-, entryId, installId and nativeHostVersion have zero hits, so
    the write path is silent and apparently never runs.

extension-host.exe processes do start when Chrome or Edge launches (confirmed by
process start times matching browser launches), so the Chrome/Edge side of native
messaging works. The host simply has no live runtime to connect to.

Observable consequence: Computer Use is hard-blocked on all browser windows

Computer Use itself is healthy. sky.list_windows() returns windows, and screenshots,
clicks and accessibility trees all work on non-browser apps. But any interaction with a
browser window fails with:

Computer Use has been stopped for this turn because it could not determine the current
browser URL on Windows with enough confidence to enforce policy. Stop your work and
send a final message noting why Computer Use ended.

(from src/policy/url_policy.rs in codex-computer-use.exe; this is the "supported
browser, URL unreadable" variant, not the "browser not supported" variant.) Since the
policy check needs the extension to report the URL, and the extension has no route to a
live runtime, every browser task is refused. This makes Computer Use unusable for web work.


Secondary findings (genuine gaps, worked around locally)

  1. plugins\cache\openai-bundled\chrome\latest is never created.
    The runtime registry references ...\chrome\latest\scripts\browser-client.mjs and
    browser-service.mjs, but codex plugin add only copies files and creates no junction,
    and no plugin directory on this machine ever had a latest entry. After an update the
    junction also goes stale. Creating it by hand makes those paths resolve.

  2. The Edge NativeMessagingHosts registry root is never written.
    installManifest.mjs registers only HKCU\Software\Google\Chrome\NativeMessagingHosts,
    but Edge reads HKCU\Software\Microsoft\Edge\NativeMessagingHosts. With the extension
    installed and enabled in Edge, it could never reach the native host. Adding the Edge key
    made Edge spawn extension-host.exe on launch. For comparison, another vendor's
    extension on this machine registers under both roots.

  3. codex plugin remove/add does no wiring.
    It does not create latest, does not write extension-host-config.json, does not touch
    the manifest, and does not refresh the runtime registry. Worth documenting, because
    docs/chrome-troubleshooting.md tells users to reinstall the Browser plugin - but the
    app UI reinstall did not refresh the registry either.

  4. A symlinked CODEX_HOME breaks .mjs MCP servers.
    With C:\Users\<user>\.codex symlinked to D:\Codex\.codex, Node resolves
    import.meta.url to the real path (file:///D:/...) while
    pathToFileURL(process.argv[1]) keeps file:///C:/.... The common main-module guard

    if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) await runStdio();
    

    is therefore never true, the server exits 0 without serving, and Codex reports
    MCP server startup failed: connection closed: initialize response. Resolving the
    configured path through the symlink, or comparing real paths, would avoid this.


Elimination tests (both negative) - please do not re-suggest these

A stale runtime registry is NOT the (only) cause of the Computer Use block

To rule out the stale registry, chrome-native-hosts-v2.json was rewritten by hand with
fully valid, live values, taken from the app's own log line
browser_use_runtime_paths_selected:

appVersion / cliVersion / nativeHostVersion = 26.1007.71326
presence.pid       = the live desktop app main process (verified ALIVE)
presence.*         = current timestamps
codexCliPath       = ...\OpenAI\Codex\bin\9614f1d9b40d9c4f\codex.exe
nodePath           = ...\runtimes\cua_node\a9ba6825a525118c\bin\node.exe
nodeReplPath       = ...\runtimes\cua_node\a9ba6825a525118c\bin\node_repl.exe
nodeModuleDirs[0]  = ...\runtimes\cua_node\a9ba6825a525118c\bin\node_modules
extensionHostPath  = <current 26.1007.9446.0 package>\...\extension-host.exe
browserClientPath  = ...\browser\26.1007.71326\scripts\browser-client.mjs
browserServicePath = ...\browser\26.1007.71326\scripts\browser-service.mjs

All nine paths were verified to resolve, and the pid was verified alive at test time.
Chrome and Edge were then both fully restarted, and three extension-host.exe processes
spawned and stayed alive.

Computer Use still fails with the identical error. So the browser URL cannot be
determined even with a valid, live registry entry and a working native-messaging
transport. Something else in the URL-determination path is failing.

(Note: the registry has since been restored to the original app-written content, so the
machine reflects the real defect rather than the synthetic test entry.)

The "keep the pane bound to an existing conversation" workaround does NOT fix iab

Derived from ownerRoutePath in the logs, the sidebar owner follows whatever page the
window is currently displaying:

ownerRoutePath=/local/01a137a8-...        -> route bound to that conversation
ownerRoutePath=/settings/plugins-settings -> route rebound to a client-new-thread draft
ownerRoutePath=/settings/browser-use      -> route rebound to a client-new-thread draft
ownerRoutePath=/                          -> route rebound to a client-new-thread draft

So the test was repeated in an existing conversation, in a single window, without ever
opening a new chat or a settings page, with a real page loaded in the pane first.

agent.browsers.get("iab") still returns Browser is not available: iab.

What would help

  • Issue 1: do not let a client-new-thread: draft take the browser route away from a
    conversation that is requesting it, or expose a way to pin the pane to the active
    conversation.
  • Issue 2: make the desktop app rewrite chrome-native-hosts-v2.json on startup, and
    at minimum when the file is missing or when its extensionHostPath no longer resolves
    after an app update. Note from the elimination test above that this alone is unlikely to
    be sufficient for the Computer Use URL check - that path appears to have a second defect.
  • Diagnostics: the URL-determination failure in url_policy.rs reports only
    "could not determine ... with enough confidence". Logging which source was consulted
    (extension channel, UI Automation, CDP) and why it was rejected would make this
    self-serviceable.

Activity

  1. added
    bug
    app
    windows-os
    on Oct 14, 2026
  2. xzdxjbs commented on Oct 15, 2026

    @xzdxjbs
    Author

    Confirmed, with a working workaround: making CODEX_HOME canonical restores Chrome/Edge discovery

    @jaimelinharesjr — your comparison let me turn this from correlation into a tested cause on my machine. Setting CODEX_HOME to the canonical path fixes extension-backend discovery.

    My machine's shape

    Unlike yours, the Windows profile here is a regular directory; only .codex is redirected:

    C:\Users\<user>          LinkType=            (regular directory)
    C:\Users\<user>\.codex   LinkType=Junction    Target=D:\Codex\.codex
    

    So the mismatch was limited to CODEX_HOME itself:

    configured : C:\Users\<user>\.codex
    realpath   : D:\Codex\.codex          <- different
    

    The fix

    Set CODEX_HOME to the canonical path so configured == fs.realpathSync.native():

    [Environment]::SetEnvironmentVariable('CODEX_HOME','D:\Codex\.codex','User')
    configured : D:\Codex\.codex
    realpath   : D:\Codex\.codex          <- now identical
    

    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 plugins 26.1007.71326, same binaries.

    Before — agent.browsers.list():

    []

    (and in earlier runs, only the mcpapps entry)

    chrome = ERR: Browser is not available: chrome
    edge   = ERR: Browser is not available: edge
    

    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-..."}}
    ]
    chrome = OK (browserId 3)
    edge   = OK (browserId 1)
    

    So the extension backends are published only when the configured CODEX_HOME equals 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

    1. iab is still unavailable. Browser is not available: iab persists. 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.

    2. Computer Use is still hard-blocked on every browser window, with extension discovery now working:

      Computer Use has been stopped for this turn because it could not determine the current
      browser URL on Windows with enough confidence to enforce policy.
      

      This is the significant part: the URL policy check fails even though agent.browsers now publishes Chrome and Edge extension backends on this machine. So the Windows browser-URL determination in url_policy.rs appears 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 own browser_use_runtime_paths_selected line — 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

    $p = "$env:USERPROFILE\.codex"
    node -e "const fs=require('fs');const p=process.argv[1];console.log('configured:',p);console.log('realpath  :',fs.realpathSync.native(p))" $p

    If the two differ — whether because .codex is a junction/symlink, or because the whole profile is redirected as on @jaimelinharesjr's machine — pointing CODEX_HOME at 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.

  3. beck-zhuo commented on Oct 15, 2026

    @beck-zhuo

    Additional desktop reproduction: fresh task also fails after formal route capture

    Submitted with Codex assistance at the affected user's explicit request. This adds evidence from desktop tests on 2026-10-16 (Asia/Shanghai); it does not assert that all symptoms have one root cause.

    Verified environment

    • Windows 11 Home Chinese edition, version 10.0.26200, build 26200.
    • Desktop app reports version 26.1007.71326, build 20398, production channel; its update check returned up_to_date. Windows Store package version is separately 26.1007.9446.0.
    • Browser and Computer Use bundled plugins: 26.1007.71326.
    • Edge is running. Bundled installation diagnostics report extension installed/enabled, no disable reasons, and native-host manifest correct, with matching registry path and no missing expected origins.

    Reproduction in the desktop app

    1. Enable the in-app Browser and open a normal web application in its visible sidebar.
    2. In a local desktop task, use the currently bundled Browser skill's prescribed browser-client bootstrap and request the in-app backend.
    3. Observe Browser is not available: iab. Discovery returns only an entry named Codex MCP Apps, type mcpapps, whose session metadata matches the task. This entry is not the ordinary web-browser backend.
    4. Create and initialize a fresh local project task, navigate to that task, and open its Browser sidebar. Repeat the documented bootstrap and discovery.
    5. Observe the same failure in the fresh task. The target page's title, DOM and authenticated state cannot be read.

    Supported panel-open requests also remained queued. No website authentication was attempted by the agent.

    New evidence: a temporary draft ID mismatch is not a sufficient explanation

    The original task had sidebar ownership registered under a client-new-thread:<draft-id> while the visible owner route used the real local task ID. However, the fresh task also failed after logs showed its formal task ID on both route capture and sidebar ownership.

    Sanitized desktop log sequence, UTC on 2026-10-15 (all <fresh-task> placeholders refer to the same actual task):

    21:53:58Z  webview captured browser use session route
                  conversationId=<fresh-task> disposeAfterSessionActivity=false
    21:53:58Z  received browser use session route capture
                  conversationId=<fresh-task>
    21:58:56Z  received browser sidebar owner sync
                  conversationId=<fresh-task> ownerRoutePath=/local/<fresh-task>
                  browserTabId=<redacted>
    22:01:49Z  iab backend info request received
                  conversationId=<fresh-task> request=getInfo
    22:01:49Z  iab backend info request failed
                  errorMessage="No ChatGPT browser route is available for browser session <fresh-task>"
    

    The existing task produced the same missing-route error at 22:02:35Z. The stack includes ensureBrowserUseSessionRoute followed by getInfo in the desktop main bundle. These are event observations, not proof of the internal cause.

    Separate Windows Computer Use failure

    Edge window enumeration and obtaining a window handle succeed. After activating the browser, requesting window state with screenshot/text stops the turn with:

    Computer Use has been stopped for this turn because it could not determine the current browser URL on Windows with enough confidence to enforce policy.
    

    This persisted after extension/native-host installation checks passed. The agent respected the stop and did not bypass the URL check. Its relationship to the in-app route failure is unproven.

    Expected behavior / requested investigation

    An initialized desktop task with a visible, bound Browser sidebar should be able to discover its in-app backend, or receive an actionable recovery error. Please investigate why a recorded route capture and matching formal sidebar owner are followed by a missing-route error, including lifecycle disposal or owner synchronization if applicable. Please also improve diagnostics for Windows browser URL determination.

    This report contains sanitized error excerpts only: no business URLs, page content, credentials, cookies, raw session transcripts, or private task IDs. It supplements this issue rather than creating a duplicate. No app source, browser profile or authentication storage was edited during these desktop tests.

  4. xzdxjbs commented on Oct 15, 2026

    @xzdxjbs
    Author

    @beck-zhuo — independent corroboration from this machine, and it lets me retract the draft-ID explanation I originally put in this issue.

    Your fresh-task evidence (formal task ID on both route capture and sidebar ownership, still No ChatGPT browser route) matches what I now see here from the opposite direction.

    Same conclusion via a different route

    In #53912 we established that extension-backend discovery was failing because CODEX_HOME was reached through a junction, so the configured path did not equal fs.realpathSync.native(). Setting CODEX_HOME to the canonical path fixed Chrome and Edge here:

    before: agent.browsers.list() -> []            chrome/edge = not available
    after : agent.browsers.list() -> 3 backends    chrome = OK, edge = OK
    

    The relevant part for this issue: after that fix, the draft-reassignment behaviour I had described stopped entirely, while the missing-route failure did not. Desktop log counts for the app instance started after the fix:

    reassigned browser use route          0      <- was constant before the fix
    iab_backend_startup_ready             6
    created browser use host              3
    No ChatGPT browser route             24
    iab backend info request completed     0
    iab backend info request failed       24
    browser_use_availability_resolved available=true browserPane=true
    

    So on this machine the client-new-thread:<draft-id> reassignment was a side effect of the path-canonicalization bug, not the cause of the route failure. With it gone, iab is still unavailable. That independently supports your statement that a temporary draft-ID mismatch is not a sufficient explanation, and it means the earlier framing in this issue was wrong. Sorry for the noise it may have caused.

    Current best split of the symptoms

    Three apparently independent defects, from the evidence in this issue and #53912:

    1. CODEX_HOME not canonicalized → extension backends (Chrome/Edge) never published. Has a working workaround; confirmed fixed on two machines (@jaimelinharesjr's and mine), where it also restored iab on @jaimelinharesjr's machine after a full Windows reboot.
    2. iab route lifecycle → ensureBrowserUseSessionRoute records a capture, sidebar ownership matches the formal conversation id, availability resolves to available=true browserPane=true, and getInfo still reports no route. Reproduced on at least three machines. Not explained by canonicalization, since it persists here after the canonical fix.
    3. Windows browser-URL determination → Computer Use refuses every browser window, even with Chrome/Edge extension backends published and working on this machine. Also independent of the stale runtime registry, which I ruled out separately with a hand-written valid entry (live pid, all nine paths verified to resolve).

    One asymmetry that may be a clue

    @jaimelinharesjr reported iab fully working after the canonical fix plus a full Windows restart. Here, with the canonical fix and the CodexSandboxService.OpenAI.Codex service restarted (it had been running since before the environment change, so it held the stale environment) but without an OS reboot, Chrome/Edge work and iab does not.

    If anyone hitting defect 2 can report whether an OS reboot after canonicalizing CODEX_HOME restores iab, that would separate "needs a fully refreshed environment" from "independent route-lifecycle bug".

    @beck-zhuo — was CODEX_HOME on your machine a real directory, or reached through a junction/symlink? Worth checking even though your .codex may look ordinary, since on @jaimelinharesjr's failing machine the redirection was at the Windows profile level:

    node -e "const fs=require('fs');const p=process.env.CODEX_HOME||(process.env.USERPROFILE+'\\.codex');console.log('configured:',p);console.log('realpath  :',fs.realpathSync.native(p))"
  5. jaimelinharesjr commented on Oct 16, 2026

    @jaimelinharesjr

    [Community Fix] Codex Desktop Browser Integration — Universal Windows Repair Script

    Hi everyone,

    After extensive troubleshooting of Codex Desktop's Chrome/Edge browser integration on Windows, I developed a PowerShell-based repair utility that consolidates several fixes and diagnostic procedures into a single automated script.

    Download: Codex-Browser-Repair.zip

    powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Codex-Browser-Repair.ps1

    What the repair utility does

    The Codex Browser Repair Universal includes:

    • Automatic detection of the Windows UI language (English, Portuguese, Spanish, and French).
    • Compatibility designed for Windows PowerShell 5.1 and PowerShell 7.
    • Automatic resolution of symbolic links and canonical CODEX_HOME paths.
    • Repair and validation of Codex configuration paths.
    • Validation of Chrome/Edge Native Messaging Host manifests and registry entries.
    • Detection and repair of missing or broken latest plugin junctions.
    • Validation and conservative repair of V2 native-host manifests.
    • Preservation of potentially historical runtime entries instead of deleting them automatically.
    • SHA-256 integrity diagnostics for available Codex CLI and Node/CUA runtime files.
    • Detection of an issue in the official Native Host checker on localized Windows installations.
    • Automatic configuration backups, structured diagnostic reports, and ZIP support bundles.

    The script runs automatically without requiring command-line flags or manual environment-variable configuration.

  6. dyjahb commented on Oct 18, 2026

    @dyjahb

    Additional reproduction on current Windows production build — request for a supported, data-preserving recovery

    Posted with the affected user's explicit authorization on 2026-10-19. This adds a newer-build reproduction to this existing issue, rather than opening a duplicate.

    Environment and verified observations

    • Windows desktop Store package: 26.1013.4894.0; desktop/browser component: 26.1013.40934, production channel. The in-app updater returned up_to_date.
    • The official Browser plugin is installed and enabled. Its 384 files were checked against the same installed official package. Browser cache and local bundled-marketplace Browser files now match the package byte-for-byte; original files were backed up locally.
    • Browser runtime initialization succeeds. agent.browsers.get("iab") returns Browser is not available: iab. Discovery returns only Codex MCP Apps, not an ordinary browser.
    • The desktop log records browser availability as available=true browserPane=true and an IAB backend startup-ready event for the requesting task.
    • The IAB getInfo request reaches the desktop process, then fails with:
      No ChatGPT browser route is available for browser session <redacted-task>.
    • A formal-task route capture and later session-activity-end events are present, with disposeAfterSessionActivity=false. Sidebar ownership also shows a temporary client-new-thread:<redacted> identifier while the visible owner route names the formal task. We do not assume that mismatch alone proves the root cause.
    • Read-only inspection of the installed bundle localizes the rejection to ensureBrowserUseSessionRoute, whose callback delegates to canServeSession. We cannot tell which backend-instance/session/window-route check fails without better supported diagnostics. No installed source was modified.

    Recovery already attempted and limits of the evidence

    • A confirmed normal desktop restart and restoration of the current official Browser files did not restore page access. We will not continue repetitive restart/reinstall trials.
    • The default Codex-home entry is an NTFS directory junction to an existing physical directory on another drive.
    • The explicit node_repl environment's CODEX_HOME was changed to that existing canonical directory. A process-scoped canonical-home desktop launch was attempted, but the current desktop PID differs from the launch receipt; actual inheritance by the currently running desktop has not been verified. Therefore this is not a controlled claim that a fully canonicalized desktop environment failed.
    • The configured bundled-marketplace source already uses the physical target path. The browser and browser/sessions children themselves are ordinary directories.
    • No directory was moved, browsing data cleared, chat/project database edited, security policy weakened, or account login repeated. No private browser RPC/CDP workaround was used.

    Questions for maintainers

    1. Is there a supported production-build action to rebind/recreate only the current task's IAB backend and window/session route, preserving existing chats, browser sign-in, saved permissions, and project files?
    2. Which redacted diagnostic event or supported command distinguishes stale backend-instance rejection from session-ID association failure and missing/disposed window-route ownership in canServeSession?
    3. If a canonical CODEX_HOME is required, how can the effective value used by the already-running desktop and browser helpers be verified without dumping process environments or authentication data? What is the smallest required change and activation step?
    4. Is there a released fixed production build for this exact failure? Please describe its affected components, data/sign-in implications, and rollback procedure. If an unavoidable restart is required after a substantive fix, please identify why and which process, rather than requesting repeated unchanged restarts.

    This comment deliberately contains no full chat transcript, project material, business-site URL/page content, username/local path, private task/browser/pipe ID, account identifier, token, key, cookie, or login information. No raw logs or attachments are uploaded.

  7. dyjahb commented on Oct 18, 2026

    @dyjahb

    Important diagnostic refinement to the preceding reproduction

    Further read-only correlation shows that treating the route-missing warning as the entire discovery failure is not justified. In the same discovery attempt, the desktop logs one IAB getInfo failure followed immediately by another IAB getInfo completion, whose metadataCodexSessionId equals the requesting formal task ID. Both app-created IAB pipe names recorded at startup still exist; no private pipe IDs are included here.

    The documented tool's current x-codex-turn-metadata.session_id, metadata thread_id, and request threadId were compared locally with the formal task ID: all match, with thread_source=user. No IDs are published. Discovery nevertheless exposes only MCP Apps.

    Read-only inspection of the unchanged official Browser service shows additional processing after backend getInfo, including full-CDP configuration inspection and discovery eligibility checks (session/build-flavor matching and available-backend filtering). We have not obtained the live rejection reason and are not asserting which of these fails. We did not disable or bypass any check.

    Please provide a supported way to obtain the existing browser_use_backend_discovery_failed diagnostic fields (especially failures, discovered IAB candidate count, and candidate session/build-flavor matching) locally and redacted. This would distinguish an expected rejection of a different task's backend from rejection of the requesting task's successfully responding backend. Please also confirm a supported repair for the resulting specific condition without clearing browser state, editing chats/projects, or repeating unchanged restarts.

    No raw logs, private IDs, paths, credentials, account data, or site contents are attached.

    Further diagnostic availability check: in the unchanged bundled service, the detailed browser_use_backend_discovery_failed record is emitted through the analytics client's logEvent; we found no corresponding record in the local desktop logs or local diagnostic log database. The public tool context does not expose that telemetry sink or the effective backend environment values. Please provide an officially supported local diagnostic output for those existing fields; we will not patch the service or bypass discovery/security checks to collect them.

    Error reporter traced to the concrete ingestion sink

    Read-only inspection now resolves the reporter all the way to T3: EF installs JD(errorReporter.captureException.bind(errorReporter)); T3.captureException calls the bundled Sentry SDK, whose explicit transport POSTs envelopes via the privileged runtime fetch to the configured Sentry ingest endpoint. The bundled configuration identifies Sentry project 4511236780326912, environment production, Browser release 26.1013.40934. The concrete transport uses the SDK's in-memory promise buffer, with no filesystem persistence in this reporter implementation.

    For the existing reproduction, the desktop records successful formal-task IAB getInfo completions around 2026-10-18 19:24:12–19:24:21 UTC, and 19:34:41 UTC, while browser discovery still omits IAB. Please correlate your Sentry project for that release/time window and the browser_use_backend_discovery_failed analytics records. A successful getInfo does not prove an exception occurred: eligibility filtering can also omit a candidate without throwing, and the route-missing sentinel is deliberately excluded from exception capture. Please return the specific post-handshake failure or actual eligibility mismatch, rather than assuming the other pipe's route warning is causal.

    We do not have access to your private Sentry event data. No credentials, private task/pipe IDs, raw logs, account details, or project/site content have been sent; we have not modified the reporter, intercepted traffic, changed security, or restarted the app.

  8. kieransimkin commented on Oct 19, 2026

    @kieransimkin

    Possibly related: installed Chrome/Edge extensions unavailable to Browser runtime on Windows 10

    Observed on 19 October 2026 with Store package OpenAI.Codex_26.1013.4894.0_x64 and Browser plugin/runtime 26.1013.40934.

    The user-supplied Settings > Computer use screenshot shows Google Chrome: Browser extension installed, Manage, and the browser toggle enabled. The user subsequently installed Edge's extension. Both browser process groups were running. The screenshot predates Edge installation; Edge's installed state is user-reported.

    Using the documented Browser runtime and exact family selectors in the same chat:

    agent.browsers.get("chrome") -> Browser is not available: chrome
    agent.browsers.get("edge")   -> Browser is not available: edge
    agent.browsers.list()        -> []
    

    The plugin's documented native-host checker reported its expected com.openai.codexextension manifest and Chrome registration missing. Independent read-only checks also found the expected manifest and both Chrome/Edge NativeMessagingHosts registrations absent. This is evidence about the plugin's expected installation wiring, not proof of the complete cause. The runtime registry discussed in this issue was not inspected or rewritten.

    There was concurrent app-server queue saturation, now documented under #55151. Plugin inventory, MCP catalog and app-mention discovery expired during that backlog. The user later reported the visible queue timeout stopped; extension recovery has not been verified. Queue backpressure could contribute to discovery failure, but that relationship is unproved.

    No profiles, cookies, credentials or session stores were inspected; no registry edits, native-host install scripts, manual transport changes, process termination or app restart were attempted. The in-app browser was deliberately not used because #55159 remains unresolved. A minimal example.com navigation/title task remains blocked before tab creation.

    This is potentially corroborating evidence from a different Windows/app version, not a claim that every mechanism in this issue has been reproduced. Please investigate why Settings reports installation success while the documented provider discovery exposes neither external browser, and provide a supported connection diagnostic/repair route.

    Screenshot and bounded diagnostic evidence are retained in the local feedback package. The latest user-reported weekly allowance is 9%, with ongoing impact from repeated diagnosis; usage attribution remains unverified. Feedback ID: 01a136cf-cc28-7752-bf95-91ab6f040675.

  9. dyjahb commented on Oct 19, 2026

    @dyjahb

    Windows: IAB backend starts and answers getInfo, but iab is never selectable — Browser is not available: iab

    Environment

    • Codex desktop 26.1013.4894.0 (OpenAI.Codex_2p2nqsd0c76g0), Windows 11 22631, x64
    • Browser plugin in use: openai-bundled/browser/26.1013.40934 (release=26.1013.40934)
    • CODEX_HOME on another drive; %USERPROFILE%\.codex is a junction to it (data not on C:)
    • Not a fresh install: the profile was migrated between machines

    Symptom

    agent.browsers.list()      → only one entry:
                                 { id: "1", type: "mcpapps", name: "Codex MCP Apps",
                                   metadata: { codexSessionId: "<conversation-id>" } }
    agent.browsers.get("iab")  → Error: Browser is not available: iab
    

    The IAB backend is running and does answer getInfo, but it never appears in the list.
    Opening the IAB pane manually (View → Switch between Chat and tabs, Ctrl+Alt+B) renders
    fine (new tab page, address bar, suggestions) — it just never becomes selectable by the agent.

    What I verified locally (read-only)

    All four codex-browser-use-* named pipes exist; backend startup is logged normally:

    [browser-session-registry] browser_use_iab_backend_startup_ready
      backend=iab platform=win32 release=26.1013.40934
      pipePath=\\.\pipe\codex-browser-use-<A>
      sessionId=client-new-thread:<uuid>
    
    [browser-session-registry] browser_use_iab_backend_startup_ready
      backend=iab platform=win32 release=26.1013.40934
      pipePath=\\.\pipe\codex-browser-use-<B>
      sessionId=<conversation-id>
    

    In the same discovery pass, getInfo both fails and succeeds for the same conversation:

    IAB_LIFECYCLE iab backend info request failed
      conversationId=<conversation-id> request=getInfo turnId=<turn>
      errorMessage="No ChatGPT browser route is available for browser session <conversation-id>"
      at tje.ensureBrowserUseSessionRoute
      at tje.getInfo
    
    IAB_LIFECYCLE iab backend info request completed
      conversationId=<conversation-id> request=getInfo turnId=<turn>
      metadataCodexSessionId=<conversation-id>
    

    Effective environment of the running node_repl (read from the live process, not from config):

    BROWSER_USE_AVAILABLE_BACKENDS             = chrome,iab,mcpapps
    BROWSER_USE_CODEX_APP_BUILD_FLAVOR         = prod          (matches app buildFlavor=prod)
    BROWSER_USE_CODEX_APP_VERSION              = 26.1013.40934
    BROWSER_USE_BACKEND_PATHS                  = <unset>
    CDP_BROWSER_BACKEND_PIPE_PATH              = <unset>
    BROWSER_AUTH_EVAL_EXACT_CDP_BACKEND_SOCKET = <unset>
    BROWSER_USE_SECURITY_MODE                  = <unset>
    

    So: backends are allowed, pipes exist, the build flavor matches, and no pipe pinning is set.
    The turn is not a subagent turn and the session id matches the conversation id.

    Why none of the documented filters can explain it

    Reading browser-service.mjs:

    • sre() keeps iab and mcpapps identically (discoveryScope = session for both); the
      flavor sub-condition is skipped because the MCP Apps candidate carries no
      metadata.codexAppBuildFlavor and still passes.
    • ure() uses BROWSER_USE_AVAILABLE_BACKENDS, which contains iab.
    • fre() / hre() never drop a candidate (ji("mcpapps") === false short-circuits fre;
      ji("iab") === true but fullCdpAccessState() returns {enabled:false} rather than throwing).

    That leaves pre() — connect + mre() (getInfo, qF, fre, hre) — as the only stage that
    can drop IAB while keeping MCP Apps. So the IAB candidates are failing inside pre(), and the
    reason is stored in h.failures / h.pipeListingError.

    Why I can't narrow it further from here

    • rf() reports browser_use_backend_discovery_failed via pn.client.logEvent(...) only; when
      the telemetry client is absent it does nothing and writes nothing.
    • logs_2.sqlite (44,279 rows) contains zero browser rows.
    • globalThis.nodeRepl.telemetry is undefined, so the browser_use.browser.connect /
      browser_use.browser.handshake spans can't be observed.
    • The official entry points (setup, execute, executeWithRecovery) and
      agent.browsers.list/get/getDefault/getForUrl all return the already-filtered result. There is
      no raw, includeRejected, or failures option.
    • nodeRepl.env in the ordinary execution context is not provably the same t.env the trusted
      service reads, so the allow-list check can't be confirmed from the service's own view.

    Request (any one of these unblocks it)

    1. In IAB_LIFECYCLE iab backend info request failed, log the concrete reason from
      ensureBrowserUseSessionRoute — missing sessionRoutes entry, canServeSession() returning
      false, or a dead window/owner. Right now only the error text is logged.
    2. In IAB_LIFECYCLE iab backend info request completed, also log
      metadata.codexAppBuildFlavor and metadata.codexAppSessionId (only codexSessionId is logged).
    3. Persist browser_use_backend_discovery_failed locally, or keep rejected candidates (with their
      failure strings) in the list_browsers response.

    Any one of these makes "the agent can't select iab" diagnosable without guesswork.

    Not doing

    No reinstall, no restart loops, no clearing of caches or profile data, no disabling of the build-flavor
    or session checks, and no raw-pipe/CDP access outside the supported tooling — this report is
    intentionally limited to read-only evidence.

  10. lixirui924-cmd commented on Oct 22, 2026

    @lixirui924-cmd

    Additional Windows 10 reproduction on the current production build

    Posted with the affected user's explicit authorization on 2026-10-22. This is a sanitized additional reproduction.

    Environment:

    • Windows 10 Pro 22H2, build 19045, x64.
    • Microsoft Store package OpenAI.Codex: 26.1016.6573.0.
    • Desktop/browser component reported by the updater: 26.1016.51333, production channel.
    • Browser, Computer Use, and unified-computer-use plugins: 26.1016.51333, installed and enabled.

    Observed behavior:

    • The user can see and navigate an ordinary website in the built-in browser.
    • The documented cua.getTab({url: targetUrl}, {browser: 'iab'}) returns Browser is not available: iab.
    • cua.listBrowsers() exposes only Codex MCP Apps (mcpapps), with matching task metadata.
    • Desktop logs resolve browser availability to available=true, browserPane=true, reason=available, and report an IAB backend ready for the same formal task.
    • Later getInfo requests fail with No ChatGPT browser route is available for browser session .

    Fresh-process log timeline, 2026-10-22, UTC:
    07:17:09.204 — captured session route for the formal task.
    07:17:09.214 — browser_use_iab_backend_startup_ready for that task.
    07:17:10.468 — created browser use host for that task.
    07:17:10.469 — ended browser use session activity, disposeAfterSessionActivity=false.
    07:20:05 — getInfo requests fail with the missing-route error.

    The activity-end event precedes the failures, but this alone does not prove the cleanup mechanism or explain why discovery filters out IAB.

    Recovery attempts and limits:

    • Windows Settings application Repair, followed by a fully verified app restart, did not restore control.
    • A fresh local task reproduced the unavailable-IAB result during an earlier test.
    • Reattaching the visible browser sidebar through supported app tools did not restore page reading.
    • A TUN-disabled network test reproduced the same failure; causality from Wi-Fi, TUN, or proxy changes is not established.
    • The configured updater returns up_to_date; Microsoft Store provides no newer eligible package. The current official direct-download MSIX has the same version as the installed app and a valid matching signature, so it was not reinstalled.

    Please provide a supported recovery path or diagnostic that explains why the ready IAB backend is rejected for its formal task. Browser route/discovery diagnostics would be more useful than further restart or cache-clearing loops.

    No credentials, cookies, account identifiers, private website addresses, pipe identifiers, screenshots, or conversation transcripts are included. No private transport manipulation, application code patching, permission bypass, or third-party repair utility was used.

  11. CagriErDev commented on Oct 22, 2026

    @CagriErDev

    +1 on Windows — same two failure modes on 26.1016.61520 (Store package 26.1016.8120.0), before and after the 2026-10-22 update

    Environment

    Item Value
    OS Windows 11 x64
    Desktop app Microsoft Store OpenAI.Codex_26.1016.8120.0_x64__2p2nqsd0c76g0, bundle 26.1016.61520 (previous bundle 26.1016.51333)
    Chrome 155.0.8059.85
    Extension hehggadaopoacecdllhhajmbjkdcmajg = ChatGPT 1.26.1015.10801, installed and enabled (Default profile)
    Native host com.openai.codexextension registered at HKCU\Software\Google\Chrome\NativeMessagingHosts, manifest valid, extension-host.exe path resolves
    Bundled plugins browser / chrome / computer-use all 26.1016.61520, installed + enabled
    CODEX_HOME %USERPROFILE%\.codex (regular directory, no symlink)

    The bundled diagnostic scripts/check-extension-installed.js returns exit 0 (installed=true, enabled=true), and the app's own availability state resolves to success:

    browser_use_availability_resolved available=true browserPane=true platform=Windows reason=available release=26.1016.61520
    

    1. Browser is not available: iab

    cua_repl call:

    await cua.createBrowserTab('iab', 'https://www.facebook.com/marketplace/', { visible: false });

    returns:

    Browser is not available: iab
    _meta.codex/telemetry.error_code = "browser_error"
    

    At the same time the desktop log shows the IAB route being bound to an unsent draft instead of the active conversation (same pattern as 1a in the report):

    IAB_LIFECYCLE received browser sidebar owner sync browserTabId=null
        conversationId=client-new-thread:6c9ff6f8-2fd3-481d-948f-856d937b407b
        ownerRoutePath=/settings/computer-use
    browser-session-registry IAB_LIFECYCLE rebound browser sidebar window ownerWebContentsId=1
    

    The same rebinding repeats with ownerRoutePath=/settings/browser-use, /settings/plugins-settings, /settings/passwords, and conversationId=client-new-thread:<other-uuid>.

    2. Computer Use hard-blocked on browser windows

    Verbatim, triggered on a Facebook - Google Chrome window and on a willhaben - Google Chrome window:

    Computer Use has been stopped for this turn because it could not determine the current browser URL on Windows
    with enough confidence to enforce policy. Stop your work and send a final message noting why Computer Use ended.
    

    sky.list_windows() correctly enumerates the Chrome windows (app + title), sky.get_window_state(...) is what fails. Non-browser apps are unaffected.

    3. @Chrome not offered, but the Chrome plugin is installed

    The @ menu only offers Browser — Control the in-app browser; @Chrome never appears, although local plugin inventory contains chrome@openai-bundled and the app logs:

    BundledPluginsMarketplace bundled_plugin_chrome_extension_sync_decision browserExtensions=[...]
    BundledPluginsMarketplace bundled_plugin_install_skipped_current pluginName=chrome
    windows_core_runtime_component_resolved component=chrome-extension-host
        executablePath=%USERPROFILE%\.codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exe
    

    4. Runtime registry is not rewritten (same as Issue 2)

    %LOCALAPPDATA%\OpenAI\Codex\chrome-native-hosts-v2.json contains two entries. The current one has appVersion 26.1016.61520 but:

    • presence.pid = 17916, presence.startedAt = 2026-10-22T17:37:27Z, lastSeenAt = 2026-10-22T17:37:27Z
    • the app was fully restarted at 2026-10-22T18:07:45Z (new main process, 11 processes, new log file) and the file was byte-identical 19+ minutes later (checked 18:26Z)
    • the second, older entry still points at ...\cua_node\2fbcd108736f9c20\... and OpenAI.Codex_26.1016.6573.0

    Timeline — not tied to one update (Europe/Vienna)

    Time Build Symptom
    2026-10-17 21:20 earlier Browser is not available: iab
    2026-10-19 19:06 / 19:11 earlier Browser is not available: iab (3×)
    2026-10-22 19:24–19:32 26.1016.51333 URL-policy stops on Chrome windows
    2026-10-22 ~19:37 update to 26.1016.61520 —
    2026-10-22 20:02 26.1016.61520 Browser is not available: iab again

    So the behaviour is reproducible on the previous and the current bundle; the update neither introduced nor fixed it.

    Excluded / tried without effect

    • full quit + restart of the app (also 4+ times), including after the update
    • extension disabled/re-enabled; bundled browser plugin reinstall from the UI
    • extension and native-host registration verified manually (registry key, manifest allowed_origins, host path)
    • model switching is irrelevant: the failures occur with gpt-6.1-sol, gpt-6-astra and gpt-6-luna — the error originates in the browser backend / url_policy.rs before any model-specific behaviour matters
    • deleting/replacing chrome-native-hosts-v2.json was not attempted here; per the report it is not recreated

    Possibly related log noise in the same session

    ignoring interface.icon_small: icon path with '..' must resolve under plugin assets/
    plugin `record-and-replay` was not found in marketplace `openai-bundled`
    ignoring invalid experimental feature enablement keys: apps_mcp_path_override
    

    Suggestion

    Same as the report: (a) never bind the IAB route to a client-new-thread: draft while a real conversation is requesting it, (b) rewrite chrome-native-hosts-v2.json on startup and after app updates, (c) log which URL source was consulted (extension channel / UI Automation / CDP) and why it was rejected in url_policy.rs.

  12. xiaopengcug commented on Oct 24, 2026

    @xiaopengcug

    Additional reproduction on a newer Windows desktop build, observed on 2026-10-24.

    Environment

    • Windows 11 Pro 25H2, build 26200.9711, x64.
    • Windows package: OpenAI.Codex 26.1021.3705.0.
    • App-reported internal version: 26.1021.31345; build 21828; release channel prod.
    • The app update check returned up_to_date at the time of testing.
    • Local configuration has browser@openai-bundled enabled and declares BROWSER_USE_AVAILABLE_BACKENDS = "chrome,iab,mcpapps". The inspected Browser package and configured app version are both 26.1021.31345. These are configuration observations, not proof of the effective policy or live backend state.

    Observed behavior

    The user can see the built-in browser page in the original chat, but documented CUA discovery does not expose an IAB browser. A separate, newly created local test chat reproduced the discovery failure:

    await cua.getState();
    // browsers: [{ id: "1", name: "Codex MCP Apps", type: "mcpapps",
    //              metadata: { codexSessionId: "<current-test-chat>" }, tabs: [] }]
    
    await cua.listBrowsers();
    // Only Codex MCP Apps (type: "mcpapps"); no "iab" entry.
    
    await cua.getBrowser({ id: "iab" });
    // Error: Browser is not available: iab

    In the original chat, binding its visible page with cua.getTab({ url: "<page-url>" }, { browser: "iab" }) also returned Browser is not available: iab.

    In the new test chat, the public app tool open_in_codex({ target: { type: "browser", url: "about:blank" } }) returned status: "queued". The subsequent discovery/selection attempt still returned only mcpapps and the error above. The queued result does not establish that the blank tab was created or that the test chat was visible; this test does not isolate foreground ownership/routing. The conclusion is based on the explicit browser-selection error as well as discovery, not merely an empty tab list.

    Troubleshooting already performed

    • Reinstalled the official OpenAI Windows package over the existing installation, then restarted the app; the symptom persisted.
    • Tested the original chat and a separately created local chat, as described above.
    • Confirmed that the running desktop executable belongs to package 26.1021.3705.0 and that the native CUA helper processes were running. Process presence does not prove successful browser initialization.
    • The user reports that browser control worked in an earlier version; the last known-good version is not established. We have not performed a downgrade comparison or a clean-profile test.

    Expected behavior / diagnostic request

    A permitted built-in browser associated with the current chat should be discoverable through the documented CUA API. If effective policy, backend initialization, or chat/window ownership prevents that, please expose a diagnostic reason rather than only omitting IAB from the inventory.

    This corroborates the IAB discovery symptom in this issue on a newer build. We have not verified the route-reassignment root cause described in the original report, and are not reporting reproduction of its separate Chrome/Edge or Computer Use problems. No raw pipes, CDP, private runtime APIs, permission bypasses, configuration changes, or session-data clearing were used in this comparison test. Public details above exclude account information, private URLs, local paths, chat IDs, and full logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbrowserbugcomputer-usewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions