This script communicates with the haproxy daemon via the unix socket which means that haproxy should be running on the same system the script is being run.
Perhaps, there should be a better error message or the script should support connection to the haproxy via virtual ip?
This script communicates with the haproxy daemon via the unix socket which means that haproxy should be running on the same system the script is being run.
Perhaps, there should be a better error message or the script should support connection to the haproxy via virtual ip?
Or haproxy is just not running for some reason.