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

SSL verification failing #12

Closed
RT-Tap opened this issue Jul 16, 2021 · 1 comment
Closed

SSL verification failing #12

RT-Tap opened this issue Jul 16, 2021 · 1 comment

Comments

@RT-Tap
Copy link

RT-Tap commented Jul 16, 2021

Hey I wanted to use some of this code to compare to mine and see if the issue I'm having lies in my implementation. I just installed binance-connector on a new conda enviroment and I cant seem to connect to any of binance's servers. My code uses the standard requests library for the REST endpoint and websocket-client library for handling websockets and I don't get any of these issues.
Anyway I keep getting this error (theres a refrence to it here : ccxt/ccxt#882 with even more refrencing it but no solutions that worked at least for me):
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

Any help would be greatly appreciated as after searching around and googling I went so far as to uninstall anaconda, remove any left over files including my previous environments, reinstall anaconda and all necessary packages and previous environments and still nothing.

Thank you.

@RT-Tap
Copy link
Author

RT-Tap commented Jul 19, 2021

I got it working finally so I decided to close. Part of the solution is explained here . Although that brought up different issues, some of which I did not record for this post as I was trying to fix them, sorry, however the linked thread should be able to help.

@RT-Tap RT-Tap closed this as completed Jul 19, 2021
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