I have HA LB configured with 3 backend servers . From the logs, i see that one of the nodes are going down frequently and coming up . Error message is like below.
eb 16 08:38:36 localhost haproxy: Server xxxxxxxx is DOWN, reason: Layer4 connection problem, info: “Connection refused”, check duration: 0ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
haproxy version is as below.
HA-Proxy version 1.5.18 2016/05/10
Copyright 2000-2016 Willy Tarreau firstname.lastname@example.org
backend configuration is as below,
balance roundrobin #Balance algorithm
option httpchk HEAD / HTTP/1.1\r\nHost:\ localhost #Check the server application is up and healty - 200 status code
server servr1 xx.xx.xx.xx:30010 check #Nginx1 server server2 xx.xx.xx.xx:30010 check #Nckend nodes server server2 xx.xx.xx.xx:30010 check
Please help to why these connection refused and time out are occurring… I have tested on backend servers and i can access the app without any issues directly.