Hi,
This error is happening when cluster is unable to achieve GREEN/YELLOW status or when UI component isn't able to connect with the cluster.
Easiest way to diagnose that is to verify the logs from the cluster, which are located in /var/log/elasticsearch/<name_of_your_cluster>.log
Most common scenario is no free disk space, which you can verify on the console with df -h
command.