Repository navigation
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Description
Bug Description
The browser tool consistently times out with error "timed out. Restart the OpenClaw gateway. Do NOT retry the browser tool", despite the CDP endpoint being fully functional.
Environment
- OpenClaw: 2026.4.24 (upgraded from 2026.4.15, issue existed in both versions)
- OS: Ubuntu 24.04 (Linux 6.8.0-101-generic x64)
- Node.js: v22.22.2
- Chromium: 145.0.7632.6 (Playwright chromium-1208)
- CDP endpoint:
http://localhost:9222(headless, no-sandbox)
Steps to Reproduce
- Start Chromium with CDP
browser statusreturnscdpReady: true, cdpHttp: truebrowser open/browser snapshot/browser navigateall timeout
What Works
curl http://localhost:9222/jsonreturns page targets correctly- Playwright connecting directly to the same CDP endpoint works perfectly (opens Google, gets title)
What Does Not Work
- All browser tool operations (open, snapshot, navigate) timeout
Troubleshooting Done
- Added
--disable-dev-shm-usage- no effect - Added
--disable-gpu- no effect - Verified page targets exist - not missing
- Changed
attachOnlyto false - no effect - Restarted Chromium multiple times - no effect
- Upgraded OpenClaw 2026.4.15 to 2026.4.24 - no effect
- Playwright direct CDP connection works - confirms CDP is fine
Suspicion
The OpenClaw browser plugin may have a bug in its CDP transport/handshake layer that causes it to hang despite the underlying connection being available.
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Apr 30, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 28, 2026, 4:15 AM ET / 08:15 UTC.
Summary
Keep open. Current main and v2026.6.10 still do not prove the Ubuntu external-CDP all-action timeout is fixed; source still shows an overlapping persistent Playwright remote-tab listing path without an OpenClaw operation timeout, and the active narrower repair is still open and conflicting. The FSB comment is useful workaround/comparison context, but it is external to the OpenClaw browser tool path.
Reproducibility: no. high-confidence live reproduction was established for the reporter's exact Ubuntu external-CDP all-action timeout. Source inspection does show an overlapping current-main path where persistent Playwright remote tab enumeration is awaited without an OpenClaw operation timeout.
Ways to help us reproduce this
Next step
An open conflicting PR already owns the narrower source-reproducible remote tab-enumeration path, and the broader external-CDP all-action timeout still needs live maintainer validation before a new automated fix is safe.
Review details
Best possible solution:
Keep this as the live-repro tracker for the external-CDP all-action timeout, land or replace the narrower remote-enumeration fix if it applies, then verify open, navigate, snapshot, status, and direct Playwright against the same endpoint.
Do we have a high-confidence way to reproduce the issue?
No high-confidence live reproduction was established for the reporter's exact Ubuntu external-CDP all-action timeout. Source inspection does show an overlapping current-main path where persistent Playwright remote tab enumeration is awaited without an OpenClaw operation timeout.
Is this the best way to solve the issue?
No, closing or queueing a speculative new fix is not the best path yet. The maintainable path is live reproduction plus review, repair, or replacement of the active narrower PR if it covers this failing boundary.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 9c95abd49d45.
Label changes
Label justifications:
P1: The report describes core browser tool open, navigate, and snapshot workflows becoming unusable against a CDP endpoint that direct Playwright can use.impact:crash-loop: The issue is about repeated browser tool hangs/timeouts with gateway-restart recovery guidance, which is an availability failure.Evidence reviewed
What I checked:
AGENTS.md:1, 9c95abd49d45)extensions/browser/src/browser/routes/basic.ts:139, 9c95abd49d45)extensions/browser/src/browser-tool.ts:777, 9c95abd49d45)extensions/browser/src/browser/pw-session.ts:1659, 9c95abd49d45)extensions/browser/src/browser/server-context.tab-ops.ts:215, 9c95abd49d45)Likely related people:
extensions/browser/src/browser/pw-session.ts,extensions/browser/src/browser/server-context.tab-ops.ts)extensions/browser/src/browser/pw-session.ts,extensions/browser/src/browser/server-context.tab-ops.ts,src/browser/pw-session.ts)extensions/browser/src/browser/pw-session.ts,extensions/browser/src/browser/server-context.tab-ops.ts)extensions/browser/src/browser/pw-session.ts,extensions/browser/src/browser/server-context.tab-ops.ts,extensions/browser/src/browser/pw-session.connections.test.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.LakshmanTurlapati commentedon May 13, 2026
One practical workaround while this gets debugged is to keep the browser bridge outside the OpenClaw gateway path.
I have been building FSB for that shape: Chrome extension plus MCP tools, with owned tabs, DOM snapshots, and real Chrome session access.
https://github.com/LakshmanTurlapati/FSB
It may also give a useful comparison point here since your CDP endpoint works but the OpenClaw browser tool path times out.
openclaw-barnacle commentedon Jun 4, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
steipete commentedon Jul 5, 2026
Fixed by PR #80147, landed as
bacd1c512a4f922c645da8944f0055bf3b7139f9.The failure class was the persistent Playwright remote-profile tab enumeration path: CDP HTTP health could remain responsive while page enumeration waited indefinitely. The maintained fix bounds that work by the configured remote CDP timeout, cancels late connections without replacing the live cache, and prevents an abandoned read from evicting a healthy successor.
Verification covered focused regressions, the path-scoped changed gate, and a real isolated Dev Gateway with OpenAI
gpt-5.5talking through Browser to remote Chrome. In the live failure test, CDP HTTP andBrowser.getVersionremained healthy while the connected Chromium process was suspended; the Gateway returnedPlaywright page enumeration timed out after 1000msrather than hanging. Resuming Chrome restored the tabs immediately, and a fresh agent successfully snapshotted the recovered page.Supported operation remains remote CDP with the existing timeout and SSRF controls; no browser functionality or trust boundary was relaxed. If a current release still times out after this fix with a healthy direct-Playwright connection, please open a fresh report with the OpenClaw version, CDP endpoint shape (redacted), action, and Gateway timeout log so we can distinguish a different CDP phase.