codex icon indicating copy to clipboard operation
codex copied to clipboard

[Windows][26.1021.31345] IAB page renders, but CUA reports Browser is not available: iab in fresh chats

Open hoxaedi-source opened this issue 1 month ago • 18 comments

Windows: IAB page renders, but CUA reports Browser is not available: iab in fresh chats

Summary

The built-in browser visibly loads a local HTTP page, but Codex cannot attach to it through the provided CUA API. This reproduces in both existing conversations and a newly created, independent local test conversation after its page has visibly loaded.

The immediate tool error is:

Browser is not available: iab

Desktop logs at the corresponding control request report:

No ChatGPT browser route is available for browser session <redacted>

Environment

  • Windows 11 x64, OS build 10.0.26100.
  • Desktop app updater reports installed version 26.1021.31345, build 21828, production channel, status up_to_date.
  • The bundled CLI is 0.164.0-alpha.11.1. Its doctor reports desktop package version 26.1021.3705.0; this is a separately reported package version.
  • Local Codex execution, using the built-in browser (IAB).
  • Observed on October 24–25, 2026, Asia/Shanghai.

Minimal reproduction

  1. Start a simple local HTTP server with a health endpoint. In this test, http://127.0.0.1:5120/api/health returns HTTP 200 and a small JSON health response.
  2. Create a new local test conversation.
  3. Open that endpoint in the conversation's built-in browser and wait for the page to appear. The user can see the JSON response.
  4. Through the supplied mcp__cua_repl.js tool, select the tab:
let tab = await cua.getTab(
  {url: 'http://127.0.0.1:5120/api/health'},
  {browser: 'iab'}
);
  1. The call fails with Browser is not available: iab; no page content is returned.

cua.getBrowser({id: 'iab'}) also fails. The browser inventory (cua.getState() / cua.listBrowsers()) only exposes the Codex MCP Apps surface and does not expose IAB.

Relevant log observations

The following are selected, redacted message fragments, not a raw log upload:

browser_use_availability_resolved available=true browserPane=true
browser_use_iab_backend_startup_ready
IAB_LIFECYCLE ... runtime attached
IAB_LIFECYCLE ... dom-ready
... iab backend info request failed
No ChatGPT browser route is available for browser session <redacted>

An older conversation also showed a client-new-thread:... browser owner while the control request used the formal conversation ID. However, in the independent new test conversation, the browser used the correct formal conversation ID and reached runtime attached and dom-ready; attaching still failed. The draft/formal ID mismatch is therefore not a sufficient explanation for all observed failures.

Troubleshooting already performed

  • Full computer restart.
  • Closed and rebuilt the built-in browser tab.
  • Used normal application navigation to leave and return to the conversation.
  • Explicitly selected Browser via the composer mention UI.
  • Created an independent test conversation and retried only after its actual page load was confirmed.
  • Confirmed that the Browser plugin is configured as enabled.
  • Checked the configured desktop updater: no eligible update was offered.
  • Confirmed that the local HTTP service is healthy independently of the browser control API.

None restored IAB control. No alternative browser or raw CDP workaround was used.

The Codex data directory had been moved to another local drive with a junction preserving its original path. The Browser-related configuration matches the pre-migration backup, and the same route-error category also appears in logs from before the move. Migration causality has not been established.

Official doctor results

codex doctor --json completed with exit code 0: 20 checks ok, 5 warning, no error checks.

Checks for installation consistency, desktop app-server initialization, authentication configuration, provider HTTP/WebSocket connectivity, and integrity of the six existing SQLite databases passed.

Selected warnings, included for context rather than asserted as causes:

  • The standalone CLI diagnostic environment lacks BROWSER_USE_ACCESS_EXECUTOR_ID, BROWSER_USE_ACCESS_PIPE_PATH, and CODEX_WINDOWS_REGISTERED_CORE; there is also an unrelated optional MCP reachability timeout. The CLI's environment is not proven to be equivalent to the desktop-injected tool process environment.
  • The CLI ignores the configuration key computer_use.windows.always_allowed_app_ids as unrecognized.
  • The history inventory reports 45 files without matching index rows and 45 stale rows, while database integrity checks pass. A fresh test conversation still reproduces the browser failure.
  • Microsoft Defender exclusions are unverified; no actual security enforcement/block was identified by the diagnostic.
  • TERM=dumb in the non-interactive diagnostic run.

No runtime identifiers were guessed or overwritten, and no session databases or security settings were modified.

Expected behavior

A built-in browser page that has loaded in the current conversation should be discoverable and readable through the documented CUA API. If its route is unavailable, the app should expose a supported recovery action or a specific diagnostic explaining the missing route.

Related reports

  • #48360: Windows built-in browser reads time out and the browser route is lost.
  • #48670: Windows built-in browser route disappears and saved permissions cannot be verified.
  • #52472: macOS Chrome route is revoked by a draft-conversation browser host; different platform/backend, but a related route-error string.

This report supplies a newer Windows build reproduction where IAB is absent from the tool inventory even though a fresh, correctly identified conversation has a visibly loaded built-in browser page. We do not claim these reports have the same root cause.

Only redacted technical details are included here. Private website URLs, conversation IDs, account identifiers, local usernames/paths, credentials, cookies, full chat transcripts, and raw diagnostic files are omitted.

hoxaedi-source avatar Oct 24 '26 16:10 hoxaedi-source

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

  • #56706
  • #55794

Powered by Codex Action

github-actions[bot] avatar Oct 24 '26 16:10 github-actions[bot]

Additional Windows reproduction on 2026-10-28: both Chrome and IAB remain absent from the supported CUA browser inventory in a brand-new local chat created after an application update.

The running app release had previously been confirmed as 26.1021.31345. The version was not checked again during this bounded test; this is not a claim about the globally latest release.

Exact bounded test

In the new chat, the first invocation of the currently supplied mcp__cua_repl.js was:

await cua.getState();

Its browser inventory contained only Codex MCP Apps (type mcpapps), with an empty tab list. The inventory's session metadata matched the new chat (identifier omitted here). Neither Chrome nor IAB was listed.

Each browser then received exactly one blank-tab creation attempt:

await cua.createBrowserTab("chrome", "about:blank", {
  sessionName: "🔎 更新后验证"
});
// Browser is not available: chrome

await cua.createBrowserTab("iab", "about:blank", {
  visible: true
});
// Browser is not available: iab

The two errors occurred at approximately 06:22 UTC. Testing stopped for each browser immediately after its unavailable error.

Check Chrome IAB
Control connection Not established Not established
Create about:blank Failed: browser unavailable Failed: browser unavailable
Read blank page Not attempted Not attempted
Navigate to control page Not attempted Not attempted
Read destination page Not attempted Not attempted

Context and limits

  • Previously confirmed UI state: Browser enabled; Chrome extension shown as installed, green, and enabled; Chrome side chat and manual browsing worked. Those observations were not counted as successful tool control.
  • In the earlier repair chat, the actual IAB page belonged to the correct chat, while local diagnostics showed both successful and failed getInfo results. This is historical context, not a route test in the new chat.
  • Before the update, blank-tab creation/read had succeeded in both browsers, but navigation encountered saved browser permissions could not be verified. The new test did not reach navigation, so that permission-verification error has not been retested.
  • A fresh post-update chat did not restore the control endpoints in this test. The underlying cause and whether it is shared with this issue remain unknown.

Could maintainers investigate Chrome/IAB discovery and registration, together with chat-scoped browser-route availability, and provide a supported diagnostic or recovery step that preserves the existing permission and safety checks?

No authorization stores or client/native components were modified; permissions were not relaxed; Full CDP was not enabled; no private API, raw browser protocol, or alternate control transport was used. No raw logs, chat/session identifiers, private website URLs, local paths, credentials, or full transcripts are attached.

Andy-hue3 avatar Oct 28 '26 06:10 Andy-hue3

Additional Windows diagnostic evidence, collected on October 28, 2026 (UTC timestamps below).

Installed Windows package: OpenAI.Codex 26.1023.6123.0; bundled plugin version: 26.1023.50603. These are package/plugin versions, not an assertion about the About dialog release number. Windows x64, OS build 10.0.26100.

Older conversation: four distinct observed created browser use host records all used draft IDs:

[browser-session-registry] IAB_LIFECYCLE created browser use host
conversationId=client-new-thread:<DRAFT-ID>
routeKey=1:client-new-thread:<DRAFT-ID>

Control requests used the formal conversation ID instead:

[browser-use-iab-api] IAB_LIFECYCLE iab backend info request failed
conversationId=<FORMAL-ID>
errorMessage="No ChatGPT browser route is available for browser session <FORMAL-ID>"

Fresh-chat control: a new local projectless chat was created with a Browser mention in its very first message, asking to open only https://example.com. Its documented call:

await cua.createBrowserTab("iab", "https://example.com", {visible: true});

failed with Browser is not available: iab. Discovery exposed only Codex MCP Apps (mcpapps), without tabs.

The log then recorded a host with the correct formal ID for this new chat, followed by another bounded retry:

14:49:30.921Z created browser use host conversationId=<NEW-FORMAL-ID> routeKey=1:<NEW-FORMAL-ID>
14:51:12.621Z iab backend info request failed conversationId=<NEW-FORMAL-ID>
errorMessage="No ChatGPT browser route is available for browser session <NEW-FORMAL-ID>"

The second tool attempt again returned Browser is not available: iab and stopped. Thus draft/formal ID mismatch is observable in the older chat, but cannot fully explain the failure in the fresh chat: route creation using the matching formal ID still did not make IAB discoverable/readable.

Checks and limits:

  • Browser plugin enabled; selected official runtime files exist; checked plugin entry points match the installed package by SHA-256.
  • Logs show browser_use_runtime_paths_selected successfully selecting bundled Node and node_repl.
  • No matching EBUSY/plugin-file-lock or missing-nodePath errors were found in the checked desktop logs.
  • A previously hand-added standalone mcp_servers.node_repl override was backed up and isolated; automatic plugin configuration was retained. This did not resolve IAB control. No plugin relocation/reinstall, auth-store reset, safety relaxation, or route rewriting was performed.
  • Ordinary desktop screenshot/click/Escape was separately verified in Notepad; that is not evidence of browser access.
  • This is a correlation from selected logs and bounded tool attempts, not a proven internal root cause.
  • No raw logs, actual conversation IDs, account identifiers, credentials, local usernames, private site URLs or page contents are included.

Please investigate the lifecycle/lookup of the formal-ID IAB route after host registration, and provide a supported diagnostic or recovery path that preserves existing permission checks.

Follow-up: route lifecycle, not just host creation

Read-only correlation of the same fresh-chat ID found earlier events that narrow the chronology (2026-10-28 UTC):

  • 14:47:06.485: captured session route, formal chat ID, disposeAfterSessionActivity=false, ownerWebContentsId=1, windowId=1.
  • 14:47:06.486: browser_use_iab_backend_startup_ready, same formal ID.
  • 14:47:35.552: sidebar owner sync reports the same formal ID.
  • 14:49:14.917: formal-ID backend-info lookup fails with “No ChatGPT browser route is available…”.
  • 14:49:30.921: host creation is followed by ended browser use session activity with disposeAfterSessionActivity=false.
  • 14:51:12.621: second bounded lookup still fails.

Therefore the first failure was already preceded by formal-ID route capture and backend startup-ready, not merely by a delayed host-creation event. Session activity ending is logged with disposal disabled; the selected logs do not explicitly show a corresponding route removal. Absence of a removal log is not proof that internal state was retained.

Separately, 56 checked sidebar-owner-sync records have ownerRoutePath pointing to the older main chat's formal local route while conversationId is still client-new-thread:<redacted>. This is an observable disagreement between the page route and its reported browser owner. During the later retry there are also sidebar-owner updates for other chat/draft contexts; background ownership versus foreground ownership remains a confounder, not a proven cause.

Some interleaved getInfo requests log “completed” while others fail. Because the tool inventory only exposed MCP Apps, those generic completion messages are not counted as successful IAB access.

Could the diagnostic report the selected owner/route key and why formal-ID captured routes are considered unavailable, including owner changes and disposal/reassignment? No runtime or safety logic was patched for this investigation.

mirrorlious avatar Oct 28 '26 23:10 mirrorlious

Follow-up controlled verification on 2026-10-29, after a full desktop-app close and reopen.

Both supported CUA browser endpoints remain unavailable. A fresh CUA session listed only Codex MCP Apps (mcpapps). Each browser received exactly one about:blank creation attempt at approximately 01:12:46–49 UTC:

Browser is not available: chrome
Browser is not available: iab

Testing stopped after those errors. Blank-page reading, destination navigation/page reading, and saved browser permission verification were not reached.

Evidence after the fresh application launch

  • A new desktop startup/process was recorded. Bundled Node/node_repl.exe selection succeeded; both node_repl and cua_repl reported ready.
  • The current chat's browser host was created with its matching formal conversation ID, and subsequent webview route capture also used that formal ID.
  • Nevertheless, selected getInfo requests for that same formal chat during 01:12:41–49 UTC produced 8 failures and 4 completions. Successful metadata matched the chat; failures reported No ChatGPT browser route is available for browser session <current-chat>.
  • No matching EBUSY, EPERM, EACCES, ACCESS_DENIED, or missing-nodePath errors were found in the reviewed new startup log.

Configuration-isolation result and attribution limit

An explicit standalone mcp_servers.node_repl entry was backed up and removed earlier, while retaining the official automatic plugins and every other configuration value. After the application reopen, that entry was present again. Compared with the original backup, the only semantic configuration difference was its refreshed SKY_CUA_NATIVE_PIPE_DIRECTORY, now matching the current generated unified-CUA configuration; there was also section reordering.

The file timestamp closely followed BrowserUseThreadConfig runtime-path selection, but the logs do not identify the writer. Consequently we cannot classify this entry as an unwanted hand-added override or claim that its removal was a successful repair. It has not been deleted again.

An earlier same-day integrity comparison found 21 checked plugin/runtime key files and 389 checked runtime-module files matching the installed official package (groups overlap). Historical primary-runtime activation EPERM errors were followed by a successful installation; they are not evidence of a current browser-runtime file failure.

Please investigate why a correctly registered formal-ID IAB route can yield interleaved successful/failed lookups while supported discovery excludes IAB, and whether the standalone/generated CUA configuration lifecycle contributes. A supported redacted diagnostic or recovery step would help.

No raw logs, real chat/session IDs, actual pipe names, private URLs, local paths, account details, credentials, or full transcripts are attached. No permissions, authorization stores, ACLs, client/native components, or route/security checks were weakened or patched.

Andy-hue3 avatar Oct 29 '26 01:10 Andy-hue3

Post-upgrade verification on 2026-10-29: the running desktop updater now reports 26.1023.51421, build 22530, production channel, status up_to_date. Startup evidence identifies the Windows package as 26.1023.6621.0 and confirms selection of the new bundled browser runtime. This is a check against the configured updater, not a claim about every release channel.

Supported CUA discovery still exposes only Codex MCP Apps (mcpapps) with no tabs. Each endpoint received one about:blank creation attempt:

  • 01:58:41 UTC: Browser is not available: chrome
  • 01:58:43 UTC: Browser is not available: iab

Blank-page reads, navigation, destination-page reads, and saved-permission verification were not reached.

In the reviewed new startup log, the current chat's browser host was created with its matching formal ID at 01:56:59 UTC. Correlation of discovery and the two attempts at 01:58:35–45 UTC again found 8 failed and 4 completed IAB getInfo records for that formal chat. Completed metadata matched the chat; failures reported No ChatGPT browser route is available for browser session <current-chat>. Neighboring draft-owner records belonged to other chats and were not counted as a mismatch for this chat.

The new sandbox startup interval reviewed at 01:56:27–01:59:13 UTC contained eight processed setup operations, all with errors=[]. No browser/Node/runtime-specific file-access error or matching EBUSY/EPERM/EACCES/ACCESS_DENIED/missing-nodePath error was found in that review. Existing generic profile-attribute/ACE warnings remain; they are not established as causal. The selected runtime files exist. This is bounded diagnostic evidence, not proof of an internal root cause.

The version update has therefore not restored supported browser control on this Windows 10 build 19045 host. Please provide a supported route-registration/lookup diagnostic or recovery path that preserves permission checks.

No raw logs, identifiers, private site content, local paths, pipe names, credentials, or full transcripts are attached. No authorization stores, sandbox ACLs, browser security checks, or private control transports were changed. A CUA reset request returned aborted before dispatch and is not counted as a completed reset or a successful recovery.

Andy-hue3 avatar Oct 29 '26 01:10 Andy-hue3

Additional Windows reproduction on 2026-11-01 around 07:30 Europe/Paris, reported at the user's explicit request.

Installed Windows package: OpenAI.Codex 26.1027.3384.0 (read from the installed package metadata; this is the MSIX package version, not a separately verified app build number).

Observed with the built-in browser (IAB), not the Chrome extension:

  1. At the start of a scheduled task, the supported cua_repl API await cua.getState() returned browsers: []. Its application inventory also listed the desktop application as not running.
  2. await cua.createBrowserTab('iab', <public website>, {visible:false}) failed with the exact message Browser is not available: iab.
  3. The user said their open browser tabs were working and that this discrepancy had occurred several times.
  4. After the user interacted with the chat and the agent reset the CUA JavaScript session, cua.getState() exposed the desktop application and an IAB browser with three existing tabs. Binding and reading an existing tab then succeeded. No website re-login or identity switch was required.

Important limitation: these observations do not establish that the reset alone fixed the problem; user interaction with the desktop app occurred between the failing and successful observations. It is also not independently established whether the app was active during the very first inventory call.

Impact: the scheduled task reported inaccessible browser accounts and asked the user to reopen tabs that the user said were already available.

Expected: distinguish a temporarily unavailable session/route from an absent browser, and offer a supported safe reconnection path before requiring repeated user intervention.

This adds a newer package version and a transient recovery sequence to the Windows report. A shared internal root cause with this issue or #58419 has not been established. No private URLs, account identifiers, conversation/session IDs, local user paths, screenshots, raw logs, credentials or business data are included. Prepared with AI assistance.

Additional same-session observation: During subsequent browser work, two cua_repl/js calls stalled and returned timed out awaiting tools/call after 300s. On the later occurrence, the invocation had explicitly requested timeout_ms:10000 but still returned after about 300 seconds. A fresh cua.listTabs({browser: selectedBrowserId}) then immediately listed the same ten existing tabs. Prior JavaScript bindings were unavailable after the timeout. Rebinding an existing tab by its known ID restored reading, without reopening the website or re-authenticating. Some actions from the timed-out invocation had completed, so its side effects had to be checked before resuming. This may be a separate failure mode; a common root cause with the empty inventory is not established. No private tab/session IDs or URLs are included.

Recurrence on November 2, approximately 13:55–14:05 UTC

A later scheduled IAB session could discover the browser and read an existing authenticated page. Opening a new tab for the messaging page then timed out. The supported Playwright snapshot call on that new tab returned Timed out running CDP command "Runtime.evaluate" (destination and tab identifier omitted).

Using the existing page's supported accessibility API still worked: following its visible Messages link changed the URL and returned the site's loading placeholders, but no conversations became readable. A subsequent supported read of the newly created tab timed out and reported js execution timed out; kernel reset, rerun your request. After rediscovery and rebinding the existing page, its accessibility state was again readable but still contained loading placeholders. One normal reload of that existing page also timed out and reset the JavaScript kernel. The bounded recovery attempts stopped there; no message send was attempted in this session.

Identifier clarification: the numeric browser identifier exposed by discovery changed across the JavaScript reset. An unavailable error caused by reusing the previous identifier was resolved by a fresh cua.getState() inventory and selection of the currently discovered IAB surface. This stale identifier alone is not being reported as proof that all browsers were absent or that the browser was disconnected. The remaining problem was the repeated navigation/read/reload timeout despite successful discovery and some successful accessibility reads.

The installed application version was not rechecked in this session. These observations do not establish a site-imposed restriction, expired authentication, OS lock, or a common root cause with the other failure modes above. Only the supplied CUA/Playwright APIs were used; no raw CDP connection, alternate UI driver, credential change or security-setting change was used. No private destination URLs, account names/content, actual browser/tab/session identifiers, screenshots, local user paths, credentials or raw logs are included. Prepared with AI assistance.

Recurrence on November 3, approximately 08:28–08:56 UTC

During another scheduled local Windows IAB session, three cua_repl/js calls each stalled for approximately 300 seconds and ended with timed out awaiting tools/call after 300s. The third invocation explicitly set timeout_ms:15000, yet the tool still returned after approximately 300 seconds.

This was intermittent: after the first two stalls, the supported inventory still listed the existing browser and authenticated tabs. Rebinding those same tabs through the documented APIs restored reads without re-authentication or an account change. Prior JavaScript variables were no longer available after the first stall. Some UI actions from the timed-out calls had in fact completed, so their effects were verified from persistent page states before any further work. The later stall also occurred while using an already-open mail search page, not only the original social site.

New outgoing work stopped after recurrence; confirmed results and unfinished items were saved locally. These observations do not establish a site account restriction or a shared internal cause with the empty-inventory failure. The installed application version was not rechecked. No private destination URLs, account identifiers/content, browser/tab/session identifiers, local paths, screenshots, credentials or raw logs are included. Prepared with AI assistance.

Kristas21 avatar Nov 01 '26 06:11 Kristas21

Additional intermittent Windows reproduction on 2026-11-01, approximately 09:30–09:38 UTC, submitted at the user's explicit request because browser-control failures recur across tasks.

Verified environment

  • Installed MSIX package: OpenAI.Codex 26.1027.3384.0 (read from package metadata; not a separately verified About-dialog build).
  • Windows 11 Home, version 10.0.26300, build 26300.
  • Built-in browser (IAB). No Chrome-extension control is involved in the successful read described below.

New symptom: “disabled” diagnostic contradicts visible settings

Repeated supported calls to await cua.getState() returned an empty browser inventory with this exact error:

Browsers: Error: Local browser use is disabled in Work settings

The same inventory listed the desktop application as running. A completed cua_repl.js_reset followed by fresh cua.getState() did not restore discovery at that point.

The agent then inspected the desktop application's settings through the supported native UI surface, without changing any toggle. Screenshots visibly showed all of the following enabled:

  • Full Access (Accès complet).
  • Browser — permission to control the built-in browser.
  • Computer Use — permission to control applications.

The built-in browser also visibly rendered a signed-in social website. This was not a website authentication failure.

Observed recovery sequence and limits

  1. The supported open_in_codex browser action was used to open the public home URL in the current chat. It returned queued because that chat was not foregrounded.
  2. Normal desktop navigation brought the current chat to the foreground. Its browser pane loaded the page, and the authenticated page was visible. A further supported inventory call still returned the “disabled in Work settings” error at that time.
  3. In the next user-requested follow-up turn, a fresh cua.getState() exposed IAB with eight tabs and no inventory errors.
  4. cua.getTab({url: <public home URL>}, {browser: <discovered IAB id>}) then succeeded and returned the authenticated page's accessibility state.

No permission toggle was changed, no website re-login was performed, and no browser-security check or alternative control transport was bypassed. Recovery coincided with foregrounding the chat and a subsequent turn; the evidence does not isolate which event restored the route.

Impact and request

The false-looking “disabled” state caused the agent to stop tasks and incorrectly tell the user to reactivate access that was already visibly enabled. The user reports the same operational interruption in multiple tasks; a previous scheduled run in this chat also failed to discover/attach IAB. This does not establish a shared internal cause with every earlier report.

Please investigate whether browser availability or chat-scoped route state can become stale, and distinguish an unavailable/unregistered route from an explicitly disabled permission. A supported reconnection action that preserves existing authorization checks would prevent repeated misleading permission requests.

Only redacted technical observations are included. No screenshots of private accounts, private URLs, account names, real chat/session/tab IDs, local user paths, credentials, raw logs, or full transcripts are attached. Prepared with AI assistance.

Kristas21 avatar Nov 01 '26 09:11 Kristas21

Additional Windows reproduction on 2026-11-02, approximately 07:06–07:10 UTC (15:06–15:10 Asia/Shanghai), submitted with the user's explicit authorization.

Environment

  • Windows 11 x64, version 10.0.26200.
  • Installed MSIX package: OpenAI.Codex_26.1027.6604.0_x64.
  • Bundled CLI: 0.166.0-alpha.5.1.
  • Desktop log release label: 26.1027.51404. These version sources are reported separately.

Persistent failure after reopening

The desktop app was restarted at about 07:06 UTC. Chrome was subsequently launched and both Chrome and Edge processes were present. Supported CUA discovery still exposed only Codex MCP Apps.

Supported browser inventory/control calls returned:

Browser is not available: chrome
Browser is not available: edge
Browser is not available: iab

Creating an IAB tab for https://example.com/ also failed with the same unavailable error.

Earlier user-visible checks showed browser controls enabled, Chrome's extension installed/enabled, and its Service Worker reporting polling state=connected. This did not establish working tool control. Previously attempted app/browser restarts, extension reinstallation/re-enabling, new chats, re-mentions and switching away/back did not restore reliable control.

Network and runtime checks

A separate CLI diagnostic originally timed out on the Responses WebSocket handshake when it did not respect the configured Windows proxy. Enabling the CLI's existing under-development respect_system_proxy feature restored that diagnostic handshake (HTTP 101). The network checks still passed after the desktop restart, while all three browser failures persisted.

This is evidence that the passing Responses WebSocket diagnostic alone is insufficient to establish a working browser-control route; it is not proof that every browser transport is healthy.

Read-only runtime checks found the selected local browser runtime executable files present, with expected sizes and SHA-256 checks passing. No runtime binary replacement was performed.

Redacted desktop log observations

07:06:51Z browser sidebar owner sync:
  conversationId=client-new-thread:<redacted>
  ownerRoutePath=/local/<formal-chat-id>
