hardillb / nginx-proxy-avahi-helper

A container to generate matching mDNS CNAMEs for the virtual hosts used by jwilder/nginx-proxy
https://www.hardill.me.uk/wordpress/2020/09/22/nginx-proxy-avahi-helper/
Apache License 2.0
16 stars 2 forks source link

org.freedesktop.Avahi.NotSupportedError error #7

Open drmikecrowe opened 1 year ago

drmikecrowe commented 1 year ago

Any thoughts on this error?

forego      | starting cname.1 on port 17100
cname.1     | Traceback (most recent call last):
cname.1     |   File "/usr/src/app/cname.py", line 93, in <module>
cname.1     |     main()
cname.1     |   File "/usr/src/app/cname.py", line 81, in main
cname.1     |     status = publisher.publish_cname(cname, True)
cname.1     |   File "/usr/local/lib/python3.9/site-packages/mpublisher/mpublisher.py", line 117, in publish_cname
cname.1     |     group.AddRecord(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, dbus.UInt32(0), cname.encode("ascii"),
cname.1     |   File "/usr/local/lib/python3.9/site-packages/dbus/proxies.py", line 72, in __call__
cname.1     |     return self._proxy_method(*args, **keywords)
cname.1     |   File "/usr/local/lib/python3.9/site-packages/dbus/proxies.py", line 141, in __call__
cname.1     |     return self._connection.call_blocking(self._named_service,
cname.1     |   File "/usr/local/lib/python3.9/site-packages/dbus/connection.py", line 634, in call_blocking
cname.1     |     reply_message = self.send_message_with_reply_and_block(
cname.1     | dbus.exceptions.DBusException: org.freedesktop.Avahi.NotSupportedError: Not supported
hardillb commented 1 year ago

Nope, first guess would be to check what name you were trying to use, but other than that it will be digging in the avahi dbus doc/src

beorn commented 11 months ago

Maybe you're trying to use it on a macOS host? https://stackoverflow.com/questions/44078097/how-do-i-advertise-and-browse-mdns-from-within-docker-container