Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4832

Healthcheck problem

$
0
0

Why doesnt this healthcheck work:

if i leave option httpchk out it throws: [WARNING] (1) : backend ‘tor_backend’ uses http-check rules without ‘option httpchk’, so the rules are ignored.

which stops any layer7 check showing in the stats backend ui, it shows a L4ok check but i need L7

option httpchk
http-check connect
http-check send meth GET
http-check send uri /version
http-check send ver HTTP/1.1
# option httpchk GET /version
http-check send hdr Host 
http-check send hdr X-
http-check send hdr Connection close
http-check expect status 200

if i put option httpchk in, i get: [ALERT] (1) : config : parsing [/usr/local/etc/haproxy/haproxyPBC.cfg:664] : ‘http-check send’ : unable to add http-check send rule at step 2 (missing connect rule)..
and the dcoker conatiner wont spin up

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4832

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>