Failed to save dashboard

  • What Grafana version and what operating system are you using?
    self-hosted v8.5.2 - Centos8 Stream
    I use nginx with the cloudflare reverse proxy

  • What happened?

When I add a graph after I have added another 4-5 when I click on save I get this error and it does not save anything. Furthermore, the save key can no longer be pressed

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

image

what browser are you using while viewing that error? Do you see anything under the network tab inside that browser’s developer console? Are you able to view your grafana server’s logs?

  1. I’m using Chrome but I have also tried Firefox

  2. lvl=info msg=“Request Completed” method=GET path=/api/dashboards/db/ status=404 remot
    lvl=info msg=“Request Completed” method=GET path=/favicon.ico status=404 remote_addr=
    lvl=info msg=“Request Completed” method=GET path=/api/live/ws status=400 remote_addr=
    lvl=info msg=“Request Completed” method=GET path=/api/live/ws status=400 remote_addr=
    lvl=info msg=“Request Completed” method=GET path=/api/live/ws status=400 remote_addr=
    lvl=info msg=“Request Completed” method=GET path=/api/dashboards/db/ status=404 remot

Are you preserving host headers in your proxy config?

1 Like

re the above: see this

1 Like

that this only happens after creating some graphs… The problem does not occur when I have 3-4 graphs (panels) but when I have more than 6

With 5 panels in a dashboard there is no problem saving it, when there are 6 or more panels then it gives that error

Check Nginx and Grafana logs (not in browser but on the server).