nodejs cluster issue with socket.io

96 views
Skip to first unread message

Abramovick

unread,
Feb 11, 2014, 1:33:02 PM2/11/14
to nod...@googlegroups.com
My app was working fine (prior to using nodejs cluster) but after introducing it an error occurs on the client side saying "WebSocket connection to 'ws://ip_address/socket.io/1/websocket/92H245FLpYWnG6jF_uK6' failed: WebSocket is closed before the connection is established."

I've checked on socket.io issues on https://github.com/LearnBoost/socket.io/issues/798 and I see other people having similar problems. Anyone knows how to fix this...? Or do I just have to ditch socket.io and use something like SockJS

i...@bodokaiser.io

unread,
Feb 18, 2014, 2:24:30 PM2/18/14
to nod...@googlegroups.com
I am not common to socket.io but I could recommend node-salve as an alternative. Just a bit advertisement ;)
Reply all
Reply to author
Forward
0 new messages