socket.io-client icon indicating copy to clipboard operation
socket.io-client copied to clipboard

why transport is getting discarded

Open rahul23134 opened this issue 14 years ago • 0 comments

This is my firebug log . GET http://myserver.net:8004/socket.io/1/xhr-polling/1387057728472476589?t=1324358697203 200 OK 346ms
GET http://myserver.net:8004/socket.io/1/xhr-polling/1387057728472476589?t=1324358697552 200 Aborted 2m 1s

This is my connecting code .

this.socket = io.connect('http://'+this.config.host+':'+this.config.port);

why on third request it get aborted after 2m1s why it is not getting replied. from server .

info - handshake authorized 1387057728472476589 debug - setting request GET /socket.io/1/xhr-polling/1387057728472476589?t=1324359000279 debug - setting poll timeout debug - client authorized for debug - clearing poll timeout debug - xhr-polling writing 1:: debug - set close timeout for client 1387057728472476589 in connection1387057728472476589 debug - setting request GET /socket.io/1/xhr-polling/1387057728472476589?t=1324359000598 debug - setting poll timeout debug - discarding transport debug - cleared close timeout for client 1387057728472476589 debug - setting request GET /socket.io/1/xhr-polling/1387057728472476589?t=1324359000598 debug - setting poll timeout debug - discarding transport debug - clearing poll timeout debug - clearing poll timeout debug - xhr-polling writing 8:: debug - clearing poll timeout debug - xhr-polling writing 8:: debug - set close timeout for client 1387057728472476589 debug - xhr-polling closed due to exceeded duration debug - set close timeout for client 9156028501601592989 debug - xhr-polling closed due to exceeded duration debug - fired close timeout for client 9156028501601592989 info - transport end debug - discarding transport debug - fired close timeout for client 1387057728472476589 info - transport end debug - discarding transport debug - setting request GET /socket.io/1/xhr-polling/1387057728472476589?t=1324359000598 debug - setting poll timeout debug - clearing poll timeout debug - xhr-polling writing 7:::1+0 debug - set close timeout for client 1387057728472476589 warn - client not handshaken client should reconnect info - transport end debug - cleared close timeout for client 1387057728472476589 debug - discarding transport debug - discarding transport debug - xhr-polling received data packet 0:: debug - got disconnection packet debug - client authorized

when i reduced the log level than this warning came

warn - client not handshaken client should reconnect warn - unknown transport: "undefined"

what can i do to not happening this , my firefox version 3.6 .

rahul23134 avatar Dec 20 '11 05:12 rahul23134