From d50821a480961492cb2fbd816fdd92b0abc95c51 Mon Sep 17 00:00:00 2001 From: justoboy Date: Wed, 26 Aug 2026 12:12:07 -0500 Subject: [PATCH] Fix: Pin websockets<10.0.0 to resolve RuntimeError with RLBot matchcomms - Added websockets<10.0.0 constraint to requirements.txt to prevent future compatibility issues Downgrades websockets to fix "no running event loop" error caused by RLBot 1.68.0 using deprecated `loop` parameter in websockets.serve() which was removed in websockets 10.x --- requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/requirements.txt b/requirements.txt index 5b13e8e..01acacf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,3 +8,7 @@ pip gevent==24.* eel>=0.12 PyQt5 + +# Pin websockets to a version compatible with rlbot's matchcomms server +# websockets 10.x+ removed the deprecated `loop` parameter +websockets<10.0.0