dashkiosk icon indicating copy to clipboard operation
dashkiosk copied to clipboard

Some dashboards web pages not loading (white screen or times out)

Open jhonesk opened this issue 5 years ago • 5 comments

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!

jhonesk avatar Mar 07 '19 15:03 jhonesk

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.

vincentbernat avatar Mar 07 '19 15:03 vincentbernat

is it possible that dashkiosk himself remove this header ?

pad92 avatar May 07 '19 08:05 pad92

It would need to act as a proxy and it doesn't currently do that.

vincentbernat avatar May 07 '19 11:05 vincentbernat

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?

BrunoPansani avatar Sep 05 '19 15:09 BrunoPansani

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).

vincentbernat avatar Jul 14 '20 05:07 vincentbernat