Skip to content

[Bug]: Remote CDP (Browserless) blocked with “Port is in use … but not by openclaw” (OpenClaw 2026.2.12) #15582

@bsormagec

Description

@bsormagec

Version
•⁠ ⁠OpenClaw: ⁠ 2026.2.12 (f9e444d) ⁠
•⁠ ⁠Setup: WSL2 + Windows Docker
•⁠ ⁠Remote CDP: ⁠ ghcr.io/browserless/chromium ⁠ (self-hosted)

Docs reference
https://docs.openclaw.ai/tools/browser#browserless-hosted-remote-cdp

Evidence

1) Profile is configured as remote CDP

⁠ ~/.openclaw/openclaw.json ⁠ (sanitized):
⁠ json5
"browser": {
"profiles": {
"remote": {
"cdpUrl": "http://172.30.224.1:3145?token=",
"color": "#00AA00"
}
}
}
 ⁠

2) OpenClaw sees it as “remote”

Command:
⁠ bash
openclaw browser status --browser-profile remote --json
 ⁠

Output (sanitized):
⁠ json
{
"enabled": true,
"profile": "remote",
"running": false,
"cdpReady": false,
"cdpHttp": true,
"pid": null,
"cdpPort": 3145,
"cdpUrl": "http://172.30.224.1:3145/?token=",
"chosenBrowser": null,
"detectedBrowser": "custom",
"detectedExecutablePath": "/usr/bin/brave-browser",
"color": "#00AA00",
"headless": false,
"noSandbox": false,
"attachOnly": false
}
 ⁠

3) Remote endpoint is reachable (Browserless is up)

Command:
⁠ bash
curl -sS -D- "http://172.30.224.1:3145/json/version?token=" | head -n 25
 ⁠

Output:

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
...

{
"Browser": "Chrome/145.0.7632.6",
"Protocol-Version": "1.3",
...
"webSocketDebuggerUrl": "ws://0.0.0.0:3000"
}

4) But OpenClaw refuses to use it

Command:
⁠ bash
openclaw browser open https://example.com --browser-profile remote --timeout 30000
 ⁠

Output:

Error: Port 3145 is in use for profile "remote" but not by openclaw.
Run action=reset-profile profile=remote to kill the process.

What I expected

Since the profile uses ⁠ cdpUrl ⁠ for remote CDP, OpenClaw should attach and proceed (open/list tabs/snapshot), not enforce “port ownership by openclaw”.

Notes

•⁠ ⁠Tried ⁠ browser.attachOnly=true ⁠ (and gateway restart) → no change; same error.
•⁠ ⁠Creating a new profile with the same ⁠ cdpUrl ⁠ also produces the same error.

Request
Is this a regression/bug in ⁠ 2026.2.12 ⁠ for remote CDP profiles? What’s the correct way to use self-hosted Browserless remote CDP with ⁠ openclaw browser ⁠ CLI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions