agentcall icon indicating copy to clipboard operation
agentcall copied to clipboard

bridge-visual.py / tunnel.py crash with websockets >= 14 (._ws.closed)

Open jomon003 opened this issue 1 month ago • 1 comments

BridgeTunnelClient._heartbeat (bridge-visual.py) and the tunnel client (tunnel.py) check self._ws.closed, which no longer exists on ClientConnection in websockets ≥ 14 → AttributeError: 'ClientConnection' object has no attribute 'closed'. requirements.txt allows websockets>=12.0, so new installs get the new API.

Fix: check the connection state instead of .closed.

Reported in #15.

jomon003 avatar Oct 22 '26 06:10 jomon003

Fixed in v1.1.16 — works with websockets 12 through 17. Thanks for the report!

jomon003 avatar Oct 22 '26 08:10 jomon003