ECONNABORTED (errno 103)

errno 103

LINUX

Software caused connection abort

Linux terminal running strace with the failing system call and errno highlighted
Linux errno: trace the exact failing system call before changing anything.

What it means

ECONNABORTED is a Linux error code reported by Linux and other POSIX systems. Its official message is: “Software caused connection abort”

How to fix ECONNABORTED (errno 103)

  1. Verify the peer is still listening: 'ss -lntp' (server side) and test the port
  2. Add retry with backoff — errno-level network glitches are expected on TCP
  3. Check conntrack/iptables counters for dropped packets: 'iptables -L -v'

Related errors

Source: Linux kernel errno.h

Last updated: