No data available in Uchiwa Dashboard, but checks are running

Hi,

Uchiwa was running fine for many years, but now it is not showing any data and giving error "Datacenter NAMEOFDC returned: Connection error. Is the Sensu API running?"

The client and server checks are running and sending email and SMS notification without issues, but Uchiwa dashboard is empty with connection error.

We have two servers,
The first server has Sensu Server, API, Client & Uchiwa
The second server has RabbitMQ and Redis
All the services are running and also restarted the services and cleared the redis cache “redis-cli FLUSHALL”. And also I have rebooted both the servers, but still no luck.

Sensu Version:
RabbitMQ 3.6.0
redis-cli 2.4.10
Sensu : 0.21.0 Release 2
Uchiwa: 0.14.1
OS: Red Hat Enterprise Linux Server release 6.9

Uchiwa config:
{
“sensu”: [
{
“name”: “NAMEOFDC”,
“host”: “Uchiwa Server IP Address”,
“port”: 4567,
“timeout”: 10
}
],
“uchiwa”: {
“host”: “0.0.0.0”, #tried with Server IP, localhost, 127.0.01, not working
“port”: 3000,
“interval”: 5,

RabbitMQ, Redis & API config:
{
“rabbitmq”: {
“host”: “RabbitMQ Server IP Address”,
“port”: “5672”,
“vhost”: “/sensu”,
“user”: “sensu”,
“password”: “Sensu Password”
},
“redis”: {
“host”: “Redis Server IP Address”,
“port”: 6379
},
“api”: {
“host”: “localhost”, #tried with Server IP, localhost, 127.0.01, not working
“port”: 4567
}
}

uchiwa.log output:
{“timestamp”:“2022-01-12T18:35:57.626812484+03:00”,“level”:“warn”,“message”:“Connection failed to the datacenter NAMEOFDC”}
{“timestamp”:“2022-01-12T18:35:57.626837665+03:00”,“level”:“info”,“message”:“Updating the datacenter NAMEOFDC”}
{“timestamp”:“2022-01-12T18:36:07.627321985+03:00”,“level”:“warn”,“message”:“GET Uchiwa Server IP Address:4567/stashes returned: Get Uchiwa Server IP Address:4567/stashes: net/http: request canceled (Client.Timeout exceeded while awaiting headers)”}
{“timestamp”:“2022-01-12T18:36:07.627399363+03:00”,“level”:“warn”,“message”:“Connection failed to the datacenter NAMEOFDC”}
{“timestamp”:“2022-01-12T18:36:07.627425501+03:00”,“level”:“info”,“message”:“Updating the datacenter Yesser DC1”}
{“timestamp”:“2022-01-12T18:36:21.942118953+03:00”,“level”:“warn”,“message”:“GET http://Uchiwa Server IP Address:4567/events returned: Get http://Uchiwa Server IP Address:4567/events: net/http: request canceled (Client.Timeout exceeded while awaiting headers)”}
{“timestamp”:“2022-01-12T18:36:21.942193928+03:00”,“level”:“warn”,“message”:“Connection failed to the datacenter NAMEOFDC”}

I have checked multiple links which are available in internet related to this issue, but nothing helped me.

Please help to solve this issue. Appreciate your support on this help.

Thanks & Regards,