Hi people,
I know it’s almost time to celebrate the new year’s eve but I’m having issues with the stats socket.
After upgrading Haproxy from 2.0.22 to 2.0.26 suddenly the stats are not available.
The cluster in question is made by 2 nodes. I updated only the passive one to version 2.0.26.
The one with version 2.0.22 is still exposing statistics, the other one doesn’t.
Here is the configuration, same for both of them:
global
daemon
log 127.0.0.1:514 local0
master-worker
nbproc 1
nbthread 2
cpu-map auto:1/1-2 0-1
maxconn 100000
stats socket /run/haproxy/admin.sock user haproxy group haproxy mode 660 level admin
stats timeout 2m
tune.ssl.default-dh-param 2048
ssl-default-bind-options no-sslv3 no-tlsv10 no-tlsv11 no-tls-tickets
ssl-default-bind-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
chroot /var/lib/haproxy
user haproxy
group haproxy
description Bilanciatore ambiente prod
ca-base /etc/ssl/certs
crt-base /etc/ssl/private
tune.ssl.cachesize 1000000
ssl-default-server-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
ssl-default-server-options no-sslv3 no-tlsv10 no-tlsv11 no-tls-tickets
defaults
log global
mode http
maxconn 100000
option httplog
option redispatch
option dontlognull
option http-server-close
option forwardfor
no option http-use-htx
timeout connect 5s
timeout client 50s
timeout server 50s
errorfile 400 /etc/haproxy/errors/400.http
errorfile 403 /etc/haproxy/errors/403.http
errorfile 408 /etc/haproxy/errors/408.http
errorfile 500 /etc/haproxy/errors/500.http
errorfile 502 /etc/haproxy/errors/502.custom.http
errorfile 503 /etc/haproxy/errors/503.custom.http
errorfile 504 /etc/haproxy/errors/504.http
retries 3
frontend admin-statistics-frontend
mode http
bind :9099
stats enable
stats uri /
stats realm Haproxy\ Statistics
stats auth stats:stats
stats show-node
stats show-legends
stats show-desc
stats refresh 300s
stats admin if TRUE
Hope anyone can help me
Thank you in advance.