Remove /cluster path from websocket URI

- Client connects to wss://host:port instead of wss://host:port/cluster
- Fixes connection loop issue
parent d87215b6
......@@ -59,7 +59,7 @@ class ClusterClient:
ssl_context.check_hostname = False
ssl_context.verify_mode = ssl.CERT_NONE
uri = f"wss://{self.host}:{self.port}/cluster"
uri = f"wss://{self.host}:{self.port}"
self.websocket = await websockets.connect(uri, ssl=ssl_context)
# Detect available backends
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment