LearnBoost/socket.io — Issue #574: Client with number of connections to same server causes transports to error
Author: ryanto
Created: 2011-10-12 20:13:50+00:00
State: open

Using websockets this doesn't exist, but when I use xhr/jsonp transport this happens when I open 10 tabs to the same page.

Node App / Socket.io fills with:

info - handshake authorized 11704506851050415967
info - transport end
warn - client not handshaken client should reconnect
info - transport end

A couple of these lines every second. These lines quickly fill up the log files.

The client gets this trace during all this:

Uncaught TypeError: Property 'open' of object # is not a function
socket.io.0.8.5.js:1688

Socket.connect
socket.io.0.8.5.js:1688

XHRPolling.ready
socket.io.0.8.5.js:3474

I am able to reproduce this everytime by using xhr/jsonp and opening up a bunch of tabs.