haproxy keeps sending traffic to an offine backend
Sorry for the missing info. I've attached my current config hiding some real info listen SRV_WEB bind192.168.52.14:81 modehttp log global option dontlognull option httpclose maxconn 40960 clitimeout 100 balance source contimeout 3 srvtimeout 6 retries 2 option httpchk HEAD /default.htm HTTP/1.0 server SRV_WEB1 192.168.3.107:80 check inter 1000 weight 30 server SRV_WEB2 192.168.3.106:80 check inter 1000 weight 30 global maxconn 999 log 192.168.1.100local0 uid 80 gid 80 nbproc 8 chroot /var/empty daemon listen HTTPS bind201.xx.yy.62:443 modetcp log global option dontlognull option httpclose option forwardfor maxconn 40960 clitimeout 100 balance source contimeout 3 srvtimeout 60 retries 2 option ssl-hello-chk HEAD / HTTP/1.0 server proxy-01 192.168.52.61:443 check inter 1000 weight 14 server proxy-02 192.168.52.62:443 check inter 1000 weight 14 listen SRV_WEB bind192.168.52.14:81 modehttp log global option dontlognull option httpclose maxconn 40960 clitimeout 100 balance source contimeout 3 srvtimeout 6 retries 2 option httpchk HEAD /default.htm HTTP/1.0 server SRV_WEB1 192.168.3.107:80 check inter 1000 weight 30 server SRV_WEB2 192.168.3.106:80 check inter 1000 weight 30 listen SISTEMAS_HTTPS bind192.168.1.14:443 modetcp log global option dontlognull option httpclose option forwardfor maxconn 40960 clitimeout 100 balance source contimeout 9 srvtimeout 60 option ssl-hello-chk HEAD /teste.htm HTTP/1.0 server proxy-01 192.168.52.61:443 check inter 1000 weight 14 server proxy-02 192.168.52.62:443 check inter 1000 weight 14 listen STATS bind192.168.1.14:81 modehttp log global option dontlognull maxconn 5000 clitimeout 3 balance source contimeout 3 srvtimeout 3 retries 2 option httpchk HEAD /teste.htm HTTP/1.0 stats enable stats uri /haproxy?stats stats realm stats.domain stats auth noc:XYXYXY
haproxy keeps sending traffic to an offine backend
Hi, I didn't found and answer for this so I'm trying this mailing list. I'm using haproxy on freebsd and I'm getting a very strange behavior when a backend is offline I can see it offline on haproxy stats but connections keep being forwarded to offline member and failing to the client(checked with tcpdump). When I remove the offline member, I get a normal status again. tested on many 1.4.x version, including latest 1.4.20 Thanks for any help att, Marcello Coutinho