mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-26 17:41:58 -06:00
fix: respect websocket ssl context
This commit is contained in:
@@ -2039,11 +2039,12 @@ async def connect_loop():
|
||||
url = client.websocket_base_url()
|
||||
print(f"[INFO] Connecting Agent to {url}...")
|
||||
_log_agent(f'Connecting to {url}...')
|
||||
ws_kwargs = client.websocket_kwargs()
|
||||
await sio.connect(
|
||||
url,
|
||||
transports=['websocket'],
|
||||
headers=client.auth_headers(),
|
||||
ssl_verify=client.session.verify,
|
||||
**ws_kwargs,
|
||||
)
|
||||
break
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user