Haproxy and Layer4 timeout problem

Hi,

I have haproxy 2.4.22.3.el9_3 on AlmaLinux 9.4

I get a lot of these:

Nov 4 11:57:45 rp-test haproxy[120988]: Server www-test/test151 is DOWN, reason: Layer4 timeout, check duration: 2000ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.

However, the service on the other side isn’t down.

The definition looks like this:

listen www-test
  bind :8001
  option httpchk
  http-check send meth HEAD uri /api/healthcheck ver HTTP/1.1 hdr Host www.test.domain.com
  http-check disable-on-404
  cookie SERVERID insert indirect nocache
  server test151 10.0.0.151:443 check ssl verify none fall 2 maxconn 3000  cookie s1
  server test152 10.0.0.152:443 check ssl verify none fall 2 maxconn 3000  cookie s2

I does barely work with selinux enforcing, but I get a lot less with “permissive”. However, there are still timeouts and they don’t happen with haproxy 1.8 on CentOS Stream 8.

No firewall on the host. But against the backend.