-
Notifications
You must be signed in to change notification settings - Fork 26
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
Making clients continuously trying to resolve and connect server #162
Comments
The loop you describe already exists: Epoptes-client only aborts when the DNS appears to work and yet the SERVER name doesn't resolve to a normal IP. I think the problem that you describe only affects MDNS; I'll look into it some time in the future, and possibly special-case the ".local" domain. |
which is the case when the server computer has not yet started. It would be great if that could be disabled by an option at least.. |
DNS works even when the target computers are powered off. I believe only MDNS has the problem you describe (when you're using computer.local this isn't DNS, it's MDNS), I'll test it when I get some free time, thanks. |
Yes MDNS of course. The clients are set up with
the server runs avahi-daemon with
Gonna try with a modified |
[…] |
@eMPee584 thanks but I think your patch will cause 100% CPU usage because it avoids the sleep call. |
Yes you're right of course, though the |
I too was thinking that the 60 seconds delay is a bit too long, but that's another issue, to be handled separately, not as part of this one. |
In case of network resolution errors or a server booted after the clients, these should never stop retrying to find and connect to the epoptes-server instance.
[With mdns enabled it was difficult to get it to work and from monitoring the client service it seems to stop its efforts to hook up to the server under some conditions]
The text was updated successfully, but these errors were encountered: