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

Cannot subscribe to websockets #56

Closed
Sharaddition opened this issue Oct 20, 2022 · 0 comments
Closed

Cannot subscribe to websockets #56

Sharaddition opened this issue Oct 20, 2022 · 0 comments

Comments

@Sharaddition
Copy link

Sharaddition commented Oct 20, 2022

Unable to run any example in USD-M Websockets.

Error Message-

INFO:root:Connection with URL: wss://fstream.binance.com/stream?streams=btcusdt@bookTicker/ethusdt@bookTicker/eosusdt@bookTicker
INFO:root:Start to connect....
WARNING:root:WebSocket connection closed: connection was closed uncleanly ("SSL error: certificate verify failed (in tls_process_server_certificate)"), code: 1006, clean: False, reason: connection was closed uncleanly ("SSL error: certificate verify failed (in tls_process_server_certificate)")
ERROR:root:Lost connection to Server. Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]. Retrying: 1
INFO:root:Start to connect....
WARNING:root:WebSocket connection closed: connection was closed uncleanly ("SSL error: certificate verify failed (in tls_process_server_certificate)"), code: 1006, clean: False, reason: connection was closed uncleanly ("SSL error: certificate verify failed (in tls_process_server_certificate)")
ERROR:root:Lost connection to Server. Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.

Retrying: 11
{'e': 'error', 'm': 'Max reconnect retries reached'}

I tried updating certifi from 2021.10.8 to certifi-2022.9.24

Solution- binance/binance-connector-python#57 (comment)

It would be very helpful if the team could add a warning for Windows or Anaconda users since there are many users with this same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant