Sorry, it was solved and it was my problem.

The explanation:

Haproxy make the checks with the name of the domain server, for example, if you 
have a backend  with this line:
server web1.servers 10.180.13.101:80 cookie A check inter 5s fastinter 1s 
downinter 1s rise 2 fall 2

The checks will be with the hostname, not with the ip.

For this reason, in my particular case, i have a trouble.


Thanks and sorry.


----------------------------------------
> From: [email protected]
> To: [email protected]
> Subject: is normal to set http-check expect string always in minuscule?
> Date: Wed, 2 Oct 2013 12:45:06 +0200
>
> Hello,
>
> I have a extrange behaviour with http-check, my server status url always 
> report this (only this two letters, no newlines at the end):
> OK
>
> And in Haproxy i set "http-check expect string OK" logical?, yes but not, 
> because i have the following message:
>
> Server back-http/web1 is DOWN, reason: Layer7 invalid response, info: "HTTP 
> content check did not match", check duration: 2ms. 2 active and 0 backup 
> servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
>
> For fix that, i only change "http-check expect string OK" to "http-check 
> expect string ok" and all works well.
>
> I don't find any information about this behaviour in the documentation, for 
> this reason i ask here. The haproxy version is:
> HA-Proxy version 1.5-dev19 2013/06/17
>
>
>
> Thanks,                                         

Reply via email to