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

    ntp won't find peers

    Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
    5 Posts 3 Posters 640 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.
    • JeGrJ
      JeGr LAYER 8 Moderator
      last edited by JeGr

      Our lab VM has configured 3 NTP pools:

      1.<country>.pool.ntp.org
      2.<country>.pool.ntp.org
      3.<country>.pool.ntp.org

      Same config works on the current plus-devel VM (still on 22.09 from august) and formerly worked with the CE devel VM. Now it won't connect to servers. Log shows dozends of Soliciting pool server <ip> but no active peer shows up even after more then 15min. First assumed it may be a MultiWAN problem (lab has 2 WANs) so I disabled one but still no NTP.

      Cheers
      \jens

      Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

      1 Reply Last reply Reply Quote 0
      • fireodoF
        fireodo
        last edited by

        @jegr said in ntp won't find peers:

        1.<country>.pool.nt.org
        2.<country>.pool.nt.org
        3.<country>.pool.nt.org

        Should it not be *.pool.NTP.org?

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.8.0 CE
        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

        JeGrJ 1 Reply Last reply Reply Quote 0
        • JeGrJ
          JeGr LAYER 8 Moderator @fireodo
          last edited by

          @fireodo said in ntp won't find peers:

          @jegr said in ntp won't find peers:

          1.<country>.pool.nt.org
          2.<country>.pool.nt.org
          3.<country>.pool.nt.org

          Should it not be *.pool.NTP.org?

          it is, sorry, just copy&paste error. The config was working before so no error there :) The names are resolving as shown by the soliticing messages in the log.

          5906b607-85a3-4a98-bb60-6df1a536fe84-image.png

          Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

          If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

          1 Reply Last reply Reply Quote 1
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by jimp

            I see the problem, it's not fully handling a case where there the list of selected NTP interfaces has a single empty entry and nothing else, which IIRC is the default. When the code was updated to handle the new config access style it ends up with a slightly different result than it did in the past.

            I pushed a fix just now, the next snapshot should be OK.

            https://github.com/pfsense/pfsense/commit/941eca9a6fe02cda70a4c5b5697fd6c0f6e2c3a9

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            JeGrJ 1 Reply Last reply Reply Quote 0
            • JeGrJ
              JeGr LAYER 8 Moderator @jimp
              last edited by

              @jimp said in ntp won't find peers:

              https://github.com/pfsense/pfsense/commit/941eca9a6fe02cda70a4c5b5697fd6c0f6e2c3a9

              Can confirm that works. After restarting, NTP immediatly pulls pool servers into the mix and connects to peers :)
              Great!

              Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

              If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.