H
Homarr•7mo ago
AJ

Grafana Panels Don't Load (locally or publicaly) - "Too Many Redirects"

Hey all, so I'm creating a plex dashboard and with some help from @Manicraft1001 I was pointed in the right direction. I'm making this a longer-winded post in the event someone else wants to try this. So I've installed collectd, influx, telegraf, varken, snmp-export for Synology and prometheus to get my Plex data into several influx databases. All that is being dumped into Grafana to crate visuals. Now, on to the issue: I have exported a single Share Panel that I want to display in Homarr as follows: <iframe src="https://cool.nickflix.mov/d-solo/YlkJAIymz/nickflix-command-centre?orgId=1&refresh=5s&from=now-1d&to=now&theme=dark&panelId=44" width="450" height="200" frameborder="0"></iframe> I've tested the code and if you go to https://cool.nickflix.mov/d-solo/YlkJAIymz/nickflix-command-centre?orgId=1&refresh=5s&from=now-1d&to=now&theme=dark&panelId=44 the panel displays properly. When I place that code into an iframe in Homarr (using Chrome, but also tested on Edge, same result), I get an error that there were "too many redirects." I have enabled anonymous viewing in Grafana, searched everywhere for solutions, but can't seem to figure this one out. Any ideas? Appreciate any insight.
Solution:
I was copying and pasting the full embed code, rather than just the URL
Jump to solution
7 Replies
Manicraft1001
Manicraft1001•7mo ago
Hi, have you enabled embedding in Grafana?
AJ
AJ•7mo ago
Yes sir
Manicraft1001
Manicraft1001•7mo ago
What is the URL in the widget?
AJ
AJ•7mo ago
omg... I'm an idiot 😛
Solution
AJ
AJ•7mo ago
I was copying and pasting the full embed code, rather than just the URL
Manicraft1001
Manicraft1001•7mo ago
So it works now?
AJ
AJ•7mo ago
Yes 100%