httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: [users@httpd] proxy_loadbalancer and failover
Date Thu, 19 Aug 2010 14:21:30 GMT
On 19.08.2010 13:56, michael bienstein wrote:
> Hi all,
>
> I am trying to configure the latest Apache 2.2.x on Windows 7 64bit (so
> using 32bit emulation) as a Reverse Proxy with Load Balancing. I can get
> the reverse proxy side of things to work. The load balancing too works
> if the origin servers work. But if I configure it to go to a port that
> is not listened to, then I get a 502 every second request and the
> balancer worker is never put into error state.
>
>
>   Proxy Error
>
> The proxy server received an invalid response from an upstream server.
> The proxy server could not handle the request /GET
> <http://localhost:8081/qlikview/index.htm>/--deleted--/
>
> Reason: *Error reading from remote server*
>
>
> Now I've pulled my hair out looking through Google, so I downloaded the
> code and started to reverse engineer how Apache works. My C is pretty
> rusty but I'm getting there. The code looks like it tries to read the
> status line off the response from a dummy request object, fails to do
> that and sends a 502 without placing the worker into error. In fact I
> can't see anywhere where we can place a worker into error due to a
> connection problem. The only place I see is if the status code matches a
> list of status codes that come from the configuration in an undocumented
> config option that doesn't seem to work for me.
>
> Any ideas?

Please provide your full Apache version and the relevant parts of your 
proxy configuration.

Regards,

Rainer

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message