Re: Stats page wobbly

From: Willy Tarreau <w#1wt.eu>
Date: Fri, 13 Jun 2008 20:40:46 +0200


On Fri, Jun 13, 2008 at 05:04:35PM +0200, Alexander Staubo wrote:
> On Fri, Jun 13, 2008 at 4:58 PM, Alexander Staubo <alex#bengler.no> wrote:
> > I am experiencing a problem with the stats URI. When I hit the stats
> > page, it is often proxied instead of being intercepted by HAProxy; in
> > other words, instead of HAProxy's stats page, I get a 404 from my
> > backend. Often reloading the page gives me the stats page again, but
> > it seems to be depend on what requests are currently being routed
> > through HAProxy. In other words, it's a bit wobbly.
>
> I forgot to mention that this is with 1.3.15 (which apparently has
> disappeared from the HAProxy site).

It has not disappeared, the web server died today, so you were directed to the backup server which is never up to date. I'm rebooting the master server right now.

BTW, for your stats problem, it is because there is no "option httpclose" in your configuration. Haproxy does not support keep-alive, so when you first click on the site then enter the stats URL, then your browser reuses the same session and haproxy does not get the request. Adding "option httpclose" solves this problem (I should add a FAQ).

Regards,
Willy Received on 2008/06/13 20:40

This archive was generated by hypermail 2.2.0 : 2008/06/13 20:46 CEST