Closed GezaBoi closed 5 years ago
Hello!
What was necessary to restart? Your app or macOS?
The error message "OSError - [Errno 8] nodename nor servname provided, or not known" indicates that your system was not able to resolve the address of binance websocket endpoints.
if it happens again, try to reset the DNS cache, set down the TTL or disable the DNS cache: https://coolestguidesontheplanet.com/clear-the-local-dns-cache-in-osx/
Best regards, Oliver
I just restarted my app. That fixed it. It is also running since then without any problem, but I will get back to you if it crashes again.
In the end I want to run the app on a linux server. Do you think the bug is caused by macOS?
i run this lib on servers and i have just one reconnect in about 2 weeks per stream. The most interruptions are caused by the internet connection it self.
The reason why the lib cant reconnect to the binance endpoints is: OSError - [Errno 8] nodename nor servname provided, or not known
And thats a task and message of the operating system...
I am also testing with macOS but only the latest version and not in a datacenter:
Check this or we will delete your issue. (fill in the checkbox with an X like so: [x])
Select one:
Environment
Operating System? (include version)
Python Version Requirement
Exact Python Version?
Python 3.6.0
Pip Version?
pip 10.0.1
Dependencies
Run
pip list > pip_list.txt
and upload the file. pip_list.txtUNICORN Binance WebSocket API Version?
1.6.3
Description of your issue
Today in the Morning at 2019-07-31 05:48:55,454 the Websocket got the last message from Binance. Then the Stream crashed and was not able to reconnect. Only a restart later solved the problem. Relevant logs: