Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

490
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda