Hi, I have a website running HTTPD and node.js behind a pfSense box and I configured HAProxy to enable high availability on these servers and everything is running fine. I need now to duplicate the pfSense box and enable a sync between the two boxes. One of the steps requires the IP alias to be turned into CARP for the synchronization to work but as soon as I change the type of the virtual IP address and reload the configuration the connection to the node.js backend server timeouts with the error below. Reverting the changes to an IP alias works fine. Any suggestion on how to determine where the issue is ?
[Wed Oct 21 11:35:04.333690 2020] [proxy_http:error] [pid 1385] [client 192.168.0.1:54640] AH01114: HTTP: failed to make connection to backend: node.mysite.net
Hosts file on all servers
192.168.0.100 web.mysite.com
192.168.0.101 node.mysite.com
-
Frontend web.mysite.com
-
Virtual IP: 192.168.0.100/24
-
Backend servers:
-
192.168.0.10 with HTTPD
-
192.168.0.11 with HTTPD
-
Frontend node.mysite.com
-
Virtual IP: 192.168.0.101/24
-
Backend servers:
-
192.168.0.12 with node.js listening on port 3000
-
192.168.0.13 with node.js listening on port 3000
HTTPD call to node.js. The return is supposed to be a HTTP 200
<Location /node/>
Require all granted
RequestHeader unset Origin
ProxyPreserveHost On
ProxyPass http://node.mysite.net:3000/node/
1 post - 1 participant