Connection error Websocket

countryclub
countryclub edited October 9 in Python client
I am getting following error when reconnection is attempted due to connectivity glitch.

Connection error: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (429 - TooManyRequests))
how do I resolve this?
PLlease help.
  • rakeshr
    429 - TooManyRequests
    You seem to be exceeding the rate limit here while making another API call inside Websocket streaming and blocking the main thread. You can check the current rate limit here. You can also refer to this thread to know about the handling of the main thread block.
Sign In or Register to comment.