hitbtc-com / hitbtc-api

HitBTC API
GNU Lesser General Public License v3.0
324 stars 153 forks source link

Disconnects during subscribeOrderbook #143

Open fujiapple852 opened 6 years ago

fujiapple852 commented 6 years ago

Connecting to the Websocket and subscribing to all orderbooks caused the websocket to disconnect. I suspect it may relate to the subscription rate though no error is raised by the websocket. Issue began occurring yesterday (14th March 2018), prior to that this worked fine so perhaps something has changed on he server?

Minimal Python code which reproduces the problem (most of the time from my EC2 node but not every time): https://pastebin.com/G0eMaAxg

Can someone else run this simple code and confirm the issue?

hitbtc-com commented 5 years ago

@fujiapple852 , in order to connect to websocket and subscribe to data of interest, please follow the example of Python Websocket API Client - https://github.com/Crypto-toolbox/hitbtc.