Skip to content

[Windows] Chrome Browser Use repeatedly loses debugger attachment and times out after extension reinstall (26.1013.40934) #55554

Open

Description

@sunnyvaliko

Problem

Chrome Browser Use intermittently reads pages and successfully types/submits text, but repeatedly stalls or loses debugger attachment. The user explicitly requested this report after repeated failures prevented completion of a normal authorized browser task.

Verified environment

  • Windows desktop app MSIX package: OpenAI.Codex 26.1013.4894.0
  • Desktop release / bundled browser and chrome plugins: 26.1013.40934
  • Google Chrome, user's existing signed-in profile
  • Supported cua_repl browser API (extension backend)
  • Microsoft Store update check on 2026-10-20 reported no newer version.

Observed errors

  • Debugger unattached
  • Timed out after 10000ms waiting for CDP command Emulation.setFocusEmulationEnabled.
  • CDP operation exceeded its deadline before command dispatch
  • Timed out ... waiting for CDP command Input.dispatchMouseEvent.
  • Timed out after 10000ms waiting for CDP command Page.navigate.
  • 30/60-second JS execution timeouts that reset the kernel.

Reproduction / actual behavior

  1. Discover the user's Chrome via cua.getState(); profile and existing tab titles/URLs are returned.
  2. Claim an existing ordinary authenticated tab via cua.getTab(...).
  3. Read getAXState, fill a visible textbox, press Return, or click a visible heading/button.
  4. Some reads and text submissions succeed and are verified in subsequent UI state. Other operations time out, including focus setup when claiming another tab. A click may have actually completed despite a timeout; state must be checked to avoid duplicate actions.
  5. Following debugger detachment, reading/reclaiming the existing tab can fail; a fresh tab temporarily worked before failures recurred.

Checks and recovery attempted

  • Official Chrome diagnostics report the native-host manifest/registry registration correct and the extension enabled in the user's Default profile.
  • Diagnostics initially selected an unused Profile 3 with no extension. Opening the user's existing Default profile via the official plugin helper restored extension discovery. No new profile was created. This did not resolve the subsequent CDP failures.
  • The user reinstalled the Chrome extension and restarted the desktop app. A new extension instance appeared and discovery succeeded; the same CDP focus/input errors and kernel-reset timeouts recurred afterward.
  • Desktop and browser versions/paths match the runtime selected in desktop logs; no config or policy bypass was applied.
  • Separate native Computer Use attempt previously hit the URL-confidence stop described in [Windows] Computer Use stops at get_window_state: cannot determine current browser URL (Chrome and Edge) #51524. Separately, the in-app browser returned No ChatGPT browser route is available for browser session ... and webview-attach timeout. A shared cause is NOT established.

Expected

Stable tab attachment, actionable diagnostics for debugger/focus transport failures, and reliable command outcomes after an extension reconnect. Please provide a supported repair or fixed build, preserving safety checks.

No credentials, cookies, phone numbers, account names, authenticated page contents, screenshots, personal paths, or raw logs are included. This is a sanitized technical report.

Activity

  1. added
    bug
    app
    windows-os
    on Oct 20, 2026
  2. muxemaxopani commented on Oct 28, 2026

    @muxemaxopani

    Additional occurrence on 28 October 2026 — newer Windows desktop build

    The user explicitly requested escalation after repeated browser-control failures blocked an authorized task. This adds versioned observations and a partial chat-routing recovery to this report; a shared root cause is not established.

    Environment

    • Windows NT 10.0.26200.0, x64.
    • Current ChatGPT/Codex Windows package: 26.1023.6123.0 (installed package/process metadata, not a substituted CLI version).
    • ChatGPT browser extension: 1.26.1020.11845.
    • Bundled browser plugin: 26.1023.50603.
    • Existing Chrome profile, with extension enabled and valid native-host registration.

    Observed sequence

    These are observations from this incident, not a deterministic minimal reproduction; the initial trigger is unknown.

    1. Browser inventory and native Computer Use initially timed out, including the documented retry/reset sequence.
    2. Bundled diagnostics verified Chrome running, the extension enabled in its existing profile, and valid native-host registry/manifest configuration. Opening that profile through the supported helper restored browser/tab discovery.
    3. chrome.user.claimTab(...) succeeded, but tab.playwright.domSnapshot() still failed with Timed out after 3000ms waiting for CDP command Emulation.setFocusEmulationEnabled. Other attempts returned the same command with a 10000ms timeout. Runtime.evaluate, fresh-tab navigation and screenshot capture also timed out.
    4. Separately, current-app logs repeatedly showed the real chat route associated with a temporary client-new-thread:<redacted> identifier, followed by No ChatGPT browser route is available for browser session <redacted>. The same class of route error appeared for another chat.
    5. Explicitly navigating back to the actual current chat and reopening its browser panel restored in-app browser page reading and native window enumeration. Chrome DOM reading continued to fail at focus emulation. This is partial recovery, not proof that routing caused the Chrome errors.
    6. Selecting a returned Chrome window via cua.getApp(...) reported Accessibility state unavailable for window <redacted>. Its getScreenshot() then ended Computer Use 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.

    The stop was obeyed. No URL-verification bypass was attempted.

    Additional diagnostic evidence

    • The all-profile extension diagnostic failed to parse BOM-prefixed JSON. Its documented explicit-profile override succeeded without modifying browser preferences. This may be a separate diagnostic bug.
    • The Chrome extension-host process was owned by Chrome through its command launcher. The native Computer Use helper was owned by the current desktop app. An older ChatGPT Classic app was also running, but no evidence linked it to ownership of either failing transport.
    • Browser/tab metadata continued to be available while page inspection failed.
    • getJsDialog() returned undefined on a fresh affected tab; this does not establish that no native modal existed.

    Impact and request

    Both the normal browser workflow and its native inspection fallback became unusable, leaving the requested work unfinished. Repeated retries and generic reinstall advice caused substantial frustration; an installation fault was not demonstrated.

    Please investigate stale temporary-chat ownership, Chrome attachment/focus initialization, and Windows URL recognition, and provide an actionable recovery path that preserves existing security checks. Please also make the profile diagnostic tolerate BOM-prefixed JSON. No common cause, extension incompatibility or active-debugger conflict is claimed.

    This comment contains no private app/store identifiers, account details, URLs from authenticated pages, browser history, local paths, screenshots, session UUIDs, credentials or raw logs.

  3. alirahmati8176-arch commented on Oct 30, 2026

    @alirahmati8176-arch

    Additional Windows Chrome-extension-backend occurrence; related symptoms, not a proven common root cause.

    Observed through the documented cua_repl browser API. Desktop/Chrome/plugin versions were not captured for this occurrence; versions from other reports are not substituted.

    Failed call: call_3bda190bf7734b7a85e999ef8af702d1. Owner receipt recorded at 2026-10-30T23:30:25.029Z (receipt time, not command dispatch time). Retained call duration: 4694ms; owner wall measurement: 4.7102s. No outer timeout override was supplied (documented tool default: 30000ms).

    A readonly playwright.evaluate of URL, viewport, scroll and dialog count failed with:
    CDP operation exceeded its deadline before command dispatch

    Inventory and session naming had returned successfully. No UI input, resize, retry, reload or navigation followed in this attempt. Other authorized observations had successful UI reads and locator clicks; they do not establish direct-evaluate health or durable recovery. Actual debugger release remains unconfirmed.

    If retained traces for the failed call are available, please identify:

    1. The internal CDP method and origin of the expired deadline.
    2. Enqueue, dispatch, response and cancellation/closure timing.
    3. Target/session/claim-generation correlation with the inventory target, and any readonly-scope preparation or commands left pending after failure.
    4. A documented supported correction or a narrowly specified discriminating diagnostic.

    Please return technical phase/timing/correlation only; do not publish retained page/account/authentication data. No page values, account details, private URLs, local paths, screenshots, raw logs, session transcripts or network bodies are included. Trace retention/availability is not assumed. No additional reproduction was run for this report.

  4. alirahmati8176-arch commented on Nov 2, 2026

    @alirahmati8176-arch

    Follow-up on 2 November 2026. Desktop-reported version 26.1027.30824, build 22943, production channel; the official configured update check returned up_to_date. Installed Chrome metadata reports 156.0.8078.74.

    Increasing exposed evaluate/locator timeouts to 30 seconds and the outer tool limit to 60 seconds did not prevent shorter internal CDP dispatch deadlines. In a fresh Codex chat, reading an existing page and one menu open/close initially succeeded. During the authorized continuation, another menu click timed out before command dispatch (tool duration 4.121 seconds); the single read to determine its effect then returned Debugger unattached (3.222 seconds). The mutation was not replayed.

    A same-browser comparison also had successful website interactions while a separate extension-enhanced page intermittently failed; later, both native-page and extension controls worked in the same tab before another failure. Neither extension incompatibility nor a common root cause is established. A fresh chat is therefore only a temporary observed recovery, not a confirmed fix.

    Please provide a supported way to diagnose debugger attachment loss, pending-command cancellation and native-transport liveness for this build, or identify a confirmed fixed build. No process termination, security bypass or connector-code modification was performed. No private URLs, account data, browser/chat identifiers, screenshots or raw logs are included.

  5. mkiskis commented on Nov 9, 2026

    @mkiskis

    Persistent recurrence on 9 November 2026: timeout/reattachment failures and disruptive native-control fallback

    The user explicitly requested this escalation because the issue has become persistent and very disruptive to normal work. Please investigate both the browser-runtime failure and the separate failure to respect a repair-only restriction on native computer use.

    Environment verified for this occurrence

    • Windows desktop package: OpenAI.Codex 26.1103.4239.0.
    • Bundled Chrome/browser service: 26.1103.32239.
    • ChatGPT Chrome extension: 1.26.1102.11740.
    • Chrome installed-version metadata: 156.0.8078.80.
    • Existing signed-in Chrome profile; supported cua_repl extension backend.
    • Bundled extension diagnostic reports installed and enabled. Native-host diagnostic reports correct manifest, allowed origins and registry registration. These checks verify installation, not sustained CDP health.

    Observed failure sequence

    This is a retained incident sequence, not a deterministic minimal reproduction. Times are UTC on 9 November.

    1. Browser discovery returned tabs while page operations repeatedly failed. Focus initialization timed out at 22:37:26, 22:41:28 and 22:46:00 with:
      Timed out after 10000ms waiting for CDP command Emulation.setFocusEmulationEnabled.
    2. Input.dispatchMouseEvent timed out at 22:47:46 and 22:48:39. Debugger unattached followed at 22:50:36 and 22:51:10.
    3. At 23:07:16, getAXState again failed at focus initialization. A supported DOM snapshot succeeded at 23:07:37; a locator click and snapshot succeeded at 23:07:46. No native recovery occurred between those calls. This establishes temporary recovery within Chrome, not immunity of DOM snapshots to the underlying fault.
    4. Other same-day tasks also recorded Runtime.evaluate, Page.navigate, Page.captureScreenshot, Page.getFrameTree and deadline-before-command-dispatch failures.

    Installed-source findings

    Read-only inspection found a concrete failure-amplification mechanism:

    • Extension executeCdp catches CdpCommandTimeoutError and, for tab commands, clears attachment state and calls chrome.debugger.detach unless preserveDebuggerOnTimeout is true. A timeout can therefore itself produce debugger detachment.
    • Browser-service attachTab awaits Emulation.setFocusEmulationEnabled before registering the tab as attached and running attachment handlers. A focus timeout fails reattachment.
    • The extension's onDetach forwarding callback accepts only the source argument and forwards that through onCDPDetach. Chrome's reason argument is discarded at this boundary.

    These findings explain how timeouts can cascade into reattachment failures and identify missing diagnostic information. They do not establish what initially blocked Chrome in every occurrence, or prove that every detachment used this cleanup path.

    Source fingerprints:

    • browser-service.mjs: SHA-256 122f844ba24b81e6b0ee62cd7285220a279d71a074035e24f80e6c5f7b93344b; attachTab/enableFocusEmulation at line 1405.
    • Installed extension background.js: SHA-256 3ccdc7a853700c9fdd8acf8356db33ef18615d17c8a6d2b0054cafe65eb6c7b9; executeCdp/timeout cleanup at line 39 and detach forwarding at line 53.

    Separate, bounded obstruction

    An earlier task explicitly reported that another extension UI blocked automation. One native Escape action was followed by a successful extension page read. The service maps “Cannot access a chrome-extension:// URL of different extension” to that message. The responsible extension was not identified. This episode must not be generalized into a diagnosis for all command timeouts. In-app-browser routing warnings likewise have no established causal connection to these Chrome failures.

    Disruptive fallback and instruction violation

    At 22:35:16 the user explicitly instructed: “use computer to fix it and then revert to chrome extension use.” The agent acknowledged that boundary. At 22:50:51 it switched to native Chrome controls, then used native navigation, file selection and upload actions to continue the actual task. These were not connection-repair actions. At 23:00:35 the user again instructed it to use Chrome. The agent subsequently described its native use as restoring the connection, which was inaccurate.

    The user reports that this interferes with normal desktop work. Repeated connection failures must not expand a narrow recovery authorization into permission to operate the task through foreground mouse/keyboard controls.

    Requested resolution

    1. Retain detach reasons and distinguish timeout-triggered cleanup from external detachment. Add content-free command phase/timing, deadline and target-generation diagnostics.
    2. Make attachment initialization recoverable, including modal-aware handling related to Windows Chrome dialog.accept() stalls in Emulation.setFocusEmulationEnabled after a save click opens a JavaScript confirm #43653. Preserve URL, permission and ownership checks.
    3. Review timeout-triggered detachment and pending-command reconciliation. Do not blindly replay timed-out mutations or simply remove cleanup without integration testing.
    4. Enforce repair-only native fallback: perform only the specific recovery action, return immediately to extension control and verify a page read; if recovery fails, stop UI task execution.
    5. Provide a confirmed fixed build or a narrowly specified supported diagnostic. Prior reports here already document recurrence after reinstall and increased timeouts.

    The investigation used logs, local diagnostics and source inspection without new UI interaction. No vendor code, browser settings or security checks were modified. No credentials, authenticated URLs, private paths, account details, raw logs, screenshots or business documents are included. No permanent technical fix is claimed.

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

    appbrowserbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions