OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: CJ on April 11, 2021, 09:58:15 PM

Title: Dashboard reloads every two minutes after 21.1.4 update
Post by: CJ on April 11, 2021, 09:58:15 PM
I recently updated to 21.1.4 and now my dashboard page reloads itself every two minutes or so.

Has anyone else seen this?
Title: Re: Dashboard reloads every two minutes after 21.1.4 update
Post by: Fright on April 12, 2021, 08:33:40 AM
can you give more info?
Title: Re: Dashboard reloads every two minutes after 21.1.4 update
Post by: lfirewall1243 on April 12, 2021, 09:51:47 AM
No

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

What Browser are you using
Title: Re: Dashboard reloads every two minutes after 21.1.4 update
Post by: Fright on April 12, 2021, 11:37:15 AM
using Network Time widget?
Title: Re: Dashboard reloads every two minutes after 21.1.4 update
Post by: CJ on April 12, 2021, 09:30:19 PM
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.
Title: Re: Dashboard reloads every two minutes after 21.1.4 update
Post by: Fright on April 12, 2021, 09:40:44 PM
@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
Title: Re: Dashboard reloads every two minutes after 21.1.4 update
Post by: CJ on April 12, 2021, 09:46:45 PM
Not sure.  It kept resetting all of the graph widgets which was annoying.

But like I said, it appears to be working now.  ¯\_(ツ)_/¯
Title: Re: Dashboard reloads every two minutes after 21.1.4 update
Post by: 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
Title: Re: Dashboard reloads every two minutes after 21.1.4 update
Post by: CJ on April 12, 2021, 09:58:19 PM
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.