LearnBoost/socket.io — Issue #678: socket.io not working with uncaughtException
Author: langxangvn
Created: 2011-12-05 09:04:06+00:00
State: open

After running for a while, socket.io do not response to the request any more.
Here is uncaught exception log:

Error: UNKNOWN, unknown error\\n
at Object.writeSync (fs.js:321:18)\\n
at SyncWriteStream.write (fs.js:1412:6)\\n
at Object. (console.js:25:18)\\n
at [object Object].log (/home/node_app/node_modules/socket.io/lib/logger.js:78:15)\\n
at [object Object].debug (/home/node_app/node_modules/socket.io/lib/logger.js:95:14)\\n
at XHRPolling.doWrite (/home/node_app/node_modules/socket.io/lib/transports/xhr-polling.js:72:12)\\n
at XHRPolling.write (/home/node_app/node_modules/socket.io/lib/transports/http-polling.js:120:8)\\n
at XHRPolling.onDispatch (/home/node_app/node_modules/socket.io/lib/transport.js:222:10)\\n
at Manager.onDispatch (/home/node_app/node_modules/socket.io/lib/manager.js:368:31)\\n
at SocketNamespace.packet (/home/node_app/node_modules/socket.io/lib/namespace.js:156:16)

Error: UNKNOWN, unknown error\\n
at Object.writeSync (fs.js:321:18)\\n
at SyncWriteStream.write (fs.js:1412:6)\\n
at Object. (console.js:25:18)\\n
at [object Object].log (/home/node_app/node_modules/socket.io/lib/logger.js:78:15)\\n
at [object Object].debug (/home/node_app/node_modules/socket.io/lib/logger.js:95:14)\\n
at answer (/home/node_app/node_modules/socket.io/lib/static.js:333:22)\\n
at Static.write (/home/node_app/node_modules/socket.io/lib/static.js:341:12)\\n
at Manager.handleRequest (/home/node_app/node_modules/socket.io/lib/manager.js:542:19)\\n
at Server. (/home/node_app/node_modules/socket.io/lib/manager.js:114:10)\\n
at Server.emit (events.js:70:17)

Error: UNKNOWN, unknown error\\n
at Object.writeSync (fs.js:321:18)\\n
at SyncWriteStream.write (fs.js:1412:6)\\n
at Object. (console.js:25:18)\\n
at [object Object].log (/home/node_app/node_modules/socket.io/lib/logger.js:78:15)\\n
at [object Object].debug (/home/node_app/node_modules/socket.io/lib/logger.js:95:14)\\n
at answer (/home/node_app/node_modules/socket.io/lib/static.js:333:22)\\n
at Static.write (/home/node_app/node_modules/socket.io/lib/static.js:341:12)\\n
at Manager.handleRequest (/home/node_app/node_modules/socket.io/lib/manager.js:542:19)\\n
at Server. (/home/node_app/node_modules/socket.io/lib/manager.js:114:10)\\n
at Server.emit (events.js:70:17)