Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Incorrect time happens intermittently

81 views
Skip to first unread message

Tze An

unread,
Apr 6, 2021, 9:26:06 PM4/6/21
to
I've got incorrect time from NTP server, always 4 days before the actual datetime. You can see from the logs below, I got 2nd April on 6th April.

Incorrect time from NTP server
[2021-04-06 18:07:24.841] Clock:Info: Synchronizing time with NTP server...
[2021-04-06 18:07:25.232] NBiot:info:NBiot_Cmd [0x2a]: Request[AT+QNTP=1,"0.sg.pool.ntp.org"]
[2021-04-06 18:07:25.732] +QNTP: 0,"2021/04/02,10:07:28+32"

Correct time from NTP server
[2021-04-06 18:09:24.781] Clock:Info: Synchronizing time with NTP server...
[2021-04-06 18:09:25.172] NBiot:info:NBiot_Cmd [0x2a]: Request[AT+QNTP=1,"0.sg.pool.ntp.org"]
[2021-04-06 18:09:25.711] +QNTP: 0,"2021/04/06,10:09:27+32"

Has anyone experienced it before?

David Woolley

unread,
Apr 7, 2021, 5:18:31 AM4/7/21
to
What software is producing these logs? In particular, the AT suggests
this may be using some service provided by a mobile phone.

Please confirm you have at least four, unrelated servers configured.

Please provide the result of running ntpq against your NTP client,
assuming that it is sufficiently compliant to support that.

David Woolley

unread,
Apr 7, 2021, 5:23:59 AM4/7/21
to
On 07/04/2021 02:26, Tze An wrote:
> [2021-04-06 18:07:25.732] +QNTP: 0,"2021/04/02,10:07:28+32"

Also, what software are you using to process timezones, as "+32" is not
a real world time zone offset. It is conceivable that your problem is
in the software you use to convert UTC to your local timezone, rather
than in the UTC time provided by NTP.

Tze An

unread,
Apr 7, 2021, 5:44:50 AM4/7/21
to
Hi David,

I'm running on cellular module (Quectel BG96), I can't run ntpq on the system.
What you mentioned in comment makes sense, I suspect the issue is caused the cellular module itself.
Now I'm testing with another google NTP server to conclude that.

Thanks for your input, David!

Eric Pozharski

unread,
Apr 8, 2021, 1:33:11 PM4/8/21
to
"Time Zone" in "time-string format" of GSM is in 15min shifts. Although
true, closest to the definition I've found is GSM 07.07, chapter 8.15.

p.s. Even with my limited exposure, I've managed to observe some kinds
of crazy shit though.

--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom
0 new messages