Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 握手授权后socket.io卡滞_Javascript_Node.js_Socket.io - Fatal编程技术网

Javascript 握手授权后socket.io卡滞

Javascript 握手授权后socket.io卡滞,javascript,node.js,socket.io,Javascript,Node.js,Socket.io,当客户端连接到我的服务器上的socket.io时,日志中会显示以下内容: info - handshake authorized mEc9O3ZUWHGWDFEXOETd debug - client authorized info - handshake authorized P8qyZTT2Da_2hbc7OETe debug - client authorized info - handshake authorized Za3KNS-01iYjSPugO

当客户端连接到我的服务器上的socket.io时,日志中会显示以下内容:

   info  - handshake authorized mEc9O3ZUWHGWDFEXOETd
   debug - client authorized
   info  - handshake authorized P8qyZTT2Da_2hbc7OETe
   debug - client authorized
   info  - handshake authorized Za3KNS-01iYjSPugOETf
   debug - client authorized
   info  - handshake authorized h2TfSTE3nRzyJkiKOETg
   debug - client authorized
   info  - handshake authorized YrLDHKQuptqNeG8KOETh
   debug - client authorized
   info  - handshake authorized cW5H6R2vSro2_RO0OETi
握手后什么也没发生

对于firebug,我看到最初的socket.io请求正在发出,并返回一个200 OK,但是它没有像应该的那样返回响应


这可能是什么原因造成的?我使用的端口必须同时打开入站和出站吗?

问题出现在版本0.9.2 pre-in节点中。安装了0.8.8并开始工作。