Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: 502 error mystery |
|
Author |
|
jwright9
Joined: 03 Apr 2008 Posts: 1
|
Posted: Thu 03 Apr '08 16:11 Post subject: 502 error mystery |
|
|
We are suddenly getting a whole bunch of 502 errors on our servers and I am trying to track down what the bad HTTP data stream back from upstream server was that the client server did not like.
Is there away to trap that return data stream into a log file? |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Fri 04 Apr '08 3:57 Post subject: |
|
|
You aren't very clear about exactly what you are running and what your backend server is.
Guessing that you are running Apache 2.2.8 on Windows and you have set up a reverse proxy for http requests to another server
- no, Apache has nothing built into it which will log the data returned from the proxy.
Setting the Apache log level to "debug" will put considerably more commentary in your logs\error.log file which may help diagnose the problem:
If the backend server is on another machine, you can use a protocol analyzer like Wireshark to capture the data stream and look at it.
This captures data at the network interface, so it won't help if both servers are on the same machine.
-tom- |
|
Back to top |
|
|
|
|
|
|