错误“套接字挂断” - ECONNRESET

时间:2016-10-03 21:11:53

标签: mysql node.js sockets

我有一个在AWS EC2和RDP MySQL实例上运行的node.js应用程序。当我运行某个数据库操作时,控制台上面会出现以下错误。但我注意到操作正确执行。这些消息在行动之后也会出现大约20个转发。我怀疑行动完成后行动正在等待某事。当它没有达到预期的效果时,就会抛出这个错误。

有人可以提供建议吗?谢谢

Number of evaluations found: 41
GET /api/evaluation/all_evaluations/203 304 5.931 ms - -
*
{ Error: socket hang up* at createHangUpError (_http_client.js:252:15) at Socket.socketOnEnd (_http_client.js:344:23) at emitNone (events.js:91:20) at Socket.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickDomainCallback (internal/process/next_tick.js:122:9) code: 'ECONNRESET' }
POST /storedata/postdata?from=post%20SSQ%20ID&time=1475443962305 - - ms - -
POST /storedata/postdata?from=post%20SSQ%20ID&time=1475443962337 - - ms - -
POST /storedata/postdata?from=post%20SSQ%20ID&time=1475443962290 - - ms - -
*
{ Error: socket hang up* at createHangUpError (_http_client.js:252:15) at Socket.socketOnEnd (_http_client.js:344:23) at emitNone (events.js:91:20) at Socket.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickDomainCallback (internal/process/next_tick.js:122:9) code: 'ECONNRESET' }
*
{ Error: socket hang up* at createHangUpError (_http_client.js:252:15) at Socket.socketOnEnd (_http_client.js:344:23) at emitNone (events.js:91:20) at Socket.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickDomainCallback (internal/process/next_tick.js:122:9) code: 'ECONNRESET' } { Error: socket hang up at createHangUpError (_http_client.js:252:15) at Socket.socketOnEnd (_http_client.js:344:23) at emitNone (events.js:91:20) at Socket.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickDomainCallback (internal/process/next_tick.js:122:9) code: 'ECONNRESET' }

0 个答案:

没有答案