Why do I constantly get this error and lose my connection !?
Hi. Could you provide some more info about this?
- Which websocket endpoint and stream did you try to connect?
- Did you use any library/ package?
I got the same problem.
- wss://fstream.binance.com for User Data Streams.
- was using binance_futures_python. I was just running the example of subscribeuserdata.py in example/user, and kept getting the error as Fendool saw.
I managed to solve the problem by increasing the receive_limit_ms parameter when creating the SubscriptionClient:
sub_client = SubscriptionClient(api_key=g_api_key, secret_key=g_secret_key, receive_limit_ms=1000*3600)