Snapt Aria Load Balancer Stats Socket is not available
  • 10 Nov 2021
  • 1 Minute to read
  • Dark
    Light

Snapt Aria Load Balancer Stats Socket is not available

  • Dark
    Light

If you are not seeing reports or live dashboard information and your Status Check shows an error for Stats Socket it means that we cannot read from the socket for the load balancer.

The first thing to do is go to  Balancer -> Configuration -> Default Settings
Snapt Aria Load Balancer Stats Socket is not available - Image 1

Once in Default Settings simply click Save. Now go click save within the Logging Options
Snapt Aria Load Balancer Stats Socket is not available - Image 2

When you have clicked save on both Logging Options and under Default Settings then do a full stop/start of the load balancer.
Snapt Aria Load Balancer Stats Socket is not available - Image 3

If that does not work then please check your Balancer -> Configuration -> Backups
Snapt Aria Load Balancer Stats Socket is not available - Image 4

In Backups click on the Export tab
Snapt Aria Load Balancer Stats Socket is not available - Image 5

You should see the following line in the Export: stats socket /tmp/haproxy.sock mode 777 level admin
Snapt Aria Load Balancer Stats Socket is not available - Image 6

If the line is not there then there is a problem altering your load balancer configuration but if you do see it then please ensure that your cronjob is setup correctly and the permissions are all fine.

Feel free to contact us if you still need assistance with this issue.