# Second request failed (socket hang up)

**URL:** <https://community.postman.com/t/second-request-failed-socket-hang-up/20016>\
**Category:** Help Hub\
**Created:** [February 4, 2021, 10:06am UTC](https://community.postman.com/t/second-request-failed-socket-hang-up/20016 "2021-02-04T10:06:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laurent-SP](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/laurent-sp/32/7250_2.png) [@Laurent-SP](https://community.postman.com/u/Laurent-SP)\
**Post date:** [February 4, 2021, 10:06am UTC](https://community.postman.com/t/second-request-failed-socket-hang-up/20016/1 "2021-02-04T10:06:59Z")

</div>

I’m using a remote webservice to generate a token with a basic authentification.

When I send my request throught postman the first time it works, but whenever I try to send it again I get the following error “Error: socket hang up”.  
If I close and restart postman it works again, but only one time.  
If I juste wait for like 5 minutes it also works again.

I guess postman keep something alive with the server but I don’t now how to fix that.  
I tried adding a “Connection: close” instead of the default “Connexion: keep-alive” but it does not fix the issue.

I searched the web for this issue but I did not find anyone with the issue except the one that proposed the header Connexion solution.

Here is the output of the console of three tests (the first one working).

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/8/d8841f270015a8d75cfdc4eede7a1b313774314f.png)

Thanks,
