# Error "read ECONNRESET" displayed while running Postman collection using Collection runner

**URL:** <https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179>\
**Category:** Help Hub\
**Tags:** collection-runner\
**Created:** [October 28, 2020, 7:09am UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179 "2020-10-28T07:09:11Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhinoy](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@abhinoy](https://community.postman.com/u/abhinoy)\
**Post date:** [October 28, 2020, 7:09am UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/1 "2020-10-28T07:09:11Z")

</div>

I am running a simple Collection with API requests having Environment variables in endpoints and request body as well. Also, I have some test scripts written for some of the requests.  
If I select and run some requests from the Collection in the Collection runner, it runs successfully. But when I try to run the Collection as a whole, it fails with the error “there was an error running your collection: read ECONNRESET”

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/1/1/1146054d38f52123c3986788c79c63eb7cc22451.png)

Can anyone please tell me what can be the cause of this? Please let me know any other information required to address this issue.

---

<div class="post-metadata">

**Author:** ![odanylewycz](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/odanylewycz/32/3240_2.png) [@odanylewycz](https://community.postman.com/u/odanylewycz)\
**Post date:** [October 28, 2020, 2:17pm UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/2 "2020-10-28T14:17:25Z")

</div>

Hi @abhinoy,

Welcome to the community! 👏

You have quite the interesting issue there. Can you do the following check for me?

1. Run each request in the collection individually, see if you can isolate one request thats having the issue.

Can you provide a bigger screenshot of the issue? This might be difficult to troubleshoot but we’ll try. Its possible that your endpoint is reseting the connection for some reason, maybe due to quick succession of requests. We might have to add a delay but for now, lets isolate the issue to see if its exactly only when the collection is run as a whole, or if there are specific requests that trigger it.

Best,  
Orest

---

<div class="post-metadata">

**Author:** ![abhinoy](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@abhinoy](https://community.postman.com/u/abhinoy)\
**Post date:** [October 29, 2020, 8:26am UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/3 "2020-10-29T08:26:32Z")

</div>

Hi @odanylewycz thanks for the warm welcome 🙂

I tried running all the requests individually and was not able to reproduce the error. But more than one request… and the issue reappears.  
Now, I wasn’t able to pinpoint the reproduction of the issue by the size and/or the number of requests. But it appears that including multiple POST requests always produces the error(s). (I have tried with more than 10 GET requests and they all got executed without any errors)

Also, new error message while running a bunch of requests (18 POST requests to be precise, I don’t know if the METHOD VERB matters or not):  
“There was an error running your collection: **socket hang up** ” (this error message is intermittent)  
When I click on the blue ‘Retry’ button, the runner throws the “ **ECONNRESET** ” error again.  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/2/223278c4042ec215a30c42c6571cbe2fbbc3d6d0.png)

These 2 requests together also throw the error:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/1/6/1655a654624d4fa83c288a0aa6bf6d33461383ab.png)

---

<div class="post-metadata">

**Author:** ![odanylewycz](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/odanylewycz/32/3240_2.png) [@odanylewycz](https://community.postman.com/u/odanylewycz)\
**Post date:** [October 29, 2020, 6:56pm UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/4 "2020-10-29T18:56:04Z")

</div>

You’re welcome 🙂

Hm, the issue seems sporadic and quite specific.

This issue gets pretty low level and can get complicated so I may not be able to fully help. Basically, my understanding of the issues lies on the networking side. I do now know how much access you have to the endpoint that you are running the requests against, buts its possible you are being blocked by the web service you are testing against, and receive a socket hangup because the TCP connection is being dropped or blocked. Its hard to say when only having this information.

My best recommendation from here would be doing a wireshark trace of the network activity. That should provide more information as to whats happening. But without those packet captures, I can’t say much else on whats going on.

---

<div class="post-metadata">

**Author:** ![rajan\_sidhpuria](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@rajan\_sidhpuria](https://community.postman.com/u/rajan_sidhpuria)\
**Post date:** [March 22, 2021, 11:37am UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/5 "2021-03-22T11:37:04Z")

</div>

This issue is fixed for me by removing junk characters from the GraphQl variables input. I had junk characters in the GraphQl variables input which were not visible but in other notepad editor those were visible to remove those junk characters and ran the request.

---

<div class="post-metadata">

**Author:** ![wmjb.weerasinghe](https://avatars.discourse-cdn.com/v4/letter/w/f17d59/32.png) [@wmjb.weerasinghe](https://community.postman.com/u/wmjb.weerasinghe)\
**Post date:** [June 26, 2021, 12:10pm UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/6 "2021-06-26T12:10:30Z")

</div>

I got the same error and I simply disable SSL verification and it works for me  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/5/55bccdb1161ea5b5edd4d8630d9d7ed5c2ed6cd1.png)

---

<div class="post-metadata">

**Author:** ![postmanaz](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@postmanaz](https://community.postman.com/u/postmanaz)\
**Post date:** [January 27, 2022, 12:14am UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/7 "2022-01-27T00:14:34Z")

</div>

This happened to me due to the SSL certification expired. Using HTTP instead of HTTPS worked too without updating the SSL Cert.

---

<div class="post-metadata">

**Author:** ![security-technologi3](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@security-technologi3](https://community.postman.com/u/security-technologi3)\
**Post date:** [March 31, 2022, 1:32am UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/8 "2022-03-31T01:32:30Z")

</div>

For future folks, this happened to me because of VPN. As soon as I turned off my VPN postman requests started working again. Unclear at this time why my AWS lambdas are blocked by Postman + VPN connection, but this got me back up and running again.

---

<div class="post-metadata">

**Author:** ![J9000](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@J9000](https://community.postman.com/u/J9000)\
**Post date:** [July 11, 2022, 8:41am UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/9 "2022-07-11T08:41:55Z")

</div>

for me it was caused by the header

**Connection: keep-alive**

remove it and then it should be working all the time.

---

<div class="post-metadata">

**Author:** ![divyamoorthy09](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@divyamoorthy09](https://community.postman.com/u/divyamoorthy09)\
**Post date:** [April 2, 2023, 12:10pm UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/11 "2023-04-02T12:10:30Z")

</div>

I am also faced this issue “ECONNRESET error”. In mongodb server database access → built-in role → Read/write to any database. It works for me…

---

<div class="post-metadata">

**Author:** ![spacecraft-candidat6](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@spacecraft-candidat6](https://community.postman.com/u/spacecraft-candidat6)\
**Post date:** [June 4, 2024, 7:36pm UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/12 "2024-06-04T19:36:00Z")

</div>

this helped , since I was using mongodb atlas and was trying to make an api post request .

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 9, 2025, 11:06am UTC](https://community.postman.com/t/error-read-econnreset-displayed-while-running-postman-collection-using-collection-runner/17179/13 "2025-05-09T11:06:34Z")

</div>

Closed on May 9, 2025, 11:06am UTC


