Skip to content

Connect call failed #25

@hkcomori

Description

@hkcomori

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions