Open logantscott opened 4 years ago
Appears to be mostly a Chrome issue, possibly with background tabs, maybe mobile too. Possible workarounds might be upgrading transport to WS instead of polling, setting a longet pingTimeout (>= 30000ms) or shorter pingInterval (<=10000ms).
https://github.com/socketio/socket.io/issues/2769
https://github.com/socketio/engine.io-protocol#difference-between-v3-and-v4
Have you find the exact solution for this
Appears to be mostly a Chrome issue, possibly with background tabs, maybe mobile too. Possible workarounds might be upgrading transport to WS instead of polling, setting a longet pingTimeout (>= 30000ms) or shorter pingInterval (<=10000ms).
https://github.com/socketio/socket.io/issues/2769
https://github.com/socketio/engine.io-protocol#difference-between-v3-and-v4