Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wget connection reset by peer

I try to access www.indeed.com from our web server by using wget but it raises "Connection reset by peer" error.

wget www.indeed.com

--2013-02-05 03:03:12--  (try: 3)  http://www.indeed.com/
Connecting to www.indeed.com|208.43.224.140|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

It was working before cause I'm using their API for a while but now I'm not even reach their public website.

What could it be the problem? Could Indeed add to their blacklist the server's IP or is this related with my firewall etc.?

Is there a way to debug/trace where the problem is?

like image 802
brsbilgic Avatar asked Feb 05 '13 01:02

brsbilgic


People also ask

What causes Connection reset by peer?

The error message "Connection reset by peer" appears, if the web services client was waiting for a SOAP response from the remote web services provider and the connection was closed prematurely. One of the most common causes for this error is a firewall in the middle closing the connection.

What means Connection reset by peer?

Connection Reset by peer means the remote side is terminating the session. This error is generated when the OS receives notification of TCP Reset (RST) from the remote server.

What is error 104 reset by peer?

It means that TCP reset has been sent to your computer. This happens for example when web server is restarted due to configuration change. Usually you solve this problem by reloading web page or waiting few minutes for maintanance window to close.


1 Answers

You should use with user-agent like following sample

wget "http://www.indeed.com/" --user-agent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6"
like image 104
İbrahim Özbölük Avatar answered Dec 01 '22 14:12

İbrahim Özbölük