With this great guide, I have nice graphs, however, I’m struggling getting the image in oh2 to work.
I have oh2 and influxdb+grafana running on a linux (gentoo) server named ‘xenon’.
I have setup a reverse proxy on this machine using the also great guide here; thread
(I don’t think this is part of the problem now, since I’m initially just running the grafana graphs directly here at home (xenon:8080/basicui/ etc ), but who knows - I’m out on deep water here.)
I have triple checked that I have anonymous enabled in grafana ini file.
I run all tests on my desktop.
If I go directly to the link from “Direct link rendered image” I get the image. In my case;
But when I inser this into my sitemap accordingly;
Image refresh=60000 url="http://xenon:3000/render/dashboard-solo/db/nydashboard?from=now-24h&to=now&panelId=2&width=1000&height=500"
… I’m left with a broken image.
If I right click on the broken image link, and select “open in another tab” (Mozilla), I get;
HTTP ERROR 504
Problem accessing /proxy. Reason:
Could it be that the image generation, which takes some time, takes too long time? I’m not sure
In the grafana log, I see;
t=2016-10-16T16:08:14+0200 lvl=info msg="PhantomRenderer::renderToPng url [http://localhost:3000/dashboard-solo/db/nydashboard?from=now-24h&to=now&panelId=2&width=1000&height=500]"
And finally, in oh2 log, I receive this line;
16:13:29.229 [WARN ] [thome.ui.internal.proxy.ProxyServlet] - Proxy servlet failed to stream content due to a timeout
Any suggestions welcome!