-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Description
I'm trying to call this endpoint but the response from the API is this
http://192.168.144.225:5555/v2/services/haproxy/stats/native
[
{
"error": "dial unix unix@/run/haproxy-master.sock: connect: no such file or directory",
"runtimeAPI": "unix@/run/haproxy-master.sock@1",
"stats": null
}
]
evidently the socket file exist in the filesystem
root@LB01:~# ls -al /run/haproxy-master.sock
srwxr-xr-x 1 root root 0 Nov 9 16:24 /run/haproxy-master.sock
root@LB01:~#
haproxy snippet config
program api
command dataplaneapi --host 192.168.144.225 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg --reload-cmd "systemctl reload haproxy" --reload-delay 5 --userlist controller
userlist controller
user superadmin password $5$IjsO5NsBcuMA1$qOv1sUuaEVGqbqTjSxmVbc//CxRKCfiyPr/Z.2wwu4/
Metadata
Metadata
Assignees
Labels
No labels