Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

493
Views
Node.js: getting read ECONNRESET on windows

I upload the file with a readstream via busboy module, if app gets the "limit" event - app sends an error and deletes the uploaded file, and, accordingly, completes the download.

I'm stopping the download like this

  file.on('limit', async () => {
    removeFile(organizationId, fileName); 
    req.unpipe(busboy);
    next(new Error('File too large'));
  });

Andon Windows we catch the error:

Error: read ECONNRESET
 at TCP.onStreamRead (node: internal / stream_base_commons: 211: 20)
 at TCP.callbackTrampoline (node: internal / async_hooks: 130: 17)

Everything works on Linux without problems.

Nothing else arrives in the trace, all debugging attempts are in vain. This shit is noted exclusively on Windows.

Any ideas what might be causing it?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!