How do I debug error ECONNRESET in Node.js?

后端 未结 14 1271
刺人心
刺人心 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:28

    I had the same issue and it appears that the Node.js version was the problem.

    I installed the previous version of Node.js (10.14.2) and everything was ok using nvm (allow you to install several version of Node.js and quickly switch from a version to another).

    It is not a "clean" solution, but it can serve you temporarly.

提交回复
热议问题