07:06:51Z IAB backend startup ready for the formal chat
07:07:19Z browser-use host created for client-new-thread:<redacted>
07:08:40Z through 07:10:17Z:
  IAB_LIFECYCLE iab backend info request failed
  No ChatGPT browser route is available for browser session <formal-chat-id>

The draft/formal ID observations are diagnostic clues only, not a confirmed cause. We recognize that earlier comments reproduce similar failures with matching formal IDs.

Requested maintainer help

Please investigate browser registration/discovery and chat-scoped route lookup, and provide a supported recovery or additional diagnostic that preserves existing chats, work records and permission checks. Repeated restarts and extension reinstalls have not resolved this case. Is there a known fix/build or a safe route-rebinding procedure?

An in-app feedback report has already been submitted. Its identifier and any additional sanitized diagnostics can be supplied privately through an official support channel. No credentials, tokens, private website URLs, account details, local user paths, actual conversation IDs, raw configuration, full logs or chat transcripts are included here.

Prepared with AI assistance; observations above are bounded diagnostics, not a claim that the underlying cause has been established.

sanhaowangluo avatar Nov 02 '26 07:11 sanhaowangluo

Follow-up to my November 1 report above: a different browser-control failure interrupted the next scheduled Windows task on 2026-11-02, shortly after 10:04 UTC.

Correction to the initial tool-availability wording: the agent did not find mcp__cua_repl in its deferred-tool discovery list during this run. That observation was not sufficient evidence that the separately supplied browser tool was unavailable. The supported Computer Use skill exposed @oai/sky through Node REPL. Importing it, listing applications and launching the installed Chrome succeeded. The first attempt to read Chrome's window state then stopped Computer Use for the entire 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. Stop your work and send a final message noting why Computer Use ended.

No further Windows UI input or state requests were made after that stop. No browser protocol, alternate UI driver, guard modification or authentication-store change was used. Public web search and filesystem work remained available, but authenticated portal workflows could not proceed.

This is a different observed failure mode from the earlier empty IAB inventory / disabled-setting diagnostic; a shared cause has not been established. The desktop package version was not rechecked in this run. Please advise on a supported Windows browser URL-detection/reconnection path that preserves the existing safety checks. The user has already authorized the underlying work, so repeated generic permission requests would not resolve this URL-detection failure.

Submitted under the user's existing request to report recurring interruptions across tasks. No private site URLs, screenshots, account details, local user paths, credentials, session/window identifiers or raw logs are included. Prepared with AI assistance.

Later-turn clarification and additional bounded failure, November 2

In a subsequent scheduled turn, the separately supplied mcp__cua_repl.js was callable. Its supported IAB discovery and binding worked, and authenticated page reads and ordinary authorized writes succeeded. No website re-login or permission toggle was needed for that successful access. Thus the earlier statement that this tool was “not exposed” should be read as an agent discovery error, not as a proven application-level absence.

After a period of successful IAB operations, navigation to the next page timed out. A subsequent read returned:

CDP operation exceeded its deadline before command dispatch

A supported accessibility-state call then timed out and reported that the JavaScript kernel had been reset. Binding the existing tab in that same discovered browser also timed out. Following the supplied browser troubleshooting guidance, one fresh tab was created in the same browser; its navigation timed out as well. Browser work then stopped, and only previously verified successful actions were included in the task record.

Separately, the native Windows input path in that later turn returned failed to activate captured window and GetCursorPos failed: Access denied (0x80070005). Native input was stopped; these errors are reported separately from the IAB deadline failures. They do not establish that the OS was locked or that the user had withheld permission.

The current application version was not rechecked. No common root cause, connection to the earlier URL-detection stop, or LinkedIn/site-imposed limit has been established. Please advise on a supported recovery for IAB command-dispatch/navigation stalls. No private destination URLs, account content, screenshots, credentials, local paths, or actual browser/tab/session identifiers are included. Prepared with AI assistance.

Kristas21 avatar Nov 02 '26 10:11 Kristas21

Follow-up to my report in #issuecomment-6571393497: all three supported browser controls passed a bounded verification on 2026-11-03 (Asia/Shanghai).

An earlier community report, #54968 (comment 6250095653), suggested explicitly setting CODEX_HOME to the existing canonical state directory when the default home is an NTFS junction. We first verified that the default junction and canonical path referred to the same existing directory, config and database. The user-scoped variable was previously unset. We set it to that existing canonical directory, preserved a rollback, and did not move or modify chat databases/history. The setting's documented purpose was checked against https://learn.chatgpt.com/docs/config-file/environment-variables.

The user then fully quit and reopened the desktop app. Fresh process start times and an inherited CODEX_HOME value were observed in this run. Through supported mcp__cua_repl APIs:

Browser Open own public test tab Read page body Close own tab and verify removal
Chrome extension Pass Pass Pass
Edge extension Pass Pass Pass
In-app browser Pass Pass Pass

One initial IAB call exceeded the REPL's 30-second limit; inventory subsequently showed the created tab. Binding it with a 60-second execution allowance returned the page body. Successful body reads/open calls took roughly 44–52 seconds, while closing tabs was fast. This verifies control recovery in this run, not normal latency or long-term reliability.

Recovery followed canonical-home configuration and a fresh desktop process, but this is a temporal association, not an isolated root-cause proof or an official/general fix. Previous network-proxy configuration remained in place. No permission/auth store reset, TLS or URL-policy relaxation, runtime patch, private transport or alternate browser driver was used. No private paths, actual chat/tab identifiers, account/site content, credentials, raw config, logs or transcripts are attached.

