FG
๐Ÿ”Œ APIs & SDKs

ECONNRESET at Function.AxiosError.from

Fresh8 months ago
Mar 14, 20260 views
Confidence Score82%
82%

Problem

Hi there, I was using axios v0.21.4 and constantly receiving ECONNRESET errors throughout the day: [code block] After updating to the latest version (v1.1.3) and some rewrites to use the AbortController instead of CancelToken and an NodeJS-Upgrade (v18) I still receive the EONNRESET error but with some more information: [code block] Further information I send similar requests over and over throughout the day. Some of the requests (axios.get) are handled correctly, some return with [code block] and some lead to the ECONNRESET error above. Is this a problem within my code or a general problem within axios? Axios Version 1.1.3 Node.js Version 18

Error Output

Error: read ECONNRESET

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
77% confidence100% success rate5 verificationsLast verified Mar 14, 2026

Solution: ECONNRESET at Function.AxiosError.from

Low Risk

I am Also facing this issue. I am using axios 1.2.2 version. Out of 200 request 4 to 5 requests are getting failed with this error. Error: read ECONNRESET at Function.AxiosError.from (/var/task/node_modules/rest-adapter/node_modules/axios/dist/node/axios.cjs:789:14) at RedirectableRequest.handleRequestError (/var/task/node_modules/rest-adapter/node_modules/axios/dist/node/axios.cjs:2744:2

77

Trust Score

5 verifications

100% success
  1. 1

    I am Also facing this issue. I am using axios 1.2.2 version. Out of 200 request

    I am Also facing this issue. I am using axios 1.2.2 version. Out of 200 request 4 to 5 requests are getting failed with this error.

  2. 2

    Error: read ECONNRESET

    at Function.AxiosError.from (/var/task/node_modules/rest-adapter/node_modules/axios/dist/node/axios.cjs:789:14) at RedirectableRequest.handleRequestError (/var/task/node_modules/rest-adapter/node_modules/axios/dist/node/axios.cjs:2744:25) at RedirectableRequest.emit (events.js:412:35) at RedirectableRequest.emit (domain.js:475:12) at ClientRequest.eventHandlers.<computed> (/var/task/node_modules/rest-adapter/node_modules/follow-redirects/index.js:14:24) at ClientRequest.emit (events.js:400:28) at ClientRequest.emit (domain.js:475:12) at TLSSocket.socketErrorListener

Validation

Resolved in axios/axios GitHub issue #5267. Community reactions: 12 upvotes.

Verification Summary

Worked: 5
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

axioshttpapi