Skip to content

Browser Use browser.snapshot closes RPC connection with runtime_unavailable on Orca 1.4.216 #23911

Closed

Description

@MarhabuOS

Problem

Browser Use repeatedly fails during browser.snapshot on Orca 1.4.216. The named-pipe RPC peer closes before returning a terminal response, including after a full Orca restart. The failure reproduces on an isolated local page before any click or input attempt.

Environment

Component Version
Orca application 1.4.216
Orca CLI 1.4.216
Bundled agent-browser 0.27.0
Computer Use Windows provider 1.0.0
Codex Browser plugin 26.908.40834
Bundled Node v24.20.0
Platform Windows x64

Minimal reproduction

The following sequence reproduced the failure; it has not been rerun for this issue draft:

  1. Fully restart Orca.
  2. Use an isolated local data:text/html test page containing a harmless control.
  3. Request browser.snapshot through the existing Browser Use integration.
  4. Observe runtime_unavailable before any click/input attempt.

Restart alone did not resolve the failure.

Expected behavior

Return a DOM/accessibility snapshot or a terminal RPC error response.

Actual behavior

Operation: browser.snapshot

Error code: runtime_unavailable

Exact error message:

The Orca runtime closed the connection before responding. Restart Orca and try again.

Retained failure timestamp: 2026-09-29T14:12:34.152Z.

Failing named pipe: \\.\pipe\orca-1901924-020f.

Windows GetNamedPipeServerProcessId independently identified the pipe owner as Orca application PID 1901924. The peer closed without a terminal RPC response. Orca and Node REPL remained running; no corresponding process crash was identified.

These process/transport observations are retained diagnostic evidence. The bounded app trace does not itself contain an RPC closure event.

Investigation lead: timeout and keepalive handling

Installed Orca 1.4.216 source shows:

  • RPC socket idle timeout: 30,000 ms, with a callback that destroys the socket.
  • Browser subprocess command budget: 90,000 ms, unless overridden.
  • Keepalive interval defaults to 10,000 ms; the sender starts when startKeepalive is invoked.
  • The client recognizes _keepalive frames and refreshes its timer.

This mismatch is an investigation lead, not an established root cause. No captured request-level evidence establishes whether keepalives were started, emitted or received for the failed snapshot.

Investigation lead: nearby WebView disconnection

Bounded app-trace evidence:

UTC Event
2026-09-29T14:12:03.829Z Renderer memory breadcrumb: two browser webviews and two registered browser guests.
2026-09-29T14:12:29.932Z Uncaught Error: Invalid guestInstanceId: 5; stack includes WebViewElement.disconnectedCallback and closeBrowserTab.
2026-09-29T14:13:03.844Z Renderer memory breadcrumb: one browser webview and one registered browser guest.

The guest-disconnection event is an investigation lead, not an established cause. There is no request/target correlation tying guest 5 to the failed snapshot. Temporal proximity alone does not establish causation.

Questions for maintainers

  1. Is this a known Orca 1.4.216 Browser Use issue?
  2. Is there a supported diagnostic that captures the browser-helper/CDP side of browser.snapshot?
  3. Is there a supported repair or workaround?
  4. Could snapshot handling require RPC keepalive beyond the current 30-second idle boundary?
  5. Is the guest WebView disconnection relevant to Browser Use target lifecycle?

Please advise on a supported diagnostic or repair for this reproducible browser.snapshot named-pipe RPC closure. This report does not authorize remote access or any repair action.

Proposed supporting files

  • trace-excerpt.ndjson: three sanitized renderer records from the bounded failure window.
  • transport-notes.txt: retained pipe ownership observations and small installed-source timeout/keepalive excerpts.

No complete logs or diagnostic bundle are proposed. No files have been uploaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions