Discussion:
Haproxy stats page returns 503 error
Atul Rokade (arokade)
2015-11-26 05:44:36 UTC
Permalink
Hi,

using a browser to query the stats from haproxy, I'm facing a non consistent behavior where about One time every 2 attempts I get a 503 error.

Can you please let me know how to correct this.


Regards,
Atul

[Think before you print.]Think before you print.

[Loading Image...]
Lukas Tribus
2015-11-26 08:16:19 UTC
Permalink
Hi Atul,
Post by Atul Rokade (arokade)
Hi,
using a browser to query the stats from haproxy, I'm facing a non
consistent behavior where about One time every 2 attempts I get a 503
error.
Please share the configuration so we can take a look.



Regards,

Lukas
Baptiste
2015-11-26 10:46:26 UTC
Permalink
Post by Lukas Tribus
Hi Atul,
Post by Atul Rokade (arokade)
Hi,
using a browser to query the stats from haproxy, I'm facing a non
consistent behavior where about One time every 2 attempts I get a 503
error.
Please share the configuration so we can take a look.
Regards,
Lukas
Hi,

the same TCP port must be bound fot different purpose: LBing and stats.
As Lukas asked, please share your configuration.

Baptiste
Atul Rokade (arokade)
2016-02-25 06:14:40 UTC
Permalink
Hi,

Following is configuration for stats in haproxy.cfg

listen stats_proxy myvm:5544
mode http
option httpclose
option abortonclose
# enable web-stats at /haproxy?stats
stats enable
# force HTTP Auth to view stats
stats refresh 60s
stats hide-version


Regards,
Atul

Think before you print.




-----Original Message-----
From: Lukas Tribus [mailto:luky-***@hotmail.com]
Sent: Thursday, November 26, 2015 1:46 PM
To: Atul Rokade (arokade); haproxy ***@formilux.org
Subject: RE: Haproxy stats page returns 503 error

Hi Atul,
Post by Atul Rokade (arokade)
Hi,
using a browser to query the stats from haproxy, I'm facing a non
consistent behavior where about One time every 2 attempts I get a 503
error.
Please share the configuration so we can take a look.



Regards,

Lukas

Loading...