stats socket, show errors always blank

From: Jeremy <s6a9d6u9s#gmail.com>
Date: Tue, 1 Sep 2009 17:26:54 -0500


I've set up the stats socket and get results ok running "show info" or "show stats" etc, but for some reason "show errors" is always blank. Any tips to getting "show errors" to return the sexy output like is shown at the very bottom of http://haproxy.1wt.eu/download/1.3/doc/configuration.txt ?

Basically we're still having an intermittent problem with a client that is getting 502 Bad Gateway errors, most likely due to some bad characters in their HTTP headers (specifically cookies we think), but I'm unable to tell the client exactly what is wrong since "show errors" is not showing anything. They want to track down and fix whatever's wrong with their website, so they have not wanted us to enable the options to accept invalid http requests/responses just yet.

This particular load balancer just has 1 site running on it with a couple backends and one front end. I've also tried doing show errors <IID> using the various IID's in use but it always just comes back with nothing.

The site in question has a ton of css includes, images, javascript files etc... The only thing I can think of is maybe once a valid request passes through HAProxy "show errors" is cleared, so we somehow need them to stop making any more requests once they run into 502 bad gateway until we can capture the "show errors" output?

I have spammed "show errors" as fast as I possibly can while they're doing some testing but I've yet to actually see it return anything.

Thanks for any tips! Received on 2009/09/02 00:26

This archive was generated by hypermail 2.2.0 : 2009/09/02 00:30 CEST