ECONNRESET
See original GitHub issueI get these errors sometimes. Randomly.
Error: read ECONNRESET
at exports._errnoException (util.js:742:11)
at TCP.onread (net.js:535:26)
and
Error: write ECONNRESET
at exports._errnoException (util.js:742:11)
at Object.afterWrite (net.js:749:14)
I read somewhere that this also happens on node-mysql
, but that it could be fixed by using pool. I began using pool, but it still happens.
Suggestions?
Issue Analytics
- State:
- Created 9 years ago
- Comments:26 (10 by maintainers)
Top Results From Across the Web
How do I debug error ECONNRESET in Node.js?
ECONNRESET occurs when the server side closes the TCP connection and your request to the server is not fulfilled. The server ...
Read more >What does “Error: read ECONNRESET” mean? - Quora
You might have guessed it already: it's a connection error. "ECONNRESET" means the other side of the TCP conversation abruptly closed its end...
Read more >Fixing an ECONNRESET error - Postman
The ECONRESET error means that the server unexpectedly closed the connection and the request to the server was not fulfilled. Connection-related ...
Read more >How do I debug error ECONNRESET in Node.js?
“ECONNRESET” means the other side of the TCP conversation abruptly closed its end of the connection. This is most probably due to one...
Read more >Return code ECONNRESET for TCP/IP - IBM
Depending upon the platform or platforms your enterprise uses, you receive the following return code when the connection is reset by peer (ECONNRESET):....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
for anyone getting this error randomly. i guess you’re supposed to write this wrapper around
pool.query
(or whatever call you’re using). stops the problem for me.For one I agree that this driver should have a ‘keep alive’ option. It’s hard to debug and there are no ‘using’ keyword like c# that makes it easy o handle in JavaScript
Thursday, January 10, 2019, 6:42 PM -0500 from notifications@github.com notifications@github.com: