After setting the user_id, I rewrote no_proxy.py with reference to #22:
uri = "wss://proxy.wynd.network:4650/"
server_hostname = "proxy.wynd.network",
- async with websockets.connect(uri, ssl=ssl_context, extra_headers=custom_headers,
+ async with websockets.connect(uri, ssl=ssl_context, additional_headers=custom_headers
server_hostname=server_hostname) as websocket:
Then, I got the error:
2025-02-21 15:40:17.147 | ERROR | __main__:connect_to_wss:69 - Multiple exceptions: [Errno 111] Connect call failed ('18.209.133.16', 4650), [Errno 111] Connect call failed ('34.197.157.38', 4650), [Errno 111] Connect call failed ('54.86.220.122', 4650)
Does anyone know how to fix this error?
My environment is Python 3.12.4 with below:
async-timeout==5.0.1
loguru==0.7.3
python-socks==2.4.4
websockets==15.0
websockets_proxy==0.1.3
After setting the user_id, I rewrote
no_proxy.pywith reference to #22:uri = "wss://proxy.wynd.network:4650/" server_hostname = "proxy.wynd.network", - async with websockets.connect(uri, ssl=ssl_context, extra_headers=custom_headers, + async with websockets.connect(uri, ssl=ssl_context, additional_headers=custom_headers server_hostname=server_hostname) as websocket:Then, I got the error:
Does anyone know how to fix this error?
My environment is Python 3.12.4 with below: