Open tingshuai opened 1 day ago
Hi @tingshuai - can you reproduce this with simple code like this: https://gist.github.com/tiagosiebler/113c7dec34f75603254cff990f36849b
I've tried to force a pong timeout to see if the reconnection logic has any issues, and I don't see any problems:
It recovers successfully and re-subscribes as expected. It's possible that the typeerror is thrown by your code somewhere in your event handler (your callstack within the event handler). Either way, if you can show me how to reproduce it with a simple scenario, I can try to help futher.
can you reproduce this with simple code like this:
I tested the same minimal code that fits my environment on both CodeSandbox and my local machine and found:
oxk-api version:^1.4.10; node v20.10.0 as image show: