I have 2 public Grafana dashboards (Share / Share externally).
In the 1st dashboard I added some text (text visualization) and in it a link to the 2nd dashboard.
When I click the link to the 2nd dashboard from the 1st dashboard, the 2nd dashboard appears, but all panels show an error message (“Dashboard panel not found”) and no data. When I refresh the browser tab (F5) everything is fine.
When I now hit the “back”-button in the browser, there is the same with the 1st panel: “Dashboard panel not found” for all panels, no data. Again- refreshing the tab fixes it all and all panels and data is correctly displayed.
But when I open the link from the 1st panel in a new tab (Ctrl + click) the 2nd panel is displayed correctly from the beginning.
Things become worse when I embed the 1st panel in another website (via iFrame). Same behavior when I click the link in the 1st (now embedded) dashboard - the 2nd dashboard is shown, but with error messages for all panels. But here I can not refresh the browser tab, that of course only loads the embedding webpage again with the 1st panel.
But also in this scenario, when I open the link from the embedded 1st dashboard in a new tab, the 2nd dashboard is displayed correctly.
Does anybody has an idea what is going on and - most important - how to fix it?
please provide json or demo dashboard link , so i can understand what is the problem and the root cause of problem.
or you can try this
This will force Grafana to refresh data as soon as the dashboard loads.
I tried that, but it didn’t help. The result is still the same.
I did that, but it didn’t tell me too much.
I found that the request is
POST https://dashboard.owiot.de/api/public/dashboards/0a89701541894b3db46b5134928e3f7a/panels/7/query
There seem to be an additional request for each panel (if my interpretation of the information in the browser’s developer tools is correct) . The ?refresh=1 is missing in this requests, maybe that’s why it does not help?
The response is 404 / “Not found”. Seems strange to me, because everything is found and displayed correctly when I hit the refresh button. Maybe I’m not enough of an http-expert to understand the behavior.