dashkiosk
dashkiosk copied to clipboard
Some dashboards web pages not loading (white screen or times out)
Hello,
I have been using this tool for a while and it's great, appreciate it. Recently I came across a strange behaviour: some specific web pages won't load when attached to a dashboard; (eg https://google.com), and most significantly, a zabbix server. Notice that I already use one in multiple dashboards/monitors.
These web pages either hangs in a white screen, or times out trying to load, skipping to the next dashboard. Most frequently the former.
Logs looks normal, and I cannot seem to understand what this second zabbix server web pages that won't load (or google.com, for instance) have different than my first one. Hope you can help.
Thanks!
Most of the time, this is due to the presence of a X-Frame-Options
header preventing the ability to embed pages. See https://dashkiosk.readthedocs.io/en/latest/usage.html#iframes.
is it possible that dashkiosk himself remove this header ?
It would need to act as a proxy and it doesn't currently do that.
I have the same problem but in my browser ('/receiver') it works fine, it only happens if I cast directly from the server, when I cast a tab it works normally.
Is there anything I can do to fix that?
Sorry for the late answer. I don't understand what you mean by "cast". Do you mean you use a Chromecast as a receiver? In this case, this may be a resource limit on the Chromecast itself preventing it to display the dashboard. It wouldn't explain the Google case much, but the Zabbix dashboard may be too "complex" (SVG graphs, Javascript).