Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Postman : socket hang up

I just started using Postman. I had this error "Error: socket hang up" when I was executing a collection runner. I've read a few post regarding socket hang up and it mention about sending a request and there's no response from the server side and probably timeout. How do I extend the length of time of the request in Postman Collection Runner?

like image 315
kenn_ross Avatar asked Jun 08 '17 04:06

kenn_ross


People also ask

Why does error socket hang up?

The error code [socket hang up][ECONNRESET] indicates that the target server has closed the connection with Edge Microgateway. This can be searched in the logs to determine how often it is happening.

What is socket hangup in Postman?

Socket Hang up, where the server closed the connection for some reason. An example why this may occur is an incorrectly input client certificate or participant identifier preventing the message to reach the server. ECONNRESET, where an endpoint may be resetting the connection for some reason.

What does socket hangup mean?

It means that socket does not send connection end event within the timeout period. If you are getting the request for cheerio via http.


1 Answers

Socket hang up, error is port related error. I am sharing my experience. When you use same port for connecting database, which port is already in use for other service, then "Socket Hang up" error comes out.

eg:- port 6455 is dedicated port for some other service or connection. You cannot use same port (6455) for making a database connection on same server.

like image 79
Love Chaudhary Avatar answered Nov 12 '22 16:11

Love Chaudhary