Thank you Alex, The reverse proxy error log doesn't show any BAD GATEWAY error, The errors are as below
[Mon Nov 03 18:08:49 2008] [error] [client 121.242.16.5] proxy: error reading status line from remote server xx.xx.xx.xx [Mon Nov 03 18:08:49 2008] [error] [client 121.242.16.5] proxy: Error reading from remote server returned by /AppTool/ [Mon Nov 03 18:10:11 2008] [error] [client 121.242.16.5] proxy: error reading status line from remote server xx.xx.xx.xx [Mon Nov 03 18:10:11 2008] [error] [client 121.242.16.5] proxy: Error reading from remote server returned by /AppTool/ However I am going to give a try as you adviced. I will update the result later Thanks Isha On Tue, Nov 4, 2008 at 3:06 PM, Alexandru David Constantinescu < [EMAIL PROTECTED]> wrote: > isha b wrote: > >> Thank you all, >> I have increased with Keep Alive upto 300 sec as well No KeepAlive option >> buyt the reult is still negative. Still it is throwing the below error >> *proxy*: *Error reading from remote server returned* by /..." >> proxy: error reading status line from remote server >> >> >> Further I read in groups that the httpd 2.2.3 might have some bugs which >> is causing the problem. Hence I have upgraded my apache to httpd 2.2.10 . >> Now the performance is better but still around 40% of the time its end up >> with proxy error. >> my backend server is on ISS and reverse proxy is on Fedora 6 on httpd >> 2.2.10 >> Thanks >> Isha >> >> >> On Thu, Oct 30, 2008 at 7:44 PM, Mehta, Anish <[EMAIL PROTECTED]<mailto: >> [EMAIL PROTECTED]>> wrote: >> >> Are you using mod_proxy_ajp and load balancing between backend servers? >> We used to see this error a lot but when we added timeout parameter to >> BalancerMember directive if went away. >> >> You may also want to try this or add the same parameter to ProxyPass >> directive (timeout=300). >> >> Regards, >> AM >> >> -----Original Message----- >> From: Boyle Owen [mailto:[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>] >> Sent: Thursday, October 30, 2008 9:31 AM >> To: users@httpd.apache.org <mailto:users@httpd.apache.org> >> Subject: RE: [EMAIL PROTECTED] 502 proxy error >> >> ________________________________ >> >> From: isha b [mailto:[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>] >> Sent: Thursday, October 30, 2008 12:47 PM >> To: users@httpd.apache.org <mailto:users@httpd.apache.org>; >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>; >> [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> Subject: [EMAIL PROTECTED] 502 proxy error >> >> >> >> >> Team, >> When I try to access an application using reverse proxy, most of >> the time I will end up with below error. Anybody have an idea what will >> be causing the issue? After few refresh on the page I will get actual >> page but most of the times end up with below proxy error >> >> >> >> Proxy Error >> The proxy server received an invalid response from an upstream >> server. >> The proxy server could not handle the request GET /testingtool/. >> Reason: Error reading from remote server >> >> >> >> ------------------------------------------------------------------------ >> -------- >> Apache/2.2.3 (Fedora) Server at testingserver.test.com >> <http://testingserver.test.com/> Port 443 >> >> >> Thanks, >> Isha >> >> >> Aoache is the proxy, is it? >> >> It could be the back-end server is not working reliably - what happens >> if you access it drectly? >> >> If it seems OK, how long does it take to respond? If it's a slow >> application it may take longer than apache is prepared to wait (see >> ProxyTimeout, KeepAlivetimeout) >> >> Rgds, >> Owen Boyle >> Disclaimer: Any disclaimer attached to this message may be ignored. >> >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server >> Project. >> See <URL:http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> " from the digest: [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server >> Project. >> See <URL:http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> " from the digest: [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> >> >> I use to have the same problems. My advice is to forget about keepalive at > all. This error said that the reverse proxy is unaccessible for proxy . If > you take a look in the revers proxy error logs , probably you will see > something like "BAD GATEWAY" entries. On the proxy server I use the same > version of apache 2.2.10 with > > ProxyPass / http://real_server_ip/ disablereuse=On max=1000 > ttl=60 timeout=300 > And > > SetEnv force-proxy-request-1.0 1 > SetEnv proxy-nokeepalive 1 > SetEnv proxy-initial-not-pooled 1 > > Disable keepalive on the proxy an real servers too. > With this setings everything seems to be in order for me.Give it a try and > see how it works. > > alex > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >