Dashboard reloads every two minutes after 21.1.4 update

Started by CJ, April 11, 2021, 09:58:15 PM

Previous topic - Next topic
I recently updated to 21.1.4 and now my dashboard page reloads itself every two minutes or so.

Has anyone else seen this?


No

For me its not reloading -  just jumping back to top after a few seconds

What Browser are you using
(Unoffial Community) OPNsense Telegram Group: https://t.me/joinchat/0o9JuLUXRFpiNmJk

PM for paid support


I'm using Firefox.  I do have the network time widget on the dashboard.

It does seem to have gotten better after I fixed my NTP issue.

@CJRoss
yes the widget code looks very old with a huge backward compatibility tail. there is also scrolling to the top of the page on each data update from the server (so far I could not understand why scroll(0,0) was used) and page reload on different events
but it shouldn't have been update related imho

Not sure.  It kept resetting all of the graph widgets which was annoying.

But like I said, it appears to be working now.  ¯\_(ツ)_/¯

i noticed https://forum.opnsense.org/index.php?topic=22594.0
this can be related. widget code contains page reload function on time drift

Quote from: Fright on April 12, 2021, 09:50:30 PM
i noticed https://forum.opnsense.org/index.php?topic=22594.0
this can be related. widget code contains page reload function on time drift

Huh.  Okay.  That was probably it, then.

I assume the reason it wasn't happening before is because the time had drifted enough that all of the servers were unreachable.