Repository navigation
Description
Summary
Codex Desktop's built-in browser (IAB) successfully attached a tab and allowed page control, but later rejected an action because the same tab was no longer part of the browser session. The requested click was not sent. Root cause unknown.
Environment
- Codex Desktop session version:
0.164.0-alpha.11.1 - Windows 10 Pro 22H2 (x64)
- Browser surface: ChatGPT in-app browser (
iab) - Browser bundle:
26.1021.31345
Observed timeline (2026-10-26, UTC)
- 11:22:49 — Browser inventory returned
tabs: []. - 11:22:52 —
createBrowserTabrequested for an authenticated third-party web application. - 11:23:06 — Tab 1 attached successfully; title and accessibility tree were available. Subsequent navigation and interaction succeeded.
- 11:24:19.758 — The pending UI action was rejected before the click was sent:
Error: Tab 1 is not part of browser session [REDACTED]
An earlier attempt also displayed Timed out waiting for the Browser webview to attach, although this exact timeout was not recovered from the inspected local logs. Restarting the application temporarily restored attachment, but the tab binding later failed again.
Expected
An attached and accessible IAB tab should remain controllable within the active browser session, or the application should provide an actionable recovery path when the binding is invalidated.
Actual
The tab was controllable, then its binding became invalid before the user-authorized action. No export/action was submitted to the third-party application.
Diagnostics and limitations
- Read-only review of existing Codex session and diagnostic records found the success and failure timestamps above.
- No definitive low-level webview teardown reason was exposed; ROOT_CAUSE_UNKNOWN.
- Model-refresh and unrelated MCP connectivity errors were observed elsewhere but are not established as causal.
- An in-app Bug feedback report was initiated for the affected session. The UI displayed a feedback identifier while finalizing diagnostic upload; backend receipt is not confirmed.
- Support indicated the affected session identifier is useful for internal investigation, but could not verify receipt or link an external case ID.
- Built-in-browser cookies/history have not been cleared, to preserve the current state. No further reproduction or export was attempted.
Request
Please investigate IAB tab ownership/session binding across user turns, webview lifecycle/cleanup, and stale tab handles after successful attachment. Is this a known regression, and what supported recovery/diagnostic steps are recommended? The full session ID and original logs can be provided privately through an approved support channel after sensitive-data review.
Possibly related (not asserted to be the same root cause): #48360 and #56438.
Privacy
No full session identifiers, usernames, local paths, account details, screenshots of authenticated pages, or raw logs are attached.
Activity
github-actions commentedon Oct 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
creativeessenceglobal-wq commentedon Oct 27, 2026
Additional read-only triage (2026-10-27): a third-party VideoExpress workflow troubleshooting guide attributes process-launcher startup failures to a missing "Full access" permission, but this is not a confirmed explanation for this issue. Our affected IAB tab successfully attached at 11:23:06 UTC and exposed its accessibility tree, then a later action failed at 11:24:19.758 UTC with the tab/session ownership error. Thus the observed failure is after successful attachment, not simply a failure to launch the browser.
Related #56438 reports the same tab/session error near webview teardown, but we have no teardown logs or crash evidence for this session. Please advise on a supported way to reacquire an invalidated IAB tab/session without clearing authenticated browser state, and on what minimal redacted diagnostics would distinguish a stale tab handle from an IAB route teardown. No further reproduction, cookie/history reset, or third-party export has been attempted.
creativeessenceglobal-wq commentedon Oct 27, 2026
Controlled follow-up on 2026-10-27 (user-authorized, read-only, public site only): In a NEW Codex Desktop diagnostic chat, the UI's Full access permission mode was selected. Test 1 created one IAB tab to https://example.com/, successfully read title "Example Domain" and content, and re-read tab 1 in browser session 2: PASS, no error. Effective permission mode was inferred from the session/UI rather than directly exposed by the browser-control API.
Test 2 in the SAME diagnostic chat used only supported read-only browser inventory, with no new tab, navigation, refresh, or recovery. The original tab was absent; session 2 reported an empty tab list. Therefore cross-test persistence and tab/session binding are INCONCLUSIVE. No error was emitted. Reliable elapsed time and webview teardown diagnostics were unavailable.
This supports successful initial IAB attachment under Full access, but does not establish Full access as a fix for the original post-attachment "Tab 1 is not part of browser session" failure. It also cannot establish why the tab disappeared between turns. Please advise whether IAB tab lifetime across chat turns is expected and whether a supported tab reacquisition/recovery API exists. No third-party website, export, files, cookies, or settings were modified during the tests.
creativeessenceglobal-wq commentedon Oct 27, 2026
Follow-up: read-only lifecycle-log diagnostic was inconclusive due to unavailable supported log access.
In the affected Codex Desktop diagnostic chat, the agent reported that no supported read-only local diagnostic-log inspection interface was exposed. Consequently it could not establish timestamps or examine WebView disposal, guest teardown, tab-route mapping, tab cleanup, or application restart/crash records. The observed evidence remains: the public Example Domain tab attached and was re-read successfully under a newly selected Full access UI mode; in a later check in the same chat, browser session 2 still appeared but its tab inventory was empty. The original "Tab 1 is not part of browser session" error was not reproduced in these tests. Whether this is expected temporary-tab cleanup or an abnormal lifecycle failure is unknown; Full access is not a confirmed fix.
Maintainer guidance requested:
No log export, unsupported local inspection, new browser tab, VideoExpress access, or export was performed during this follow-up.
lishuguang9188-collab commentedon Oct 29, 2026
I am experiencing a similar issue on Windows 10 with Codex Desktop version 26.1023.51421.
The built-in Browser returned this exact error:
Tab 2 is not part of browser session 01a18758-702e-7232-98a6-9e5b0ae2b248Codex could not create or read a page within that browser session, so it did not retrieve the website title or page content.
I have already submitted in-app feedback with ID
01a18758-702e-7232-98a6-9e5b0ae2b248. Browser navigation has also timed out in previous attempts.I have not changed configuration files, modified the website, or changed security permissions.
Could this be related to browser session or tab routing on Windows?
creativeessenceglobal-wq commentedon Oct 29, 2026
Controlled post-update regression on Windows 10, Codex Desktop 26.1023.51421 (build 22530, production channel; CLI 0.165.0, distinct from Desktop). User-authorized, public https://example.com/ only, supported IAB browser controls; no permission/settings changes, authenticated navigation, VideoExpress access, or exports.
Phase B — PASS (same turn): Initial inventory had no tabs. Created exactly one Example Domain tab (browser ID 2, tab ID 1). Title and accessibility tree were readable; re-reading the same tab succeeded.
Phase C — FAIL (next turn in the same diagnostic chat): Inventory STILL listed browser ID 2 / tab ID 1, title
Example Domain, URLhttps://example.com/. However, attempting to re-read that preserved tab failed with the exact error:The agent stopped without creating a replacement tab or attempting further use of the handle. Phase D was not run.
This differs from our earlier test where the session remained but its tab inventory was empty, and from the original
Tab 1 is not part of browser sessionerror. It demonstrates a cross-turn browser-control availability failure, but does not establish the same root cause or that the new error is a tab-ownership failure. Browser tab visibility in inventory alone did not establish successful access.A separate commenter also reports the original tab/session error on this same Desktop version; their report is independent and not a reproduction of our exact Phase C error.
Maintainer request: Could you clarify whether
browser.user is unavailableafter a turn boundary is expected IAB tool lifecycle behavior, a known regression, or a distinct issue? Please advise on an officially supported recovery/reacquisition procedure that preserves browser authentication state and a safe, read-only diagnostic mechanism to distinguish tool unavailability from stale tab ownership. No further retries or local modifications were made.creativeessenceglobal-wq commentedon Oct 29, 2026
Official support follow-up — in-app diagnostic feedback reference for this existing IAB issue.
Following OpenAI Support's instructions, I submitted feedback from the affected Codex Desktop diagnostic conversation. The app issued this feedback ID while finalizing diagnostic submission:
01a04d65-ab6c-7f00-bfaa-815c3e0c1a56Environment
Observed errors
Tab 1 is not part of browser sessionbrowser.user is unavailableLatest regression summary: One https://example.com/ IAB tab was created and read twice successfully in Phase B. In the next turn of the same diagnostic chat, browser ID 2 / tab ID 1 remained in the inventory but the read failed with
browser.user is unavailable. No further interaction, replacement tab, permissions changes, browser-state clearing, VideoExpress access, or export occurred. See #57107 (comment) for full results.Support stated it cannot independently verify that the diagnostic upload completed merely from the issued feedback ID. Engineering request: Please correlate this feedback reference with any received session/diagnostic data, confirm whether the submission is retrievable if possible, and advise on the cause and supported recovery for cross-turn IAB tool unavailability versus stale tab/session ownership. Please do not assume the two errors share a proven root cause.
This is a diagnostic feedback ID, not an authenticated browser session token. No raw logs or session credentials are being posted publicly.
creativeessenceglobal-wq commentedon Oct 29, 2026
Additional controlled reproduction — cross-turn In-App Browser tab disappearance (Windows 10, Codex Desktop)
Follow-up to my earlier reports on this issue. Two consecutive, strictly read-only gates were run in the same Codex diagnostic conversation; no VideoExpress access was involved.
Gate A0 — PASS (within one Codex turn)
2, tab ID1.https://example.com/, titleExample Domain.Gate A1 — BLOCKED (next Codex turn)
2still existed (ChatGPT in-app browser).tabs: []; previously usable tab ID1was absent.Tab not found in browser 2.Interpretation: Same-turn accessibility reads can work, while the tab disappears across turns. This is a reproducible cross-turn tab persistence/control failure, not evidence of a VideoExpress-specific issue. Root cause remains unknown. Earlier observations also included
browser.user is unavailableafter a successful first turn.Environment previously reported: Codex Desktop
26.1023.51421(build22530, production), Windows 10 Pro 22H2 (build19045.7807); CLIcodex-cli 0.165.0(separate from desktop app). In-app feedback ID:01a04d65-ab6c-7f00-bfaa-815c3e0c1a56.Could maintainers advise whether tab lifetime across turns is expected and which supported diagnostic/recovery path should be used? No further recovery attempt has been made.
creativeessenceglobal-wq commentedon Nov 8, 2026
Request for maintainer triage and supported recovery — issue still blocking work
This issue remains open, with no confirmed root cause, supported recovery procedure, or fix identified in this thread. It is materially blocking an ongoing browser-based workflow on Windows 10.
The evidence already documented here includes:
https://example.com/page can be attached and read successfully within one turn, yet browser/tab ownership or availability fails on a subsequent turn in the same diagnostic conversation.Tab 1 is not part of browser sessionandbrowser.user is unavailable; a separate user has reported a similar Windows 10 failure.01a04d65-ab6c-7f00-bfaa-815c3e0c1a56.We have supplied multiple controlled, read-only reproductions and have avoided modifying application permissions, sandbox settings, or authenticated websites as part of this follow-up.
Could a Codex maintainer please provide:
Please avoid closing this as resolved solely on the basis of a successful same-turn browser read; the documented regression is across turns. This is a request for concrete technical guidance and prioritization, not a claim that the root cause has been established.
Thank you.
Kristas21 commentedon Nov 10, 2026
New reproduction on 2026-11-10: inventoried IAB tab fails to attach, fresh tab retains website authentication
At the user's explicit request, adding a new, read-only observation to this existing report.
Environment: Windows desktop app; installed MSIX package
OpenAI.Codex 26.1029.7803.0(queried today); built-in ChatGPT in-app browser (iab). This is not the Chrome extension.Observed during the same diagnostic turn, around 16:07–16:10 UTC:
getAXState()fails after approximately 15 seconds with:Scope and limits: This reproduces an attachment/control failure for an existing inventoried tab while a fresh tab remains usable and authenticated. It does not establish website logout, a general browser outage, or a common root cause with every earlier error in this issue. A separate application's login screen was also observed, but its authentication state has not been conflated with this Instagram attachment error.
Impact: recurring interruptions of a scheduled workflow and misleading requests to the remote user to reconnect an account that remains authenticated. The agent's earlier blanket "disconnected" conclusion was corrected.
Please investigate stale/restored IAB tab attachment across turns, and provide a supported recovery path that preserves website authentication. This fresh-tab workaround worked in this observation; cross-turn persistence and a permanent fix are not established.
No account handles, private URLs, full session IDs, credentials, cookies, private messages, screenshots of authenticated pages, or raw logs are included.