← Back to PRs

#20611: fix(browser): skip port check when attachOnly is enabled

by unblockedgamesstudio open 2026-02-19 04:26 View on GitHub →
size: XS
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