haproxy-devel v0.62_2 - startup error 'httpchk'
Seeing this error message upon startup (under 2.5.0):
haproxy: startup error output!: [WARNING] 051/015053 (57019) : parsing [/var/etc/haproxy/haproxy.cfg:100]: 'option httpchk' : hiding headers or body at the end of the version string is deprecated. Please, consider to use 'http-check send' directive instead.
Updated by DRago_Angel [InV@DER] 5 months ago
Because now correct syntax is another:
Now one backend can have more then one healtcheck and their types can be different and syntax now:
# check HTTP and HTTPs services on a server. # first open port 80 thanks to server line port directive, then # tcp-check opens port 443, ciphered and run a request on it: option httpchk http-check connect http-check send meth GET uri / ver HTTP/1.1 hdr host haproxy.1wt.eu http-check expect status 200-399 http-check connect port 443 ssl sni haproxy.1wt.eu http-check send meth GET uri / ver HTTP/1.1 hdr host haproxy.1wt.eu http-check expect status 200-399 server www 10.0.0.1 check port 80
I wrote in my ticket https://redmine.pfsense.org/issues/10739 that HAproxy 2.2 has changes in heatchecks that need to be aligned with pfSense plugin.
Updated by Viktor Gurov 2 months ago
- Tracker changed from Todo to Bug