-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
handle local name collision and avahi-daemon restart #1294
Conversation
Maybe it would additionally make sense to be able to change the service names that SignalK is using. |
Note that I am trying to use terminology from https://tools.ietf.org/html/rfc6763#section-4.1 and mdns API uses different terms in its API.
Is it so that (one?) root cause of the problem is that we advertising with What if we would advertise from the start like the example from the rfc, with a human oriented instance name? Use This would probably eliminate the problem almost totally, but the retry is also good to add. |
Basically at the end you have a couple of entities:
For the hostname: Finally I would just leave this to mdns/avahi to pick a nice hostname. This way at least all services on the same host would utilize the same hostname. |
Could you please check the changes in #1300? Now that it does not use hostname as instancename are conflicts still happening? I don't have a Pi handy right now to test avahi daemon restart. I suppose the fallback to appending numbers in case of conflicts should also be added. |
I guess the changes in #1300 still leave a couple of problems open:
|
Yes. |
Replaced by #1300 . |
#1293 - retry on registration and re-register on errors