bug xhr-polling in firefox 8, win XP
(I use [email protected] and node v0.4.8)
In firefox 8, socket io client don't abort correctly xhr connections, in my case an xhr-connection was still running but could not read data received by the server. I have to abort manually the connection to be able to receive data from server (this xhr-connection is aborted automatically after a timeout of 2mins0), response data is "7:::1+0" after automatically aborting the xhr-connection.
Even if I send data to the socket.io server this connection don't close. This problem only happens one time at the beginnning of my app when receiving data, after the connection is being aborted I can receive again data from my server.
Everything works fine on IE7,8, Chrome, Safari5 ...
If you provide some additional information, it wiil be much easier to debug this case:
- Version of node.js and Socket.IO
- Relation between main-site and comet-site: domain-name and ports for both
- Which kinds of transport are enabled?
- Source code around "Line 2293" (even better link in github to the file with line) where exception thrown
- Version of transport your FF8 use. I guess it's websocket. But maybe it's something different(maybe Flash or XHR-polling). (you can observe this activity via FireBug and see which kind of connection is active)
- Do you use "authenticaion" callback?
- If you use authentication, how exactly does it work? Via cookies? Something different?
Ideal case would be to provide also WireShark(or tcpdump) dump of network activity between your browser and Socket.IO. You can do it via: sudo tcpdump -iany -s 65535 -w sio-packets.pcap tcp port 8080 and host mywebsite.com It creates file sio-packets.pcap. You can check it's content via: tcpdump -r sio-packets.pcap or via WireShark. Than upload this file somewhere and post link to it here.
Only after you put this information, it's possible to start investigation and reproduce. Socket.IO can behave very different depending on many items and it's just not enough information to reason about your issue.