Re: Strange config error with Haproxy 1.4-rc1 2010/02/02

From: Krzysztof Olędzki <ole#ans.pl>
Date: Fri, 19 Feb 2010 14:26:42 +0100


On 2010-02-19 13:31, Laurent DOLOSOR wrote:
> Hi,

Hi,

> I'm testing Haproxy 1.4-rc1, but I have a config error so ... strange.
>
> I used this short config file. It works with Haproxy 1.3.23
>
> http://pastebin.dinhosting.fr/9885
>
> But with Haproxy 1.4-rc1, it returns the error :
>
> [ALERT] 049/132313 (13531) : proxy 'fr2': stats 'auth'/'realm' and
> 'http-request' can't be used at the same time.
> [ALERT] 049/132313 (13531) : Fatal errors found in configuration.
>
> I don't use http-request in the config file ... Either it's not the good
> error message, or it's not realy an error ...
>
> But the more strange is if I comment frontend fr1 or frontend fr2, no
> error, it works oO
>
> 1 frontend => ok, 2 or more => not ok
>
> Do you have any idea about that ?

It is because you are using stats in the default section which I have never tested. :( I have your config, I'm able to reproduce the problem and I'll fix it ASAP. However, currently I'm traveling so I can't promise I'll be able to do it before the monday.

Thank you for your report.

Best regards,

                        Krzysztof Olędzki Received on 2010/02/19 14:26

This archive was generated by hypermail 2.2.0 : 2010/02/19 14:30 CET