Prepared with AI assistance.

sanhaowangluo avatar Nov 03 '26 00:11 sanhaowangluo

Additional reproduction on Windows, 4 November 2026 (scheduled run):

  • The browser inventory returned browsers: [], although the desktop-app and a Chrome window were discoverable.
  • cua.listTabs({ browser: '2' }) returned Browser is not available: 2 for the browser used successfully in the previous day's run.
  • After checking the current inventory, one documented attempt to open a new IAB tab returned Browser is not available: iab.
  • The supported Windows Computer Use fallback could read Chrome's accessibility tree, but interaction failed with coordinate input geometry is unavailable. A fresh screenshot was black, and activation failed with failed to activate captured window. Refreshing the window selection and retrying activation once produced the same failure; UI input was then stopped.

Impact: authenticated browser work and submissions could not proceed. Read-only public web research and local files remained usable. No security settings, permissions, extensions, credentials or session databases were changed.

This records the observed symptoms only; it does not establish that the IAB availability failure and the Windows activation failure share a root cause. No private URLs, account details, local paths, screenshots or raw logs are included.

Kristas21 avatar Nov 04 '26 10:11 Kristas21

I can reproduce the visible-page / unavailable-browser symptom on a newer Windows x64 desktop package, 26.1103.3517.0, with the bundled Browser plugin 26.1103.31037 enabled.

  1. Open https://example.com/ in the current chat's built-in browser pane and wait for the page to become visible.
  2. Explicitly select @Browser in the composer and ask Codex to read the existing tab.
  3. The supported call cua.getTab({url: "https://example.com/"}, {browser: "iab"}) returns Browser is not available: iab. Discovery reports only Codex MCP Apps (type mcpapps), with no IAB provider.

Reinitializing the browser-control runtime did not change the result. The user reports multiple desktop-app restarts without recovery. codex doctor passed installation, config loading, HTTP reachability, and the WebSocket check. A fresh-chat comparison has not been verified on this machine. The root cause is still unknown.

Expected: the agent can read the visible tab, or the desktop app provides a specific error and recovery action for the missing browser connection.

Master-626 avatar Nov 06 '26 04:11 Master-626

Reproduced on Codex Desktop for Windows, 26.1106.51428 (About dialog, released Nov 11, 2026), with Windows build 10.0.19044. Observed Nov 12, 2026, Asia/Taipei.

  • In a newly created test chat, the desktop app's browser context reported one existing in-app browser tab and its current URL. The user explicitly invoked the bundled @Browser plugin.
  • cua.getTab({ url: <current tab URL> }, { browser: 'iab' }) returned Browser is not available: iab. Resetting the CUA JavaScript session and retrying gave the same error.
  • cua.listBrowsers() listed only Codex MCP Apps (mcpapps), and cua.listTabs({ browser: 'iab' }) again returned Browser is not available: iab on a subsequent turn.

Expected: the existing in-app tab is discoverable and can be bound for inspection. Actual: binding fails before any page read or input. The tab URL and session identifiers are omitted. This confirms the visible-tab/discovery mismatch on this build. The underlying cause has not been established.

max0821 avatar Nov 12 '26 12:11 max0821

Additional Windows reproduction on 2026-11-12, with correlated desktop-log evidence.

Environment

  • Installed Windows MSIX package: OpenAI.Codex_26.1106.6628.0.
  • Internal desktop release recorded in the logs: 26.1106.51428. These are separate version identifiers.
  • Built-in browser (IAB), using the supported cua_repl API.

Observed behavior

  1. A page is visibly open in the built-in browser pane. An independent test used https://example.com/.
  2. Asking Codex to discover or attach to the browser via await cua.getState(), cua.listTabs({browser: 'iab'}), or cua.getTab({url: 'https://example.com/'}, {browser: 'iab'}) repeatedly ends with: js execution timed out; kernel reset, rerun your request.
  3. Explicitly selecting @Browser, resetting the JavaScript session, and leaving then returning to the same conversation did not restore access. In the final bounded retest, getState() with timeout_ms: 10000 returned the same error after approximately 15.8 seconds.
  4. An independent new conversation also failed to acquire IAB, reporting Browser is not available: iab. This does not establish a universal result for every conversation.

Correlated local desktop logs

  • At 11:36:54–55 UTC, the current conversation had captured session route, browser_use_iab_backend_startup_ready, sidebar-thread registration, runtime attached, and created browser use host.
  • Subsequent getInfo requests for that same conversation failed in prepareSessionRoute:
    iab backend info request failed
    No ChatGPT browser route is available for browser session <REDACTED>
    
  • A fresh series at 12:13:19 UTC contained 19 getInfo requests from one desktop process: 18 NoRoute failures and one completed metadata request. The single metadata success did not yield a successful page read.
  • Local comparison confirmed that the failing session identifier matched both the formal conversation identifier and the registered backend session identifier. No draft-versus-formal conversation-ID mismatch was established in this correlated sequence.

Scope and limitations The evidence localizes the observed failure to session-route resolution despite a registered webview. It does not identify why the route is unavailable. Site-level agent permissions could not be inspected through the failing UI connection; their state is unknown, and no site-permission denial was established by these logs.

