Skip to content

macOS desktop Chat mode: Browser.list_tabs fails with "Browser access requires the originating browser context" #54520

Open

Description

@sickn33

What version of the Codex App are you using (From “About Codex” dialog)?

ChatGPT desktop 26.1013.31256, build 20586, production channel. The macOS bundle identifier is com.openai.codex. The integrated update check reports up_to_date.

What subscription do you have?

Not collected in the diagnostic report; this is a signed-in personal account. I can provide account-specific details privately if needed.

What platform is your computer?

macOS 27.0.1 (26A434), Apple Silicon / arm64.
Microsoft Edge 155.0.4283.45.
Official ChatGPT extension from the Chrome Web Store, installed inside Edge: hehggadaopoacecdllhhajmbjkdcmajg, version 1.26.1005.11759.

What issue are you seeing?

In the native desktop app's normal Chat mode, Browser.list_tabs is exposed but fails with:

UNKNOWN: Error code: UNKNOWN; Error:
RuntimeException: Browser access requires the originating browser context.
Open ChatGPT in the browser with the connected extension and try again.

The same failure is reported in both the existing Chat and a new normal Chat created directly in the desktop app. Work succeeds in the same desktop app and is used below only as a comparison.

The extension/local bridge is healthy: the bundled extension-installation and native-host-manifest diagnostics both pass. Work in the same desktop app can discover Edge, list tabs, read a public page, follow its link, go back, reload, and read again.

Surface / check Result
Normal Chat on ChatGPT Web in Edge User previously confirmed successful tab listing
Bundled extension check Installed and enabled
Bundled native-host manifest check correct=true, no missing origins
Desktop Work: Edge discovery and tab listing Pass
Desktop Work: public page read, navigation, back, reload Pass
Existing normal desktop Chat: Browser.list_tabs Fails with the error above
New normal desktop Chat: Browser.list_tabs Same failure
Chat page reading Not attempted after enumeration failed

What steps can reproduce the bug?

  1. Install/enable the official ChatGPT Chrome Web Store extension in Microsoft Edge, and keep the desktop app running.
  2. Confirm that both official bundled diagnostics pass:
    • check-extension-installed.js --browser edge --json
    • check-native-host-manifest.js --browser edge --json
  3. Verify Edge access from desktop Work using only a public page. In this case, tab listing, reading example.com, following its IANA link, going back, and reloading all succeeded.
  4. Create a new normal Chat directly in the desktop app, rather than on the web or in the extension sidebar.
  5. Request an actual Browser.list_tabs call. In the test below it returned the originating-browser-context error, without returning a tab list.

Test-method limitation: the user created the new Chat directly in the desktop UI, then a local diagnostic Work task opened it with navigate_to_codex_page and submitted the test with send_message_to_thread. The Chat's response reports the real Browser call and exact error; read_thread exposes that request/response but not the raw internal Browser trace. A directly hand-typed desktop-composer A/B test was not independently captured. Please consider whether the cross-chat submission path is relevant. The receiving Chat also reported that it did not have sufficient metadata to independently identify its surface.

No web-search/fetch fallback was counted as browser success. No private tab contents were read. Private conversation IDs and account identifiers are omitted from this public issue.

What is the expected behavior?

Normal desktop Chat should receive the authorized originating browser context when Browser tools are available, or clearly explain that the operation is unsupported on that surface. A healthy extension and native bridge should not lead to a tool being exposed that can only return a missing-origin-context exception.

Additional information

Read-only inspection of the installed desktop bundle

The installed webview/index.html loads an entry point referencing:

webview/assets/app-initial-3ccf4886957f.js
SHA-256: d6278b4127345cf6012fe969eea9f5a2d55a13225d1fcadc23db81ef5bab78fe

The following minified identifiers are specific to this build. Relevant excerpts:

function ROt(){return VOt}
function zOt(e){VOt?.setLocation(e)}
function BOt(e){return VOt!=null&&(VOt.setAuthState(e),!0)}
var VOt;
function HOt(){return(HOt=t((()=>{})))()}

Within this module, the bridge variable VOt is declared but no assignment to it was found. Context preparation exits if that bridge is absent:

function jqa(e){let t=ROt();if(t==null)return; /* ... t.prepareSubmit(...) ... */ }

The shared Chat submission pipeline calls jqa(e) and passes its optional w?.context as sideChatContext to the request builder. The only browser_context assignment found in this module is guarded by that context:

function Mqa(e,t,n){
  if(t==null)return;
  e.client_contextual_info={app_name:`chatgpt.com`,app_surface:`browser_side_chat`};
  e.browser_context={instance_id:t.instanceId};
  // ...
}

The Chat fallback used by send_message_to_thread (Gfo → Rfo) reaches the shared Hro submission pipeline. Another UI submission call site also reaches Hro.

Hypothesis, not a verified server root cause: this native build appears to leave the side-chat context bridge uninitialized, causing browser_context.instance_id to be omitted. That is consistent with the returned exception. We did not capture the native outbound request or inspect the backend guard, so this does not establish every possible injection/routing path or prove that the cross-chat test is identical to a manually typed desktop request.

Follow-up: request construction, serialization, and available runtime evidence

The native outbound HTTP request has not been captured. The following findings combine read-only inspection of the distributed client with existing desktop logs; they are not a network trace or proof of the body received by the backend.

  • The request preparation path described above passes the optional context from jqa() through Hro() to UJa() / Mqa(). In the inspected desktop module, no initialization assignment to the bridge variable VOt was found. With no bridge/context, Mqa() returns before adding browser_context.instance_id.
  • Following the code further, hqr() constructs the POST to /f/conversation using JSON.stringify(e). Its pre-dispatch path updates client_prepare_state and may add app_attest_challenge; the inspected branches do not add browser context.
  • A scan of all distributed JavaScript modules under /webview and /.vite found one assignment that adds browser_context to a Chat request body: the Mqa() assignment shown above. The other two textual occurrences are cloud-browser-context deletion endpoints in settings, not desktop Chat context initialization.
  • We examined 37 desktop log files for October 16, 2026 (approximately 4.4 MB). They do not expose Chat HTTP request bodies. Text matches inside diagnostic-task reasoning summaries were excluded as evidence of network traffic.
  • The active session's startup log at 2026-10-16T05:54:16.684Z reports allowDebugMenu=false allowDevtools=false allowInspectElement=false buildFlavor=prod packaged=true. This confirms the production inspection settings, not the contents of an outbound request.

Interpretation: the evidence points to context being omitted during client request construction, before serialization, rather than demonstrating that context is lost in transport. This remains an inference about the live request. We have not observed the actual native request body, the backend's context association, or the server-side guard that raises the exception. The cross-chat submission limitation documented above still applies.

A fix in the official client could supply the authorized browser context to the request builder. These findings do not establish that a server-side change is mandatory, nor that a local preference can repair the native tool. No supported local setting that initializes this context was identified.

To resolve the remaining uncertainty, a supported native-request capture or an OpenAI-side trace would need to establish whether browser_context / instance_id are present, alongside the request ID, timestamp, and client surface. Private prompts, cookies, and tokens are not needed in a public report.

Scope and integrity

This report concerns only Browser.list_tabs failing in normal Chat mode in the native desktop app. Desktop Work is included as a successful comparison test, not as a workaround.

The installed app was inspected read-only. App signature verification outside the diagnostic sandbox passed: valid on disk / satisfies its Designated Requirement. No app patching or re-signing was performed.

Could a maintainer confirm whether Browser access is intended to work in normal native desktop Chat in this build, and whether native/context initialization or the cross-chat submission path needs to supply the originating extension identity?

Activity

  1. added
    bug
    app
    on Oct 16, 2026
  2. changed the title [-]macOS desktop Chat: Browser.list_tabs rejects missing originating context despite healthy Edge extension and working Work mode[/-] [+]macOS desktop Chat mode: Browser.list_tabs fails with "Browser access requires the originating browser context"[/+] on Oct 16, 2026
  3. applepie-artist commented on Oct 26, 2026

    @applepie-artist

    I'm experiencing the same issue on Codex/ChatGPT Desktop for macOS.

    The built-in browser works normally, and Codex can interact with pages (including clicking elements) without Full CDP Access enabled. However, ChatGPT cannot even list the open tabs, despite receiving the current tab's URL in its context.

    Explicitly invoking @Browser produces the same error:

    Browser access requires the originating browser context. Open ChatGPT in the browser with the connected extension and try again.

    Switching to Work mode doesn't help either — Work cannot access the existing built-in browser tab.

    This seems to be a browser session/context integration issue rather than a missing browser permission. It would be great if ChatGPT and Work could access the same built-in browser session as Codex, without requiring a separate browser or extension.

  4. savior714 commented on Oct 27, 2026

    @savior714

    Additional reproduction on 2026-10-27 (KST), extending this report to the ChatGPT browser extension's side panel, not just the native desktop app's normal Chat.

    Observed setup

    • The user opened the connected Chrome browser's ChatGPT side panel, in Work mode, with an existing application tab explicitly selected.
    • The side-chat context already identified the selected tab and its URL to the assistant. The user also tried explicitly mentioning the current tab and invoking the Chrome/browser connector.
    • We then attempted to use the official Browser plugin from this side-chat context: setupBrowserRuntime(), agent.browsers.get('extension') (and browser read/discovery operations). The tool failed before returning any tabs or page content, with the same error:
    Browser access requires the originating browser context.
    Open ChatGPT in the browser with the connected extension and try again.
    

    Why this adds information

    • The "open ChatGPT in the browser with the connected extension" instruction was already followed: this attempt originated in the browser's extension side panel, with a selected tab advertised in the conversation context.
    • There was no successful tab enumeration or DOM/page read; no navigation, refresh, clicks, or writes were performed.
    • This is a user-visible reproduction of the same missing-origin-context failure on a second surface. It does not prove which field was or was not sent in the underlying request, or establish the backend root cause.

    Expected: The connected extension side panel should provide the authorized originating browser context for the selected tab, or clearly explain an unsupported configuration without exposing an unusable Browser tool.

    I have intentionally omitted private tab IDs, account identifiers, and session data.

  5. Cunningham520 commented on Oct 27, 2026

    @Cunningham520

    me too
    i cannot connect the chrome
    chatgpt extention

  6. HITMONEY1 commented on Oct 27, 2026

    @HITMONEY1

    Confirmed on PC Chrome extension “Browser access requires the originating browser context” error. It broke right in the middle of a project. It was in Work mode when the bridge broke.

  7. willrobinsonmba-lgtm commented on Oct 27, 2026

    @willrobinsonmba-lgtm

    Just happened to me this morning. Broke during Work chat.

  8. vigneshTheDev commented on Oct 27, 2026

    @vigneshTheDev

    I'm also facing this today

  9. SoftCreatR commented on Oct 27, 2026

    @SoftCreatR

    Happens on Windows as well.

  10. KarrarAlAsfoor commented on Oct 27, 2026

    @KarrarAlAsfoor

    Just happened on Linux mint (google chrome) as well

  11. kennytim360-arch commented on Oct 27, 2026

    @kennytim360-arch

    Happens on Brave running on Windows also

  12. Growth360 commented on Oct 27, 2026

    @Growth360

    Alguien ha encontrado la solución ??

  13. seunthewebguy commented on Oct 27, 2026

    @seunthewebguy

    I am also having the same issue. Started this morning. I also saw this on the status page: https://status.openai.com/incidents/01M5YY4A3TQETEQ53DVSK8SW10

  14. wykryt-spec commented on Oct 27, 2026

    @wykryt-spec

    Additional report, 27 October 2026: the same error is reproducible in a ChatGPT Work conversation on Windows, before local browser tabs can be enumerated:

    Browser access requires the originating browser context. Open ChatGPT in the browser with the connected extension and try again.

    Error code: UNKNOWN. The Browser plugin fails during extension-runtime initialization. The user tried reopening Chrome and requesting Edge from the conversation; the error occurs before the selected browser family can be verified, so this is not proof of a successful Edge connection. Other service connectors remain available.

    The exact desktop and extension builds have not been independently collected. We have not captured request bodies or established the root cause. No private tabs, credentials, conversation identifiers, or account details are included.

    A separate report posted today describes regular Chat succeeding while Work fails with the same message: https://community.openai.com/t/browser-access-works-in-regular-chatgpt-chat-but-fails-in-chatgpt-work/1410147

    Please investigate whether Work also has a missing originating-context path and share a verified recovery procedure. This is preventing continued work that requires the authorized local browser.

  15. seunthewebguy commented on Oct 27, 2026

    @seunthewebguy

    The Desktop app on Mac is working for now.

    Image
  16. GeneOSWeb commented on Oct 27, 2026

    @GeneOSWeb

    Additional verified Windows/Chrome reproduction, 27 October 2026.

    Environment

    • Windows x64; Google Chrome.
    • ChatGPT desktop 26.1021.31345, About dialog release date 23 October 2026. In-app update check reports “ChatGPT is up to date.”
    • Official Chrome Web Store ChatGPT extension 1.26.1020.11845, installed and enabled in the active Chrome profile.
    • Desktop Computer Use settings recognize Chrome and show Manage/Installed with its browser toggle enabled. Chrome extension site access is “On all sites”; the ChatGPT website-permission list shows default “Always allow” with no exceptions displayed.

    Failure
    Browser control previously worked during an ongoing Work task, then became unavailable for an extended period. The user reports the problem across conversations. Attempts from the Chrome extension side panel also failed; the conversation received selected-tab metadata identifying the side-panel context, yet the Browser tool rejected a minimal call before any JavaScript executed or tabs could be enumerated:

    Browser access requires the originating browser context.
    Open ChatGPT in the browser with the connected extension and try again.
    

    Tool error code: UNKNOWN. Both fresh runtime initialization and minimal connection checks return this same response. Browser tools also intermittently disappear from the tools exposed to the conversation; when they return, the same error remains.

    Troubleshooting already attempted

    • Computer/browser restart and chat-page refresh.
    • Reopening the conversation through the extension side panel.
    • Clearing ChatGPT-only Chrome site data, then retrying.
    • Checking desktop updates and extension enablement/site permissions.
    • Temporarily enabling full CDP access and testing again: no change.

    A separate Desktop Commander connector successfully executed a harmless PowerShell echo on the same Windows host during the failed Browser checks. This is only a comparison showing that this other connector works; it does not establish the health of Browser's native messaging bridge.

    Impact / request
    This repeatedly interrupts authenticated UI acceptance work and causes extended downtime. Please investigate the originating-browser-context handoff for Work/extension-side-panel requests and provide a verified recovery procedure or fix. The fact that the user followed the instruction to use the connected browser side panel did not resolve this case.

    No backend root cause or missing request field has been proven. No private tab URLs/IDs, host identifiers, conversation transcripts, financial data, screenshots, credentials or tokens are included in this public report.

  17. Chefskii commented on Oct 28, 2026

    @Chefskii

    Anyone know if this was resolved today? I had this same issue this morning with Brave and the extension and ended up finding this post!

  18. seunthewebguy commented on Oct 28, 2026

    @seunthewebguy

    Open a new chat; it's working for me.

  19. GeneOSWeb commented on Oct 28, 2026

    @GeneOSWeb

    Additional reproduction / diagnostic update from Windows Chrome on 2026-10-28:

    A fresh ChatGPT thread was used specifically to test whether starting from a new conversation would recover Browser access. It did not.

    New observed failure:

    Browser control requires your permission.

    This is different from the earlier Browser access requires the originating browser context message, but the Browser tool still fails before tab enumeration.

    What was verified during this reproduction:

    • Chrome ChatGPT extension is enabled.
    • Extension version: 1.26.1020.11845.
    • Chrome Site access is set to On all sites.
    • The extension has the expected broad permissions, including page debugger access, reading/changing data on all sites, browsing history, bookmarks, downloads, and native-app communication.
    • ChatGPT Browser/plugin permission was explicitly changed to Allow all actions for this test.
    • The active Chrome profile is the expected signed-in profile.
    • Native Messaging host com.openai.codexextension is registered.
    • Its manifest explicitly allows the active ChatGPT extension origin chrome-extension://hehggadaopoacecdllhhajmbjkdcmajg/.
    • The native host executable exists locally.
    • Opening the ChatGPT Chrome side panel successfully launches extension-host.exe for that exact extension origin.
    • The ChatGPT side panel is visibly attached/active on the current browser tab.

    Despite all of that, invoking Browser still returns:

    Browser control requires your permission.

    No corresponding Allow/Approve permission UI is surfaced anywhere in the ChatGPT web UI or Chrome extension side panel, so there is nothing the user can actually click to grant the requested permission.

    This narrows the failure to the conversation/browser authorization handoff rather than ordinary Chrome extension site permissions, extension enablement, native-host registration, or native-host startup.

    No cache clearing, extension reinstall, browser restart, or permission-reset loop was repeated during this reproduction.

  20. GeneOSWeb commented on Oct 28, 2026

    @GeneOSWeb

    Additional diagnostic evidence from Windows/Chrome on 2026-10-28:

    • ChatGPT Chrome extension service worker DevTools was opened while reproducing the failure.
    • Console showed the extension tunnel active with only [browser-tunnel] setup, [browser-tunnel] setup, and [browser-tunnel] polling messages; no red console errors appeared before or after the failed Browser attempt.
    • The native extension-host.exe remained running and connected to the exact ChatGPT extension origin during the failure.
    • Chrome extension permissions were already broad (On all sites), the extension was enabled, and the native messaging manifest explicitly allowed the installed ChatGPT extension ID.
    • Despite that, ChatGPT remained blocked. Depending on the attempt, the Browser layer returned either Browser control requires your permission. with no approval UI surfaced, or failed immediately after Browser tool discovery with Resource not found: Browser.list_tabs.

    This narrows the failure away from a missing Chrome site permission, a dead extension service worker, or a crashed native host. It appears to be upstream of the extension tunnel / in the ChatGPT browser-tool authorization or context handoff. No private tab IDs, account identifiers, or session data included.

  21. GeneOSWeb commented on Oct 28, 2026

    @GeneOSWeb

    Further Windows/Chrome diagnostic update, 2026-10-28:

    Two additional client-side reset tests were completed after the prior service-worker/native-host checks:

    1. Clean extension reinstall

      • Removed the official ChatGPT browser-control extension.

      • Closed Chrome, reopened it, and reinstalled the official extension (hehggadaopoacecdllhhajmbjkdcmajg).

      • Reopened the ChatGPT side panel.

      • Browser tool discovery still exposed Browser.list_tabs, but invoking it immediately failed with:

        Resource not found: Browser.list_tabs

      • Re-discovering the Browser tool and retrying produced the same result.

    2. Fresh ChatGPT web authentication session

      • Signed out of ChatGPT web, closed ChatGPT tabs/side panel, reopened chatgpt.com in the same Chrome profile, signed back into the same account, reopened the conversation and side panel.

      • Browser tool discovery again succeeded, but the minimal tab-list call still failed immediately with:

        Resource not found: Browser.list_tabs

    These tests rule out stale extension installation/state and stale ChatGPT web authentication state as likely causes on this machine. Combined with the earlier evidence (extension tunnel polling normally, native extension-host.exe alive, no service-worker console errors, broad site permissions, native manifest allowing the exact extension ID), the failure continues to point upstream of the local extension/native host toward the ChatGPT Browser tool/session authorization/context handoff.

    The previously suggested “open a new chat” workaround also did not recover Browser access on this setup. No private tab IDs, URLs, session tokens, account identifiers, or credentials are included.

  22. GeneOSWeb commented on Oct 28, 2026

    @GeneOSWeb

    Additional correlation from OpenAI's public sources on 2026-10-28 (not claiming root cause):

    • OpenAI's status page recorded a same-day incident titled "Degraded Performace on ChatGPT Work" affecting the ChatGPT Work component. The public status text only stated that OpenAI was investigating a potential issue; the main status page is now back to fully operational.
    • OpenAI's Help Center article for the built-in browser / Chrome extension was updated five days ago and says the Chrome extension can be used from ChatGPT on the web, mentions @Chrome / selecting a tab from the + menu, and says browser permissions can be reviewed under Settings > Chrome extension.
    • On this affected account, that Settings > Chrome extension entry is not visible in the current ChatGPT Settings UI, despite the official extension being installed and functioning locally enough to launch its service worker/native host.
    • OpenAI's current release notes do not include a browser-extension fix or known-issue note for Oct 27-28. The Oct 27 entry is unrelated (iCloud Mail/Calendar plugins); Oct 26 is GPT-6.1 Terra rollout.
    • OpenAI Developer Community has multiple independent reports from Oct 27 describing the same Browser access requires the originating browser context failure, including Chrome/Edge/Brave and multiple PCs/accounts. Some users report intermittent recovery or success with the built-in browser, but no verified OpenAI staff workaround or public acknowledgement of this exact regression was found.

    This is only timeline/context evidence. It does not establish that the ChatGPT Work status incident caused the browser-context failure. The browser-context issue was observed before that status incident window on this setup and persisted afterward.

  23. ilyakamens commented on Nov 2, 2026

    @ilyakamens

    I'm also running into this error, both in Codex (terminal) and in ChatGPT Chat. Only ChatGPT Work works.

  24. sassan-ali-tat commented on Nov 4, 2026

    @sassan-ali-tat

    We are experiencing a related browser-session/context failure in current macOS desktop Work mode (app 26.1029.61003, build 24614). We documented a concrete session here: #59393.

    Our surface is desktop Work mode rather than the normal Chat surface described in this issue; we are not claiming the same root cause. Three authenticated tabs remained visible and were reported in ambient context, while cua.getState(), cua.listTabs() and browser.tabs.list() returned no tabs. Resetting the runtime sometimes recovered the original tabs and later failed to do so.

    As a user who has encountered this class of failure for months, I find the continued unreliability unacceptable. It repeatedly blocks real work and wastes substantial time. Reconnecting to an already-open tab is a basic product requirement; from the user's perspective it is difficult to understand why this still has no dependable recovery path. Please prioritize investigation, name an owner, and provide a concrete status update and supported workaround.

    A session timeout/expired attachment is a strong suspicion because access worked earlier and subsequently disappeared. We have not measured a repeatable idle interval or captured an expiry event, so this is a hypothesis rather than a proven cause. Please specifically check attachment/session TTLs, keepalive/refresh behavior and reattachment after expiry.

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

    appbrowserbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions