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

Health check response

$
0
0

Hi,

Searched a lot and maybe it’s been asked already somewhere but cannot seem to get it to work.
Hope someone can give me some troubleshooting tips.

I have:

option httpchk
http-check send meth POST  uri / hdr Content-Type application/json body.............
http-check expect string succeeded

Now sthis works on the haproxy servers using curl, it return “succeeded”.
But haproxy doesnt see the same output and shows:

failed, reason: Layer7 invalid response, info: "HTTP content check did not match"

How to debug ths haproxy health checks so I can see what the response was?
Also, is it possible to see all the http-check responses in the logs?
(I use the docker version of haproxy)

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>