Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If God had a beard, he'd be a UNIX programmer.


devel / comp.protocols.time.ntp / Re: Incorrect time happens intermittently

SubjectAuthor
* Incorrect time happens intermittentlyTze An
+- Re: Incorrect time happens intermittentlyDavid Woolley
`* Re: Incorrect time happens intermittentlyDavid Woolley
 +- Re: Incorrect time happens intermittentlyTze An
 `- Re: Incorrect time happens intermittentlyEric Pozharski

1
Incorrect time happens intermittently

<c4f833c5-6c48-482c-9f2e-506879843b4bn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=3&group=comp.protocols.time.ntp#3

 copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:ac8:5448:: with SMTP id d8mr685412qtq.392.1617758766205;
Tue, 06 Apr 2021 18:26:06 -0700 (PDT)
X-Received: by 2002:a9d:6a91:: with SMTP id l17mr797791otq.18.1617758765797;
Tue, 06 Apr 2021 18:26:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Tue, 6 Apr 2021 18:26:05 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=129.126.212.118; posting-account=LoROgwoAAAAs9eWgvNDluv7XIWalUeat
NNTP-Posting-Host: 129.126.212.118
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c4f833c5-6c48-482c-9f2e-506879843b4bn@googlegroups.com>
Subject: Incorrect time happens intermittently
From: tzean.c...@spaceagelabs.com.sg (Tze An)
Injection-Date: Wed, 07 Apr 2021 01:26:06 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Tze An - Wed, 7 Apr 2021 01:26 UTC

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?

Re: Incorrect time happens intermittently

<s4jtd6$3mq$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4&group=comp.protocols.time.ntp#4

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Incorrect time happens intermittently
Date: Wed, 7 Apr 2021 10:18:29 +0100
Organization: No affiliation
Lines: 23
Message-ID: <s4jtd6$3mq$1@dont-email.me>
References: <c4f833c5-6c48-482c-9f2e-506879843b4bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 7 Apr 2021 09:18:30 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="fa2b52544940d573888da8140061659d";
logging-data="3802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18C1hTsbMuFcRg8ddljn/XSywS6zIgj8+E="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.6.0
Cancel-Lock: sha1:gy4GJDZEevmSOExuycQ50t+YHR8=
In-Reply-To: <c4f833c5-6c48-482c-9f2e-506879843b4bn@googlegroups.com>
Content-Language: en-GB
 by: David Woolley - Wed, 7 Apr 2021 09:18 UTC

On 07/04/2021 02:26, Tze An wrote:
> 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?
>

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.

Re: Incorrect time happens intermittently

<s4jtnd$a2q$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5&group=comp.protocols.time.ntp#5

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Incorrect time happens intermittently
Date: Wed, 7 Apr 2021 10:23:57 +0100
Organization: No affiliation
Lines: 7
Message-ID: <s4jtnd$a2q$1@dont-email.me>
References: <c4f833c5-6c48-482c-9f2e-506879843b4bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 7 Apr 2021 09:23:57 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="fa2b52544940d573888da8140061659d";
logging-data="10330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180oTfoztjMUUFn+PNr0PbIQim82wbuYYE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.6.0
Cancel-Lock: sha1:b1XHutYwxyEEgyhJ2tuB3OA2CvM=
In-Reply-To: <c4f833c5-6c48-482c-9f2e-506879843b4bn@googlegroups.com>
Content-Language: en-GB
 by: David Woolley - Wed, 7 Apr 2021 09:23 UTC

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.

Re: Incorrect time happens intermittently

<10196496-e5c2-46fd-972c-b22ce406a366n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=6&group=comp.protocols.time.ntp#6

 copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:ac8:4783:: with SMTP id k3mr2047389qtq.231.1617788690053;
Wed, 07 Apr 2021 02:44:50 -0700 (PDT)
X-Received: by 2002:a05:6830:111a:: with SMTP id w26mr2129886otq.329.1617788689665;
Wed, 07 Apr 2021 02:44:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Wed, 7 Apr 2021 02:44:49 -0700 (PDT)
In-Reply-To: <s4jtnd$a2q$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=129.126.212.118; posting-account=LoROgwoAAAAs9eWgvNDluv7XIWalUeat
NNTP-Posting-Host: 129.126.212.118
References: <c4f833c5-6c48-482c-9f2e-506879843b4bn@googlegroups.com> <s4jtnd$a2q$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <10196496-e5c2-46fd-972c-b22ce406a366n@googlegroups.com>
Subject: Re: Incorrect time happens intermittently
From: tzean.c...@spaceagelabs.com.sg (Tze An)
Injection-Date: Wed, 07 Apr 2021 09:44:50 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Tze An - Wed, 7 Apr 2021 09:44 UTC

On Wednesday, April 7, 2021 at 5:23:59 PM UTC+8, David Woolley wrote:
> 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.

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!

Re: Incorrect time happens intermittently

<slrns6tadn.gsr.whynot@orphan.zombinet>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=7&group=comp.protocols.time.ntp#7

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: why...@pozharski.name (Eric Pozharski)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Incorrect time happens intermittently
Date: Thu, 08 Apr 2021 06:59:03 +0000
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <slrns6tadn.gsr.whynot@orphan.zombinet>
References: <c4f833c5-6c48-482c-9f2e-506879843b4bn@googlegroups.com>
<s4jtnd$a2q$1@dont-email.me>
Injection-Info: reader02.eternal-september.org; posting-host="f285ff9c15c05b4bf1e0d6adbceeaa58";
logging-data="2425"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/r9uQy+okhJ+Xqg2PUbmR9"
User-Agent: slrn/pre1.0.0-18 (Linux)
Cancel-Lock: sha1:j7UdJ8pXPifWmN5ObWYHzEZvKzs=
 by: Eric Pozharski - Thu, 8 Apr 2021 06:59 UTC

with <s4jtnd$a2q$1@dont-email.me> David Woolley wrote:
> 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.

"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

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor