# Newman gives "read ECONNRESET", but Postman works fine

**URL:** <https://community.postman.com/t/newman-gives-read-econnreset-but-postman-works-fine/12497>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [May 8, 2020, 8:38pm UTC](https://community.postman.com/t/newman-gives-read-econnreset-but-postman-works-fine/12497 "2020-05-08T20:38:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtlembke](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jtlembke/32/4381_2.png) [@jtlembke](https://community.postman.com/u/jtlembke)\
**Post date:** [May 8, 2020, 8:38pm UTC](https://community.postman.com/t/newman-gives-read-econnreset-but-postman-works-fine/12497/1 "2020-05-08T20:38:33Z")

</div>

I have a collection that runs against an AWS APIGateway endpoint. Within Postman the requests work great. But when I run the requests using newman, I get this

```
  # failure detail

 1. Error
                     read ECONNRESET
                     at request
                     inside "AccountLookup PUB"

 2. AssertionError Status code is 200
                     expected { Object (id, _details, ...) } to have property 'code'
                     at assertion:0 in test-script
                     inside "AccountLookup PUB"

```

What is happening here?

---

<div class="post-metadata">

**Author:** ![aravaws](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@aravaws](https://community.postman.com/u/aravaws)\
**Post date:** [May 16, 2020, 4:14pm UTC](https://community.postman.com/t/newman-gives-read-econnreset-but-postman-works-fine/12497/2 "2020-05-16T16:14:46Z")

</div>

I am too facing with the same issue. Check whether you are able to ping the site URL you are using in the postman collection from the command prompt. Eg.ping [www.postman.com](http://www.postman.com).  
If you get request time out there might be proxy issue. Which is preventing access to internet or it is not going via Proxy. if you are using proxy set the proxy in the environment variables as HTTPS\_PROXY= PROXY VALUE
