# Getting errors on health check with haproxy 2.8 version

**URL:** <https://discourse.haproxy.org/t/getting-errors-on-health-check-with-haproxy-2-8-version/9500>\
**Category:** Help!\
**Created:** [February 15, 2024, 5:35am UTC](https://discourse.haproxy.org/t/getting-errors-on-health-check-with-haproxy-2-8-version/9500 "2024-02-15T05:35:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ctr0306](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@ctr0306](https://discourse.haproxy.org/u/ctr0306)\
**Post date:** [February 15, 2024, 5:35am UTC](https://discourse.haproxy.org/t/getting-errors-on-health-check-with-haproxy-2-8-version/9500/1 "2024-02-15T05:35:19Z")

</div>

Hi All,

My haproxy.cfg file looks as below and i am trying to enable health check over my vault cluster and getting the below errors. Could some one help me or guide me here and thanks in advance

++++++++++++++  
Feb 15 05:12:39 haproxy-1 haproxy[38800]: [WARNING] (38800) : Server vault/vault-server1 is DOWN, reason: Layer7 wrong status, code: 472, info: “status code 472”, check duration: 378ms. 3 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.  
Feb 15 05:12:39 haproxy-1 haproxy[38800]: Server vault/vault-server1 is DOWN, reason: Layer7 wrong status, code: 472, info: “status code 472”, check duration: 378ms. 3 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.  
Feb 15 05:12:39 haproxy-1 haproxy[38800]: [WARNING] (38800) : Server vault/vault-server2 is DOWN, reason: Layer7 wrong status, code: 472, info: “status code 472”, check duration: 378ms. 3 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.  
Feb 15 05:12:39 haproxy-1 haproxy[38800]: Server vault/vault-server2 is DOWN, reason: Layer7 wrong status, code: 472, info: “status code 472”, check duration: 378ms. 3 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.  
Feb 15 05:12:39 haproxy-1 haproxy[38800]: [WARNING] (38800) : Server vault/vault-server3 is DOWN, reason: Layer7 wrong status, code: 472, info: “status code 472”, check duration: 378ms. 3 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.  
Feb 15 05:12:39 haproxy-1 haproxy[38800]: Server vault/vault-server3 is DOWN, reason: Layer7 wrong status, code: 472, info: “status code 472”, check duration: 378ms. 3 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.

+++++++++++++++++++++  
global  
daemon  
maxconn 100000  
chroot /var/lib/haproxy  
log /dev/log local0  
log /dev/log local1 notice  
tune.ssl.default-dh-param 2048

defaults  
log global  
option httplog  
option tcplog  
mode tcp  
retries 3  
timeout client 5m  
timeout connect 10m  
timeout server 5m  
timeout check 30s  
option forwardfor  
option http-server-close  
errorfile 400 /etc/haproxy/errors/400.http  
errorfile 403 /etc/haproxy/errors/403.http  
errorfile 408 /etc/haproxy/errors/408.http  
errorfile 500 /etc/haproxy/errors/500.http  
errorfile 502 /etc/haproxy/errors/502.http  
errorfile 503 /etc/haproxy/errors/503.http  
errorfile 504 /etc/haproxy/errors/504.http

listen stats  
mode http  
bind \*:8080  
stats enable  
stats uri /

frontend httphttps  
mode http  
bind \*:80  
bind \*:443 ssl crt /etc/haproxy/ssl/certs  
option forwardfor  
redirect scheme https if !{ ssl\_fc }

listen vault  
bind 0.0.0.0:80  
balance roundrobin  
option httpchk GET /v1/sys/health  
http-check expect status 200  
server vault-server1 192.68.198.205:8200 check check-ssl verify none inter 8080  
server vault-server2 192.68.198.193:8200 check check-ssl verify none inter 8080  
server vault-server3 192.68.211.247:8200 check check-ssl verify none inter 8080

listen vault\_cluster  
bind 0.0.0.0:80  
balance roundrobin  
option httpchk GET /v1/sys/health  
http-check expect status 200  
server vault-server1 192.68.198.205:8200 check check-ssl verify none inter 8080  
server vault-server2 192.68.198.193:8200 check check-ssl verify none inter 8080  
server vault-server3 192.68.211.247:8200 check check-ssl verify none inter 8080
