-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
(fix) Websocket disconnects with 1006 and 1001 errors #15338
Comments
Hello, any news about this bug? I would like to add that CCXT pro is unusable with the FTX exchange - yet the 2nd exchange in terms of volume - due to untimely disconnections. Resolution of this bug should be top priority. Testing with multiple cloud providers and server locations (Germany and Singapore which is closer to FTX servers) did not resolve the issue. I also notice that disconnections occur in different VMs around the same time. |
+1 I'm seeing this as well, with a few exchanges. If there's a way for us to reconnect if there's not been a ws event for a while that would work too. |
@sc0Vu @ttodua Is there maybe any update on this? This keeps happening for me as well for multiple exchanges (OKX, Binance, Bybit) in multiple server environments, at seemingly random times. I get that the fix for this could be complex within CCXT, but it would be nice knowing if there is a way to instruct the Websocket to reconnect when my application catches the error to not miss out on incoming data. @alin3994 @Kinzowa Did you guys perhaps manage to find a workaround in the meantime? |
Hi @mayrsascha, disconnects and errors can happen, that is why we recommend to sorround the watch call in a while loop and a try and catch. On every call to the |
Hello,
A solution has been provided by the Hummingbot community for the bug reported in #14557 and described below. That would be awesome if someone could incorporate the fix within CCXT.
Thank you,
hummingbot/hummingbot#5723
The text was updated successfully, but these errors were encountered: