0

A client of mine is trying to connect to our site via CURL. The command they are running is:

curl -Ik example.com

The response they receive is:

(56) Recv failure: Connection reset by peer site

They feel this response implies the issue must be on our end. That the connection is making it to us and we are rejecting it.

We run that same command from any machine outside their network (both local and remote) and get a successful response. Plus none of our other clients have this issue. So we feel the issue is likely on their end.

Really what I need is help to debug this. This client will run any test to help figure this out. Any suggestions?

maestrojed
  • 221
  • 2
  • 2
  • We asked them to try the same request with wget hoping the error message was more descriptive. It was not. wget example.com ... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying. – maestrojed Jun 29 '22 at 15:55

1 Answers1

0

If you ask the customer to curl from outside their firewall they should be able to get to you. The error from curl is misleading. Any hop in between could be considered peer site. Here, peer doesn't mean the destination.

It's best to ask their network engineer view the firewall log live, filtered for the destination address. When they curl, it should show on the firewall whether it's denied or allowed.

SentiBlue
  • 1
  • 1
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 12 '22 at 16:32