python-bittrex-websocket-aio
python-bittrex-websocket-aio copied to clipboard
Periodic "Bittrex connection successfully closed."
First of all thanks for this library - very helpful. However I'm noticing that my connections periodically close without much information as to why. Its not that big of a deal, except I don't see a way to poll the connection object to make sure that it is still connected (https://github.com/slazarov/python-signalr-client/blob/master/signalr_aio/_connection.py).
Here is the log message I'm receiving:
2019-12-27 23:35:51 - bittrex_websocket.websocket_client - INFO - Bittrex connection successfully closed.
It also doesn't appear to auto-reconnect. I'm wondering if anybody using this library has found a simple solution to improve connection stability, or to recover failed/closed connections quickly and seamlessly.
Hey, I no longer actively maintain the socket libraries but can you try handling it in def _connection_handler in websocket_client.py?