@genseb wrote:
Hi,
I encounter an issue using Haproxy (1.5.18) with Tomcat
Here a basic description of my test infra:
(server1)10.0.1.238:443 ==> Haproxy ==> 192.168.0.10:10080(/server1) >>>(server2) Tomcat listening on 192.168.0.10:10080 (/server2)
On my server1, an iptables is used as NAT, routing and firewall.
HAproxy returns a 503 Service Unavailable.
Things I’ve already checked/tried
-Redirect port 10080 of my server1 to port 10080 of my server2 ==> it works so my app is running and OK
-Wget from server1 to server2 (bypassing haproxy) ==> it works so no firewall issue
-Install an Apache on server2 listining on port 10080 ==> it works so Haproxy conf seems to be OK
-using TCPDump on both server==> see packet on my server1 but nothing on my server2 so it seems that HAproxy don’t redirect the flowI have the feeling that Haproxy consider server2 dead and don’t redirect packet.
Do you have any idea of what happens?
Thanks.
Posts: 3
Participants: 2