sidorares / sidorares/node-mysql2

ECONNRESET

Open
#128 27 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs investigation
Dominant language
TypeScript
Stars
4.4k
Forks
680
Avg merge
9h 7m
Merged PRs (30d)
59

Description

I 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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue provides no repository file, test, or reproducible case. Start by reproducing the intermittent ECONNRESET with node-mysql2 and its pool, then determine the source of the reset; done requires a confirmed cause and a documented resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, node.js
Domain
backend, databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.