Node.jsRunbook 0/2 done
ECONNRESET

Node.js Error ECONNRESET: Connection reset by peer

Error↻ Retryable · exponential backoffNetwork
TL;DR · 10-second read

The remote side abruptly closed the socket, often a keep-alive connection the server or LB already timed out. Retry idempotent requests and keep client idle timeouts below the server's.

Identify: does your log match?

What you see · exact log / response
Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:216:20) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'read'
}

Fix

Being written

Copy-paste fixes for ECONNRESET are in the enrichment queue

The summary above is verified. Paste your full trace into the decoder for a diagnosis now.

Open the decoder →

Related errors

Last verified 2026-10-13 · Source: POSIX errno + Node.js ERR_* codes (doc/api/errors.md) · Official docs ↗ · ~22,200 searches/mo