How do I debug error ECONNRESET in Node.js?

后端 未结 14 1447
刺人心
刺人心 2020-11-22 04:02

I\'m running an Express.js application using Socket.io for a chat webapp and I get the following error randomly around 5 times during 24h. The node process is wrapped in for

14条回答
  •  温柔的废话
    2020-11-22 04:40

    I also get ECONNRESET error during my development, the way I solve it is by not using nodemon to start my server, just use "node server.js" to start my server fixed my problem.

    It's weird, but it worked for me, now I never see the ECONNRESET error again.

提交回复
热议问题