elucian
February 14, 2021, 5:43pm
1
Hello. I am experiencing an issue where after a time all of my raw websocket connections disconnect.
I usually have a few @trade raw connections open at a time. I can’t find anything about limits in this, and I am wondering what is going on.
the code i get is 1006
After disconnection, I cannot reconnect. I get ECONNECTION refused.
MJW
February 14, 2021, 11:05pm
2
Please enrich your information…
What’s the WSS URL?
What exactly did you subscribe?
Does this happen everytime or it does under specific circumstances?
elucian
February 15, 2021, 3:50pm
3
exact url is:
`wss://stream.binance.com:9443/ws/[symbol]@trade`
I am subscribing to a few of these in different instances, and they drop connection randomly. my socket readyState is 3, I attempt reconnect programatically but nothing happens.
MJW
February 16, 2021, 12:36am
4
Still need more details…
I can connect to wss://stream.binance.com:9443/ws/btcusdt@trade just fine. Please check your network stability.
Besides,
How did you reconnect? Do you mean if you connect successfully but you cannot reconnect? But if you try again you can connect? Try to be more specific