slazarov / python-bittrex-websocket

Python websocket for Bittrex (non async).
http://python-bittrex-websocket-docs.readthedocs.io/en/latest/index.html
MIT License
103 stars 38 forks source link

Undocumented Error #62

Closed sihrc closed 6 years ago

sihrc commented 6 years ago

Getting this error continuously

2018-05-08 20:45:42 - bittrex_websocket.websocket_client - INFO - Establishing connection to Bittrex through https://socket.bittrex.com/signalr.
2018-05-08 20:45:43 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [BTC-LTC].
2018-05-08 20:45:46 - bittrex_websocket.websocket_client - ERROR - Undocumented error message received with code -1 and payload: TimeStamp. Report to https://github.com/slazarov/python-bittrex-websocket
2018-05-08 20:45:46 - bittrex_websocket.websocket_client - ERROR - Initiating reconnection procedure

The code ran: socket.subscribe_to_exchange_deltas(["BTC-LTC"])

slazarov commented 6 years ago

Post your full code.

sihrc commented 6 years ago

Ah, there was an exception in my on_public handler. The exception was swallowed and the error message was a little bit misleading.

Thanks.

slazarov commented 6 years ago

That’s what I thought. I am working on a better way to handle errors.