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

Time check retried too fast #2380

Open
scottyeager opened this issue Jul 19, 2024 · 0 comments
Open

Time check retried too fast #2380

scottyeager opened this issue Jul 19, 2024 · 0 comments
Assignees
Milestone

Comments

@scottyeager
Copy link

scottyeager commented Jul 19, 2024

This loop seems to run without any wait before retry on this request:

timeRes, err := http.Get("https://worldtimeapi.org/api/timezone/UTC")

Then sometimes this can start before the node's network is fully ready and cause about 3000 retries in two seconds. See for example this section of logs from node 6589 starting at 2024-07-18T08:19:50Z:

[+] noded: 2024-07-18T08:19:51Z error failed to run ntp check error="failed to get date: Get \"https://worldtimeapi.org/api/timezone/UTC\": dial tcp: lookup worldtimeapi.org on 192.168.6.1:53: dial udp 192.168.6.1:53: connect: network is unreachable"
... (3000 lines of mostly duplicate errors omitted)
[+] noded: 2024-07-18T08:19:50Z error failed to run ntp check error="failed to get date: Get \"https://worldtimeapi.org/api/timezone/UTC\": dial tcp: lookup worldtimeapi.org on 192.168.6.1:53: dial udp 192.168.6.1:53: connect: network is unreachable"

There's another example on node 3407 at 2024-07-16T01:43:13Z.

@ramezsaeed ramezsaeed added this to the 3.13 milestone Jul 30, 2024
@Eslam-Nawara Eslam-Nawara self-assigned this Aug 6, 2024
@Eslam-Nawara Eslam-Nawara modified the milestones: 3.13, 3.12 Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pending Review
Development

No branches or pull requests

3 participants