HaProxy logs showing the TCP health check failed alerts
Issue
- TCP health check is failing
- Lots of HaProxy alerts messages are showing in the logs.
Apr 12 15:32:21 localhost haproxy[1234]: [WARNING] (6361) : Server frontend-HaProxy/frontend-HaProxy-localhost.example.com is DOWN, reason: Layer4 connection problem, info: "Connection refused at initial connection step of tcp-check", check duration: 1ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
Apr 12 15:32:21 localhost haproxy[1234]: [WARNING] (6361) : Server frontend-HaProxy/frontend-HaProxy-localhost.example.com is DOWN, reason: Layer4 connection problem, info: "Connection refused at initial connection step of tcp-check", check duration: 1ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
Apr 12 15:47:24 localhost haproxy[1234]: Server frontend-HaProxy/frontend-HaProxy-localhost.example.com is DOWN, reason: Layer4 connection problem, info: "Connection refused at initial connection step of tcp-check", check duration: 1ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
Environment
- Red Hat Enterprise Linux (All Versions)
- HaProxy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.