Common WebSocket error codes
Below are some of the common codes and keywords that indicate the WebSocket was disconnected and you need to implement a reconnect logic:
Code 1006 (abnormal closure)
ECONNRESET
📘
Implement WebSocket reconnect logic or implement a dedicated gateway.
Common WebSocket error codes Below are some of the common codes and keywords that indicate the WebSocket was disconnected and you need to implement a reconnect logic:
Code 1006 (abnormal closure) ECONNRESET 📘 Implement WebSocket reconnect logic or implement a dedicated gateway.
https://docs.chainstack.com/docs/handle-real-time-data-using-websockets-with-javascript-and-python#managing-websocket-reconnections