You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, for long-living WS connections, sometimes the connection gets lost by "Connection reset by peer". I'm not sure about the reason but I assume there is a possibility that the ping frame from the server is lost and the server didn't get the pong frame from the client for a while. If so, is there a way to send a ping frame from the client once in a while to make sure the connection stays alive?
Based on https://dev.binance.vision/t/how-to-send-ping-pong-to-binance-websocket-server/43 the server would respond to ping frames from the client.
The text was updated successfully, but these errors were encountered:
Hi, for long-living WS connections, sometimes the connection gets lost by "Connection reset by peer". I'm not sure about the reason but I assume there is a possibility that the ping frame from the server is lost and the server didn't get the pong frame from the client for a while. If so, is there a way to send a ping frame from the client once in a while to make sure the connection stays alive?
Based on https://dev.binance.vision/t/how-to-send-ping-pong-to-binance-websocket-server/43 the server would respond to ping frames from the client.
The text was updated successfully, but these errors were encountered: