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
The listener is never fired with the default timeout value (20000). I've tried with lower values and it is the same, except when timeout < ~5000 (IE11) or < ~8000 (Chrome). This limit is not consistent..
Is it a bug, or did I missed something ?
(socket io 1.3.5)
The text was updated successfully, but these errors were encountered:
The connect_timeout event was removed in Socket.IO v3:
// either listen to the "connect_error" on the Socket instancesocket.on('connect_error',(err)=>{console.log(err);});// or listen to the "error" on the Manager instancesocket.io.on('error',(err)=>{console.log('manager',err);});
Hello,
socket = io(url, {transports: ['websocket']});
socket.io.on("connect_timeout", function() { alert("timeout!"); });
The listener is never fired with the default timeout value (20000). I've tried with lower values and it is the same, except when timeout < ~5000 (IE11) or < ~8000 (Chrome). This limit is not consistent..
Is it a bug, or did I missed something ?
(socket io 1.3.5)
The text was updated successfully, but these errors were encountered: