Find solution

How to debug HTTP request?

Here are 14 best answers to ‘How to debug HTTP request?’ - the most relevant comments and solutions are submitted by users of Server Fault, Yahoo! Answers and Quora.

Best solution

  • How to debug "HTTP request sent, awaiting response"?

    I have a Linux server on an ADSL connection, and I just noticed that sometimes I get Connecting to example.com|xxx.xxx.xxx.122|:80... connected. HTTP request sent, awaiting response... when I use wget or e.g. a browser like firefox. In the case of wget pressing CTRL-C and then try again "solves the problem", and in the case of firefox, reloading the page also makes the page load. It seams to be random when it happens. I have tried to change the DNS to Google's DNS, but I still get...

    Answer:

    Have you ever tried waiting to see what HTTP status code returns? To debug this case, open 2 terminals...

    Mark as irrelevant Undo

Other solutions