10000 check-supernodes sequence over tunnel · Issue #2002 · aredn/aredn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

check-supernodes sequence over tunnel #2002

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

Open
1 task done
jwheeler188 opened this issue Mar 18, 2025 · 2 comments
Open
1 task done

check-supernodes sequence over tunnel #2002

jwheeler188 opened this issue Mar 18, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@jwheeler188
Copy link

Describe the bug

After rebooting the node, some times DNS names to not resolve. I suspect that check-supernodes is running before the tunnel server & client nodes have fully connected. Issue with happen when tunnel is slow to connect. After reboot, If it takes longer than 1-2 minutes for the tunnel client node to resolve the DNS name of the tunnel server neighbor node, DNS discovery will fail until the next hour when "check-supernodes" runs via crontab. If i end up in the failed state, manually running "cd /etc/cron.hourly/ ; ./check-supernodes" from ssh resolves the issue immediately.

  • Does this issue still occur on the latest version? (Required)

Expected behavior

If tunnels are enabled on the client, and the system has booted. After the client node connects and has resolved the server nodes name. Then check-supernodes should execute.

Support data

Please add the support data for all nodes mentioned in this bug report (Required)

Screenshots

Please include a screenshot of your system information (if possible) if the specific system environment is relevant to the bug.

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

@jwheeler188 jwheeler188 added the bug Something isn't working label Mar 18, 2025
@aanon4 aanon4 added enhancement New feature or request and removed bug Something isn't working labels Mar 18, 2025
@jwheeler188
Copy link
Author

wait_for_ticks(120) -- Initial wait before starting up period tasks

I think this may be the value that needs to be adjusted. Maybe I am wrong, but this looks like the code that ultimately calls check-supernodes after boot.

@jwheeler188
Copy link
Author

aredn/files/usr/local/bin/mgr/periodic.lua

Line 50 in 2054942

wait_for_ticks(120) -- Initial wait before starting up period tasks
I think this may be the value that needs to be adjusted. Maybe I am wrong, but this looks like the code that ultimately calls check-supernodes after boot.

Adding additional delay before the startup tasks did not resolve the issue. In fact, the 2 minute delay results in the tunnel not connecting until after the 2 minutes has passed. Adding delay to the start up period tasks also delays the tunnel connection by the same amount of time.

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

No branches or pull requests

2 participants
0