HTTPS error “data length too long” in s3_pkt.c from Socket.io

I’m unsure weather it works. But here’s my idea/suggestion: Idea: I assume that you (possibly) tried to access a URL which is too long. This happens if data often is tansmitted via GET-Parameters. The official limit for a URL is below 512 Bytes. Details: The HTTP specification says that a protocol line may be at … Read more

socket.io: disconnect event isn’t fired

Put your on disconnect code inside your on connect block and edit it a bit like so: io.sockets.on(‘connection’, function (socket) { count++; io.sockets.emit(‘count’, { number: count }); socket.on(‘disconnect’, function () { console.log(‘DISCONNESSO!!! ‘); count–; io.sockets.emit(‘count’, { number: count }); }); }); This way you’re detecting when a specific socket (specifically the socket you pass to … Read more

Proxying WebSockets with TCP load balancer without sticky sessions

I think what we need to understand in order to answer this question is how exactly the underlying TCP connection evolves during the whole WebSocket creation process. You will realize that the sticky part of a WebSocket connection is the underlying TCP connection itself. I am not sure what you mean with “session” in the … Read more