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
Hi guys I have a very similar scenario to #202 but based on cookies. For some reason the cookie in on('upgrade', function (req, socket, head) is always undefined. I was wondering if somebody here could point me into the right direction. Here is my current setup:
varport=8000;vario=require('socket.io-client');varsocket=io.connect('http://127.0.0.1:'+port);socket.on('connect',function(){socket.emit('ping','hi from client: '+port);});socket.on('pong',function(data){console.log(data);});
The text was updated successfully, but these errors were encountered:
Hi guys I have a very similar scenario to #202 but based on cookies. For some reason the cookie in
on('upgrade', function (req, socket, head)
is always undefined. I was wondering if somebody here could point me into the right direction. Here is my current setup:Balancer:
Server:
Client:
The text was updated successfully, but these errors were encountered: