#20611: fix(browser): skip port check when attachOnly is enabled
size: XS
Cluster:
Browser Enhancements and Fixes
When using attachOnly: true with localhost CDP URL (e.g., behind Nginx reverse proxy), OpenClaw was checking port availability and failing even though the user doesn't want to launch a local browser.
This fix adds attachOnly to ResolvedBrowserProfile and skips the port availability check when attachOnly is true.
Fixes #20595
---
### Testing
- [ ] untested
- [ ] lightly tested (code review + build)
- [x] fully tested
### Note
This is an AI-assisted PR (built with OpenClaw). The fix is minimal (6 lines changed) and builds successfully. However, full testing requires setting up the Nginx + Cloudflare Tunnel environment described in the issue.
Most Similar PRs
#9020: fix(browser): skip port ownership and WS reachability checks for re...
by yepack · 2026-02-04
69.0%
#15595: fix(browser): avoid local port conflicts for remote cdp
by TsekaLuk · 2026-02-13
68.9%
#13568: Fix browser (OpenClaw-managed) launch fail by binding remote debugg...
by singlag · 2026-02-10
67.6%
#14944: fix(browser): prefer openclaw profile in headless/noSandbox environ...
by BenediktSchackenberg · 2026-02-12
66.2%
#17760: fix(browser): rewrite 0.0.0.0 and [::] wildcard addresses in CDP We...
by joeharouni · 2026-02-16
63.1%
#8282: Fix: Enable browser downloads via CDP Browser.setDownloadBehavior
by vishaltandale00 · 2026-02-03
62.7%
#8614: fix(browser): detect early chromium exit to prevent startup hang
by Wren-OC · 2026-02-04
61.8%
#17645: fix: browser control service actually start HTTP server in Docker
by MisterGuy420 · 2026-02-16
61.7%
#6033: fix(app:macos): 【 OpenClaw ⇄ clawdbot 】- Peekaboo Bridge discovery...
by lumpinif · 2026-02-01
60.6%
#19495: fix: handle Chrome process re-parenting on Windows
by andenwick · 2026-02-17
60.4%