Hi all, I have a Pi 3 running OS 2.50.4 and am having problems with getting a correct system time. When I run
date on the command line I get the 9th of June (today is the 17th). I thought it may have failed to sync time with an NTP server so I rebooted, but with the same issues.
I suspected that the NTP services may be getting blocked by the firewall sat on the network this unit is installed into, so I asked the on-site IT team to open up port 123 UDP as per the docs however I’m still seeing the same issues.
Running chronyc sources both before the firewall rule and after shows the following (in other words, it still can’t reach the NTP servers):
210 Number of sources = 4 MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== ^? time.cloudflare.com 0 14 0 - +0ns[ +0ns] +/- 0ns ^? 183.ip-51-89-151.eu 0 14 0 - +0ns[ +0ns] +/- 0ns ^? ntp1.doorhan.ru 0 14 0 - +0ns[ +0ns] +/- 0ns ^? ns4.turbodns.co.uk 0 14 0 - +0ns[ +0ns] +/- 0ns
So my question is: do you think the firewall has been updated incorrectly, thus still not allowing the requests to the NTP server through, or do you think there may be something else at play here?
Is there any way natively through balenaOS to check whether the ports have correct access?