Go Down

Topic: NTP - time.nist.gov Not working (Read 948 times) previous topic - next topic

frank2644

time.nist.gov does not seem to be responding to NTP requests. I have a bunch of esp8266 projects that use this NTP pool, some for years, and many have stopped getting responses.

I just tried one of the esp8266 NTP example programs and that also is not working.

Furthermore mostly these NTP servers don't respond to pings, although rarely I do see a response. I even tried using an online based pinger (https://www.ipaddressguide.com/ping) and pings from that site also fail.

This has been going on for several days, and it appears that the NTP pool "time.nist.gov" is malfunctioning. Hard to believe that is the case given that there must be millions of users (IMHO) and news of such a malfunction would likely be widely available (via Google, etc).

The alternative NTP pool "pool.ntp.org" works fine and is pingable.

Is anyone else having this problem?

Thanks, Frank

PerryBebbington

I am playing with ESP8266s and used the sample program for getting NTP time, which used time.nist.gov. I found it to be somewhere between unreliable and unuseable. Like you, I tried pool.ntp.org, which works fine.

frank2644

Thanks for the response, i was beginning to think I was crazy since I thought it was unimaginable that "time.nist.gov" could malfunction seemly unnoticed.

Kinda gives credibility to those who say the government can't do anything right :>)

I'm hoping they get their act together soon so some of my older projects can get accurate time again. If not, maybe I can find a way to override the DNS lookup for "time.nist.gov" like is done in a P.C. "hosts" file. Maybe my home router has some similar capability.

I hate the idea of going back and modifying some of my old projects. I have so many variations and permutations
of my old sketches that  I might have trouble identifying which sketch applies to a specific old project. More recently I have mitigated that problem by programming sketches to identify the sketch file name via the console port upon bootup.

If anyone has any further comments/information on this problem I'd love to hear it. 

Thanks again.
Frank

Coding Badly


Have you tried contacting them?


frank2644

Excellent suggestion!

I just sent an email to them describing the problem. I'll post back when/if I get a response.

Frank

Coding Badly


For what it's worth...

Code: [Select]

pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 132.163.97.4, stratum 1, offset -0.019549, delay 0.05302
11 Jul 02:45:00 ntpdate[29601]: adjust time server 132.163.97.4 offset -0.019549 sec
pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 132.163.97.4, stratum 1, offset -0.020000, delay 0.05318
11 Jul 02:46:05 ntpdate[29618]: adjust time server 132.163.97.4 offset -0.020000 sec
pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 129.6.15.28, stratum 1, offset -0.068781, delay 0.17342
11 Jul 02:46:17 ntpdate[29619]: adjust time server 129.6.15.28 offset -0.068781 sec
pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 129.6.15.28, stratum 1, offset -0.067441, delay 0.17392
11 Jul 02:46:28 ntpdate[29628]: adjust time server 129.6.15.28 offset -0.067441 sec
pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 129.6.15.28, stratum 1, offset -0.068839, delay 0.17601
11 Jul 02:46:35 ntpdate[29629]: adjust time server 129.6.15.28 offset -0.068839 sec

wildbill

But a little later:
Code: [Select]

ntpdate -q time.nist.gov
server 132.163.97.4, stratum 0, offset 0.000000, delay 0.00000
11 Jul 07:19:43 ntpdate[18979]: no server suitable for synchronization found


Maybe the service is oversubscribed or some of their servers are down, unnoticed.

Coding Badly


Huh.  Still working here...

Code: [Select]

pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 128.138.141.172, stratum 1, offset -0.028040, delay 0.12584
11 Jul 12:35:23 ntpdate[5442]: adjust time server 128.138.141.172 offset -0.028040 sec
pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 129.6.15.30, stratum 1, offset -0.041947, delay 0.15367
11 Jul 12:35:38 ntpdate[5443]: adjust time server 129.6.15.30 offset -0.041947 sec
pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 129.6.15.30, stratum 1, offset -0.052181, delay 0.17299
11 Jul 12:35:46 ntpdate[5444]: adjust time server 129.6.15.30 offset -0.052181 sec
pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 129.6.15.30, stratum 1, offset -0.041568, delay 0.15404
11 Jul 12:35:54 ntpdate[5445]: adjust time server 129.6.15.30 offset -0.041568 sec
pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 129.6.15.26, stratum 1, offset -0.042717, delay 0.15593
11 Jul 12:36:12 ntpdate[5446]: adjust time server 129.6.15.26 offset -0.042717 sec



PerryBebbington

Are there any geographic restrictions on its use? I am in the UK.

Coding Badly


Still working from here...

Code: [Select]

pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 132.163.96.6, stratum 1, offset -0.008480, delay 0.08261
11 Jul 14:08:47 ntpdate[8064]: adjust time server 132.163.96.6 offset -0.008480 sec
pi@raspberrypi:~ $ ntpdate -q time.nist.gov
server 132.163.97.4, stratum 1, offset 0.000103, delay 0.06807
11 Jul 14:10:06 ntpdate[8082]: adjust time server 132.163.97.4 offset 0.000103 sec


(My Pi's clock is oddly accurate.)

PerryBebbington


Quote
Still working from here...
And where, Mrs. Badly's little boy, is 'here' exactly? :)


Coding Badly

#11
Jul 11, 2019, 10:58 pm Last Edit: Jul 11, 2019, 10:58 pm by Coding Badly

Huh.  The forum used to display "location".  I wonder when that disappeared.

Dallas.  (Not the one in South Dakota.)

Frontier is my ISP.


CrossRoads

#12
Jul 11, 2019, 11:00 pm Last Edit: Jul 11, 2019, 11:14 pm by CrossRoads
Location stopped on the topic pages a while ago.
They can still be seen on the Profile page. As a moderator I can see yours by clicking on your picture/avatar, I don't know if non-mods can see others.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

frank2644

The online pinger still shows 100% packet loss.

https://www.ipaddressguide.com/ping

No reply to my email yet.

Frank

Coding Badly


I believe the NIST time servers are normally not pingable.


Go Up