No profile, cookies, browser permissions, private transports, application configuration, or session databases were modified. Existing tabs and the in-progress form were preserved. This comment contains only selected redacted technical signals: no bank details, account identifiers, private destination URLs, conversation/session identifiers, screenshots, raw logs, or conversation history.

Please investigate this session-route failure and provide a supported recovery that preserves the browser profile, authenticated session, and open form.

Prepared with AI assistance from a bounded local diagnostic report.

aceid83-dotcom avatar Nov 12 '26 13:11 aceid83-dotcom

Recovery update from a separate affected Windows installation, 15 November 2026: we have now verified actual IAB page reading and harmless clicking after the user's full sequence of desktop sign-out → uninstall/reinstall to the default C: location → sign in with a different account → sign out → sign back in with the original account → open/select the tab.

Chronology clarification: Browser is not available: iab was our original and longest-lasting problem: the tab was visibly open but unavailable to the agent. IAB browser belongs to another task appeared only later as an additional desktop diagnostic. We have not established that the later diagnostic explains every earlier unavailable-browser failure. Restarts, fresh chats, reinstalls alone, and a subsequent cookies/site-data/cache reset had not restored control at their respective tests.

Full environment, verification and limitations: https://github.com/openai/codex/issues/61631#issuecomment-6896713575

This supplements the failure reports; it does not invalidate anyone else's observations or establish a shared root cause. We cannot isolate the decisive step, and we have not verified permanent, cross-project or unattended recovery. The app currently remains on C: and project work remains on D:. Please do not interpret this as proof that moving folders caused the bug or that reinstalling alone fixes it. Posted with the affected user's explicit authorization.

AirSan35 avatar Nov 15 '26 15:11 AirSan35

Additional reproduction on Windows 11 26H2 (x64, build 26300.9974) with the Codex Desktop package 26.1117.4957.0.

  • In an active local Codex Voice chat, requesting the built-in browser panel initially returned queued. A fresh desktop state capture then confirmed the right sidebar was visible and its browser tab was focused.
  • Browser discovery still returned an empty list. Attaching to the existing tab through cua.getTab with browser: "iab" failed with Browser is not available: iab.
  • In a separate existing local Codex Desktop chat, discovery likewise returned no browsers, and cua.createBrowserTab for iab returned the same error. Both paths failed before any page inspection or interaction.
  • The local CLI reported in_app_browser, browser_use, and computer_use enabled. That readout does not verify effective permissions for the active Desktop chat.

Expected: Browser Use can discover and attach to the built-in browser when its tab is open, or the app reports why control is unavailable and how to recover it. Observed: the visible panel and Browser Use are disconnected in this run. I did not establish the underlying cause.

rshv00 avatar Nov 23 '26 09:11 rshv00

Additional reproduction on 26 November 2026 (Europe/Prague), in a Windows desktop text chat, using the primary agent.

The host-provided browser context reports one existing in-app browser tab and its current URL. The supported control API cannot discover or attach to that browser:

  1. await cua.getState() succeeds for native app inventory, but its browser inventory contains only Codex MCP Apps (type: "mcpapps", tabs: []). No iab provider is returned.
  2. await cua.getTab({ url: existingTabUrl }, { browser: "iab" }) immediately returns:
Browser is not available: iab

existingTabUrl is the URL supplied by the host for the open tab; it is omitted here. The failure occurs before a page read or browser interaction. The desktop build was not independently verified in this run.

Expected: the current chat can discover and attach to its own open built-in browser tab, or receives a specific explanation and supported recovery action.

This corroborates the discovery/binding symptom in this issue. The underlying cause has not been established, and restart/reinstall recovery has not been tested in this reproduction.

Is there a released fix or supported recovery procedure that preserves the existing chat and website sign-ins?

nickator avatar Nov 26 '26 07:11 nickator

Recovery follow-up to my November 12 report (#issuecomment-6823197229), verified on November 27, 2026 at approximately 18:59 Asia/Taipei.

The default Codex home was an NTFS directory junction pointing to an existing data directory on D:. CODEX_HOME had previously been unset at process, user and machine scope. The user set the Windows user-level CODEX_HOME variable to that existing canonical directory, then fully quit and reopened the desktop app.

Verification after reopening, with one test of each browser path:

  • A Node child process launched by the desktop agent read process.env.CODEX_HOME as the expected canonical directory.
  • cua.listBrowsers() exposed the current chat's iab backend, alongside Chrome extension and MCP Apps backends.
  • The supported cua.getTab({url: existingPublicTabUrl}, {browser: 'iab'}) call successfully bound the existing public Google page and returned actual accessibility content and the title Google.
  • A separate, explicitly authorized direct CDP connection to 127.0.0.1:9222 created its own tab, navigated to https://example.com, read the title Example Domain, closed that tab and verified its target was removed.

On November 28, supported IAB calls again read the existing Google page, navigated that same tab to this GitHub issue and returned the issue content.

IAB recovery was verified through the supported CUA API. Direct Chrome CDP was tested separately. Recovery followed canonical-home configuration and a full desktop restart. The decisive cause, persistence across future restarts, other chats and unattended runs remain unverified. The desktop release number was not rechecked for these successful runs.

Please investigate canonical-path handling for a junction-backed Codex home and provide an official recovery procedure. Local paths and session/account identifiers are redacted. Prepared with AI assistance at the user's request.

max0821 avatar Nov 27 '26 16:11 max0821