"your clock is ahead"

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
brutus
Black ninja
Black ninja
Posts: 42
Joined: 20 May 2022, 06:10
Distribution: openSUSE

"your clock is ahead"

Post#1 by brutus » 10 Mar 2023, 09:35

Hi,

I have not used a device for a few weeks. Now I have started the Kiosk system and the page to be called displays a message:
"Your clock is ahead..can't be established because your computer's date and time are incorrect".

I then used ssh to connect to the device. Sure enough, hwclock showed one hour ahead of the actual time.
With "hwclock -w" I adjusted the time to the system time and restarted the browser via the kiosk center. But still the same message comes up.

What can I do? Why does the time suddenly not fit anymore?
Nothing had changed in the settings.

BR,
Michael

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

"your clock is ahead"

Post#2 by fanthom » 10 Mar 2023, 10:43

Michael,

In kiosk version 5.4.0 the clock is synced every 24 hours from the NTP server:
https://porteus-kiosk.org/parameters.html#ntp_server

Please make sure that firewall in your organization is not blocking it.

You can verify this over SSH (replace default server with your own if you use it):

Code: Select all

ntpdate pool.ntp.org
Thanks
Please add [Solved] to your thread title if the solution was found.

brutus
Black ninja
Black ninja
Posts: 42
Joined: 20 May 2022, 06:10
Distribution: openSUSE

"your clock is ahead"

Post#3 by brutus » 13 Mar 2023, 11:36

Our dns works as ntp server. In the config file I got (example):

Code: Select all

ntp_server = 10.40.2.1

I can ping this server from the device.

Code: Select all

ntpdate 10.40.2.1
13 Mar 12:37:23 ntpdate[7264]: adjust time server 10.40.2.1 offset +0.008228 sec
Looks fine to me.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

"your clock is ahead"

Post#4 by fanthom » 13 Mar 2023, 11:55

Michael,

Looks OK.
Please recreate the problem then contact me through support@porteus-kiosk.org so I could debug more over SSH.

Thanks
Please add [Solved] to your thread title if the solution was found.

brutus
Black ninja
Black ninja
Posts: 42
Joined: 20 May 2022, 06:10
Distribution: openSUSE

"your clock is ahead"

Post#5 by brutus » 14 Mar 2023, 11:21

Expired certificate was the problem. Thank you for the support!

Locked