Node.js(使用socket.io和express)抛出“events.js:71 throw arguments ; //未处理“错误”事件“

我正在使用socket.io运行express(通过nginx代理),并在一段时间后(应用程序一段时间工作正常)控制台抛出:

events.js:71 throw arguments[1]; // Unhandled 'error' event ^ Error: socket hang up at createHangUpError (http.js:1360:15) at ServerResponse.OutgoingMessage._writeRaw (http.js:507:26) at ServerResponse.OutgoingMessage._send (http.js:476:15) at ServerResponse.OutgoingMessage.write (http.js:749:16) at XHRPolling.doWrite (/home/xyz/chat/node_modules/socket.io/lib/transports/xhr-polling.js:67:17) at XHRPolling.HTTPPolling.write (/home/xyz/chat/node_modules/socket.io/lib/transports/http-polling.js:132:8) at XHRPolling.Transport.onDispatch (/home/xyz/chat/node_modules/socket.io/lib/transport.js:222:10) at Socket.dispatch (/home/xyz/chat/node_modules/socket.io/lib/socket.js:230:38) at Socket.packet (/home/xyz/chat/node_modules/socket.io/lib/socket.js:214:10) at Socket.emit (/home/xyz/chat/node_modules/socket.io/lib/socket.js:368:15) 

有任何想法吗?

       

网上收集的解决方案 "Node.js(使用socket.io和express)抛出“events.js:71 throw arguments ; //未处理“错误”事件“"