NTP widget not keeping correct time



  • SG 2440 with 2.3.4 release.
    My NTP Status Widget is not keeping correct time.  NTPD is set up on LAN & OPT1, not WAN.
    My pool servers are:

    server 0.pfsense.pool.ntp.org iburst maxpoll 9 prefer
    server 0.opensuse.pool.ntp.org iburst maxpoll 9
    server pool.ntp.org iburst maxpoll 9 prefer
    
    

    There was a prior thread mentioning a fix in "https://github.com/pfsense/pfsense/pull/3553"
    It's not clear to me if this fix is part of release 2.3.4 or not.  Can someone clarify this for me?

    Regarding my problem, when I open the dashboard the widget time is correct.  It matches the System Info Current Time and it matches the time on my computer desktop (linux).  If I leave the dashboard up for a few hours I notice an increasing time drift on the Status Widget.  Merely clicking on any menu option and returning to the dashboard 'resets' the time drift of the widget to the correct time whereupon it starts slowly drifting again.

    If the fix mentioned for issue #7245 (#3553) did not make it into release 2.3.4 then I'll try the latest development snapshot.  But if the fix made it into the release then I have to gather more specific data and present it here.

    Thanks



  • @JonH:

    SG 2440 with 2.3.4 release.
    My NTP Status Widget is not keeping correct time.  …..

    Maybe the Java/JSON (whatever) callback isn't functioning well (sorry, doktornotor, just guessing).
    I checked "https://github.com/pfsense/pfsense/pull/3553" and that code is part of 2.3.4.
    Maybe your browser cached the old version of the javascript file ….. flush your local cache to be sure.
    Keep in mind it's a Widget, close to Gadget, close to ... :)

    edit : Left the GUI open, used an 'atomic driven' clock to sync ones. 3 hours later : could not detect the slightest drift between to two of them.
    doktornotor did a fine job.

    @JonH:

    NTPD is set up on LAN & OPT1, not WAN.

    With other words : it serves time on LAN and OPT1, and uses upstream time servers from WAN … ;)
    I presume your are not a 'public NTP server'.

    @JonH:

    My pool servers are:

    server 0.pfsense.pool.ntp.org iburst maxpoll 9 prefer
    

    Doesn't exist for me ….



  • @Gertjan:

    Maybe your browser cached the old version of the javascript file ….. flush your local cache to be sure.
    Keep in mind it's a Widget, close to Gadget, close to ... :)

    I cleared my Firefox cache and changed the tick box of 'prefer' from 2 servers to 1 server.  And I removed the server 0.pfsense.pool.ntp.org, substituting a different stratum 2 server.

    After 4 hrs it's good, much better than before.

    Thanks for the tips.



  • FWIW, I am having exactly the same NTP widget issue. I will try clearing my Firefox cache to see if that fixes things. Thanks for the suggestion.

    Update
    Clearing the cache and reinstalling the widget had no effect, the issue remains.

    Update 2
    Chrome does not suffer from the problem. Chrome keeps perfect time. My Firefox installation continues to suffer, however.

    Cheers,
    Pete