Recently we notice that some VPN service providers may disconnect the websocket connection, that can be very hard to debug for client.
It’s quite common to see API users subscribe to websocket server through a VPN. However some VPN providers may disconnect the connection when seeing it’s in
Binance websocket service is very stable and the server maintain a connection at lest 24hours. So if clients connected to Binance websocket server, but repeatedly see disconnection in a short time. Please check:
- If the client connected with a VPN
- disconnect the VPN and see it’s more stable
- change to a different VPN
- subscribe a activate market data stream, make sure there is data pushed from server, and see if it improve the connection stability