Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests.sync.test_client.ProxyClientTests.test_secure_socks_proxy is flaky (timeout) #1584

Open
aaugustin opened this issue Jan 26, 2025 · 1 comment
Labels

Comments

@aaugustin
Copy link
Member

aaugustin commented Jan 26, 2025

======================================================================
ERROR: test_secure_socks_proxy (tests.sync.test_client.ProxyClientTests.test_secure_socks_proxy)
Client connects to server securely through a SOCKS5 proxy.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/websockets/websockets/tests/sync/test_client.py", line 335, in test_secure_socks_proxy
    with connect(get_uri(server), ssl=CLIENT_CONTEXT) as client:
         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/websockets/websockets/.tox/py/lib/python3.13/site-packages/websockets/sync/client.py", line 381, in connect
    connection.handshake(
    ~~~~~~~~~~~~~~~~~~~~^
        additional_headers,
        ^^^^^^^^^^^^^^^^^^^
        user_agent_header,
        ^^^^^^^^^^^^^^^^^^
        deadline.timeout(),
        ^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/runner/work/websockets/websockets/.tox/py/lib/python3.13/site-packages/websockets/sync/client.py", line 92, in handshake
    raise TimeoutError("timed out during handshake")
TimeoutError: timed out during handshake

----------------------------------------------------------------------
@aaugustin
Copy link
Member Author

@aaugustin aaugustin added the bug label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant