Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet stuck at [NTP] Starting clock sync... #846

Open
skironDotNet opened this issue Jun 2, 2021 · 5 comments
Open

wallet stuck at [NTP] Starting clock sync... #846

skironDotNet opened this issue Jun 2, 2021 · 5 comments

Comments

@skironDotNet
Copy link

Linux Mint 19
Navcoin Core 6.1

Always had this issue at any version, any ideas how to fix?
Linux permissions?

@mxaddict
Copy link
Contributor

mxaddict commented Jun 2, 2021 via email

@skironDotNet
Copy link
Author

I've got an impression the app just froze, and had to force quit it

@skironDotNet
Copy link
Author

skironDotNet commented Jun 3, 2021

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

@skironDotNet
Copy link
Author

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

@mntyfrsh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants