-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Node browser proxy: Chrome MCP existing-session (user profile) fails with Connection closed — consent dialog never appears #56118
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
When using the node browser proxy to access a Chrome MCP existing-session (
userprofile) on a remote node, the connection fails withMcpError: MCP error -32000: Connection closed. Chrome never shows the consent dialog that would authorize the connection.The same
userprofile works perfectly when accessed via the local gateway on the same machine.Environment
chrome://inspect/#remote-debuggingSteps to reproduce
gateway.bind=tailnetopenclaw node run --host <gateway-tailscale-ip> --port 18789browsercapability,browser.proxycommand availableopenclaw nodes invoke --node <name> --command browser.proxy --params '{"path":"/tabs","query":{"profile":"user"},"method":"GET"}'Expected
chrome-devtools-mcp --autoConnectActual
BrowserProfileUnavailableError: Chrome MCP existing-session attach failed for profile "user". Details: McpError: MCP error -32000: Connection closedopenclawprofile works fine through the same node proxyKey observations
openclaw browser --browser-profile user tabsreturns tabs correctly after consent is acceptednpx chrome-devtools-mcp@latest --autoConnecttriggers the consent dialog and Chrome connectsss -tlnp | grep 9222confirms Chrome listening on 127.0.0.1:9222DISPLAY=:0on the node host — same resultProbable cause
The node browser proxy has a short timeout for the Chrome MCP handshake. The
--autoConnectflow requires:The proxy appears to fail at step 1-2, timing out before Chrome can present the consent UI. The local gateway may have a longer timeout or different initialization path that allows the consent flow to complete.
Suggested fix
Related issues (chrome-devtools-mcp)