You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix CDP WebSocket dying after idle: add 30s heartbeat, clear stale timers
The Playwright-to-Chrome CDP WebSocket connection silently dies after ~2
hours of idle due to Linux tcp_keepalive_time defaulting to 7200s. Once
dead, page.goto() hangs forever on the next request.
Fix: send a lightweight Browser.getVersion CDP command every 30 seconds
to keep the connection alive. Also clear the withPage hard timeout timer
on success to stop ghost HARD TIMEOUT log entries.
0 commit comments