• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

NTP widget not keeping correct time

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 3 Posters 977 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JonH
    last edited by Jun 7, 2017, 5:05 AM

    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

    1 Reply Last reply Reply Quote 0
    • G
      Gertjan
      last edited by Jun 7, 2017, 3:31 PM Jun 7, 2017, 11:21 AM

      @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 ….

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      • J
        JonH
        last edited by Jun 8, 2017, 12:46 AM

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

        1 Reply Last reply Reply Quote 0
        • Y
          Yamabushi
          last edited by Aug 27, 2017, 10:39 AM Aug 27, 2017, 3:57 AM

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received