节点js ECONNRESET
events.js:72 throw er; // Unhandled 'error' event ^Error: read ECONNRESET //alternatively it s a 'write' at errnoException (net.js:900:11) at TCP.onread (net.js:555:19)error: Forever detected script exited with code: 8error: Forever restarting script for 2 time
同时添加了Socket.IO客户端错误处理程序和未处理异常处理程序。似乎这个人捕捉到了错误:
process.on('uncaughtException', function (err) {
console.error(err.stack);
console.log("Node NOT Exiting...");});Error: read ECONNRESET at errnoException (net.js:900:11) at TCP.onread (net.js:555:19)
Exception caught: Error ECONNRESET{ [Error: read ECONNRESET]
code: 'ECONNRESET',
errno: 'ECONNRESET',
syscall: 'read',
__cached_trace__:
[ { receiver: [Object],
fun: [Function: errnoException],
pos: 22930 },
{ receiver: [Object], fun: [Function: onread], pos: 14545 },
{},
{ receiver: [Object],
fun: [Function: fireErrorCallbacks],
pos: 11672 },
{ receiver: [Object], fun: [Function], pos: 12329 },
{ receiver: [Object], fun: [Function: onread], pos: 14536 } ],
__previous__:
{ [Error]
id: 1061835,
location: 'fireErrorCallbacks (net.js:439)',
__location__: 'process.nextTick',
__previous__: null,
__trace_count__: 1,
__cached_trace__: [ [Object], [Object], [Object] ] } }
精慕HU
HUH函数
随时随地看视频慕课网APP
相关分类