I have a dashboard map running on a RaspberryPi on a big TV, which is working great. However, if the server is restarted or the connection is lost and the dashboard refreshes, it just shows "Loading..." at the top, even after the server has become available again. Is there a way to get the dashboard to keep retrying every minute or so, even if it fails a couple of times?
Dashboard Map loading after server restart
Votes:
0
8 Replies
Votes:
0
Hello,
Thank you for the KB-Post. Just to check, are you using a public Map there? What is the exact setup? Which browser is used on the Pi to display the map?
best regards.
Votes:
0
Hello,
Yes it is a public map with no login. I'm using Firefox 45.2.0. PRTG version 17.1.28.1032
To recreate:
- Load the map in the browser
- Stop PRTG service
- Wait for map to refresh
- Loading... will appear at top of browser page
- Restart PRTG service
- Map needs to be manually refreshed to make it work again
Thanks, Paul
Created on Mar 14, 2017 1:47:30 PM
Last change on Mar 15, 2017 9:15:33 AM by
Stephan Linke [Paessler Support]
Votes:
0
Strange. We do not see this on our installations here, that use maps from PRTG directly. We also have custom dashboards running, that do not display PRTG maps directly. On the custom dashboards we enforce the refresh with the following html-code.
<head> <meta http-equiv="refresh" content="60"> </head>
You could look into writing this into the C:\Program Files (x86)\PRTG Network Monitor\webroot\includes\htmlheader.htm to enforce it your way.
Votes:
0
Hello,
It would also be really interesting if this issue also happens with Chrome. Would it be possible to test this?
best regards.
Votes:
0
Hi,
I've just tried Chrome on my desktop and it works! When the connection is lost the browser changes to "Map Refresh Failed" and then when connection is back it refreshes correctly.
Probably unrelated and doesn't seem to cause any other problems, but both browsers get a 401 error trying to connect to: /api/sensortypesinuse.json?simpleobject=true
Thanks, Paul
Votes:
0
I've just tried the API call here on my PRTG and it worked fine, when being logged into PRTG. Could it be that simply the credentials were not added to the api-call?
Votes:
0
It's a public map, so there are no login credentials!
Votes:
0
The API-Call definitely needs credentials though.
Add comment