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
when I run it from my laptop everything is ok.
But when I try to run from server I get disconnects every 2 minutes. (error in console (*net.OpError)(0xc0004a2050)(read tcp XXX.XXX.XXX.XXX:36094->13.112.178.104:443: use of closed network connection))
so after a huge amount of tests I've figured out that binance has some kind of problems with vultr japan DC (vultr is my hoster). It closes connection after 2-3 minutes since the last data timestamp sent through this connection.
So the ability to request balance or account data through UserDataStream would be wonderful. This will keep connection alive.
Hello. I have a strange issue with UserData websocket
I start it like this
when I run it from my laptop everything is ok.
But when I try to run from server I get disconnects every 2 minutes. (error in console (*net.OpError)(0xc0004a2050)(read tcp XXX.XXX.XXX.XXX:36094->13.112.178.104:443: use of closed network connection))
Any help and ideas would be appreciated.
P.S. I do not see a way to send 'ping-pong' by requesting balance through UserDataStream ws connection (https://binance-docs.github.io/apidocs/futures/en/#websocket-user-data-request)
The text was updated successfully, but these errors were encountered: