Open skironDotNet opened 3 years ago
Does this issue persist with the lastest build?
Clock sync on latest build should timeout after failed attempt and continue without ntp clock sync.
On Thu, Jun 3, 2021, 00:40 Pawel Cioch @.***> wrote:
Linux Mint 19 Navcoin Core 6.1
Always had this issue at any version, any ideas how to fix? Linux permissions?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/navcoin/navcoin-core/issues/846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIDAKKJXJYWX7WRWQPWLXLTQZNHLANCNFSM457DFZPQ .
I've got an impression the app just froze, and had to force quit it
I was able to run on windows from VM
Got back to linux,
Tested if I can talk to NTP from terminal
ntpdate -q time3.google.com
This was fine, so
added those two to navcoin.conf
ntpserver=time3.google.com
ntptimeout=10
Log:
2021-06-03 22:09:51 [NTP] Starting clock sync... 2021-06-03 22:09:51 A connection could not be made to any ntp server. Please ensure you system clock is correct otherwise your stakes will be rejected by the networkinit message: Synchronizing clock attempt 1...
And the app stucks on attempt 1 ignoring timeout
Ran on Windows with those flags, the app made 3 attempts (default) but complained can't connect. Was it because missing port in ntpserver ? Anyhow the app kept running after error, so definitely not right on Linux
I see no problem on Ubuntu 18.04.5 LTS, so something is not right with my Linux Mint, maybe firewall vs DNS discovery of NTP servers. I guess it's up to me to figure it out
Linux Mint uses systemd-timesyncd for time synchronization. Seems ntpd is being deprecated across multiple distributions by systemd-timesyncd and chrony. Since we cannot continue to rely on ntpclient working correctly on all Linux systems we'll have to account for how to sync time when alternatives are used for time sync on Linux hosts that use alternative time sync services.
https://forums.linuxmint.com/viewtopic.php?t=300466 https://forums.linuxmint.com/viewtopic.php?t=311081
Linux Mint 19 Navcoin Core 6.1
Always had this issue at any version, any ideas how to fix? Linux permissions?