Grafana has failed to load

Hi Team,

Greetings !

I am facing issue depicted in below snapshot frequently on PMM.

Please guide me to fix this issue.

Thank you in advance.

Warm Regards,
Jyoti Rajai

FJYI : I have already tired solution provided on this link: HTTP Error Bad Gateway when using prometheus · Issue #14629 · grafana/grafana · GitHub

But nothing helps.

1 Like

Hi @Jyoti_Rajai

What are the system requirements.?

  1. Is CPU and RAM are doing good?
  2. Check your internet, due to the internet slowness we may get this issue.
  3. Did you restarted the pmm server?
  4. Check the pmm2 server status weather it is healthy or not? docker ps -a
1 Like

Hi Jyoti,

Could you check if it’s enough disk space in the container?

2 Likes

docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0d3c3316ff30 percona/pmm-server:latest “/opt/entrypoint.sh” 3 weeks ago 3 weeks ago 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp pmm-server
9fc459a9fdd6 percona/pmm-server:latest “/bin/true” 3 weeks ago pmm-data

1 Like

Could you check if it’s enough disk space in the container? – Yeah, 400+gb free.

1 Like

Hi @Jyoti_Rajai

Seems everything looks good.
Can you restart the PMM server and try once?

docker stop 0d3c3316ff30

docker stop 9fc459a9fdd6

systemctl restart docker

1 Like

docker stop 0d3c3316ff30
0d3c3316ff30

docker stop 9fc459a9fdd6
9fc459a9fdd6

systemctl restart docker
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0d3c3316ff30 percona/pmm-server:latest “/opt/entrypoint.sh” 3 weeks ago Up 9 seconds 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp pmm-server
9fc459a9fdd6 percona/pmm-server:latest “/bin/true” 3 weeks ago pmm-data
[root@testhodb4node3 ~]#

1 Like

It didn’t helped.

Now, URL is giving below error :

500 Internal Server Error

nginx

1 Like

Hi @Jyoti_Rajai

Can you please re-check the PMM serer status, weather it is healthy or not?

1 Like

500 Internal Server Error

nginx

1 Like

Hi @Jyoti_Rajai

After restarting the PMM server, is it healthy or not?

docker ps -a

and, can you try to clear the cache or try it in different browser?

1 Like

Didn’t helped.

docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0d3c3316ff30 percona/pmm-server:latest “/opt/entrypoint.sh” 3 weeks ago Up 9 seconds 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp pmm-server
9fc459a9fdd6 percona/pmm-server:latest “/bin/true” 3 weeks ago pmm-data

1 Like

Hi @Jyoti_Rajai

For me it is showing healthy, but for you its not showing anything either its health/unhealthy in the docker status.

and, can you please check the PMM server container log file.

docker logs --tail=100 be330f386f3f
docker logs --tail=100

1 Like