passport.socketio blocking all requests
JosefKuchar opened this issue · 2 comments
JosefKuchar commented
Hello,
passport.socketio not working for me and it doesn't generating any errors. It simply blocks all requests from client and if i will do this
io.use(passportSocketIo.authorize({
cookieParser: cookieParser,
key: "connect.sid",
secret: configSessions.secret,
store: sessionStore,
success: socketIoAccept,
fail: socketIoReject
}));
io.sockets.on("connection", function(socket) {
console.log("new connection!");
});
no console output, can u help me?
SOCKET.IO VERSION: 1.5.1
PASSPORT.SOCKETIO VERSION: 3.7.0
JosefKuchar commented
After some waiting, i got this error
Redis connection in broken state: connection timeout exceeded
JosefKuchar commented
Ok, my bad. I didn't run a redis server :D