mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:00:50 +00:00
fix(browser): honor remote CDP open timeouts
This commit is contained in:
@@ -253,6 +253,9 @@ See [Plugins](/tools/plugin).
|
||||
- `profiles.*.cdpUrl` accepts `http://`, `https://`, `ws://`, and `wss://`.
|
||||
Use HTTP(S) when you want OpenClaw to discover `/json/version`; use WS(S)
|
||||
when your provider gives you a direct DevTools WebSocket URL.
|
||||
- `remoteCdpTimeoutMs` and `remoteCdpHandshakeTimeoutMs` apply to remote and
|
||||
`attachOnly` CDP reachability plus tab-opening requests. Managed loopback
|
||||
profiles keep local CDP defaults.
|
||||
- If an externally managed CDP service is reachable through loopback, set that
|
||||
profile's `attachOnly: true`; otherwise OpenClaw treats the loopback port as a
|
||||
local managed browser profile and may report local port ownership errors.
|
||||
|
||||
@@ -193,7 +193,9 @@ Browser settings live in `~/.openclaw/openclaw.json`.
|
||||
|
||||
- Control service binds to loopback on a port derived from `gateway.port` (default `18791` = gateway + 2). Overriding `gateway.port` or `OPENCLAW_GATEWAY_PORT` shifts the derived ports in the same family.
|
||||
- Local `openclaw` profiles auto-assign `cdpPort`/`cdpUrl`; set those only for remote CDP. `cdpUrl` defaults to the managed local CDP port when unset.
|
||||
- `remoteCdpTimeoutMs` applies to remote (non-loopback) CDP HTTP reachability checks; `remoteCdpHandshakeTimeoutMs` applies to remote CDP WebSocket handshakes.
|
||||
- `remoteCdpTimeoutMs` applies to remote and `attachOnly` CDP HTTP reachability
|
||||
checks and tab-opening HTTP requests; `remoteCdpHandshakeTimeoutMs` applies to
|
||||
their CDP WebSocket handshakes.
|
||||
- `localLaunchTimeoutMs` is the budget for a locally launched managed Chrome
|
||||
process to expose its CDP HTTP endpoint. `localCdpReadyTimeoutMs` is the
|
||||
follow-up budget for CDP websocket readiness after the process is discovered.
|
||||
|
||||
Reference in New Issue
Block a user