Closed joshelboy closed 1 year ago
Weird...this specific topic should be emitting data every 1000ms. Are you still receiving data just before the pong timeout? Or do the ticker updates also stop happening?
The pong timeouts are designed to expect either a pong from the exchange OR any event on that ws: https://github.com/tiagosiebler/binance/blob/master/src/websocket-client.ts#L357-L363
If you saw a pong timeout, it would suggest you also stopped receiving data (which makes this forced reconnect a necessary one)..
Omg, I am so sorry. It was my DB that couldn't handle all the inserts - But I don't really understand why the WS disconnects there instead of my DB? Because my DB-Handler didn't alert me on anything... But I changed to mass insertion and it fixed my problem.
Anyways: Keep up the great work! Closing this now
weird...would be curious how that can interfere pong timer flushing...but glad you found the problem & that my lib is helping!
First - Thank you for the great handler/package!
I am currently facing a "Pong Timeout" every 3 minutes after connecting to a binance ws endpoint. It tries to reconnect from then, what isn't exactly the problem - My problem is, that this is happening after exactly 3 minutes... Every time!
My console looks like this:
My code looks like this: