Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mDNS not working on Ubuntu core amd64 #176
I'm testing Nextcloud Snap on a Mini PC Celeron using this config to generate the img file of Ubuntu Core:
If I launch mdns-publisher manually I got this:
So I have no idea how to debug at this point and how to fix this problem or if the problem comes from nextcloud-snap or from Ubuntu Core for PC.
Hi @kyrofa . As I put on the first message if I launch manually I have the following message:
Ok so, some updates. I was looking for Avahi (who manage mDNS) on the Ubuntu core but didn't found it. Looking on google I found this page:
So I installed snapweb... and entering http://snapweb.local without the port my browser show me... Nextcloud ^^ .
So my theory is that we are missing Avahi so the nexcloud snap declare the mDNS domain but there no daemon to catch it and send it over the network.
Neither snaps use avahi; avahi is a daemon that broadcasts mDNS for its clients. Both the nextcloud and snapweb snaps directly broadcast mDNS on their own. It's interesting that
Hi ! Thank for taking time to respond.
Yes it's what I understand now. The difference I can see between Snapweb and Nextcloud is the lib you are using for publishing the domain on the network.
The one used on mdns-publisher is : github.com/davecheney/mdns
I have a second bug I didn't mention before but it can help. I have 2 network interfaces on the box eth1 and eth0. And if I connect the network on eth1 and run the mdns-publisher manually is returning an error telling me there are no IP on eth0. If I connect on eth0 and execute the mdns-publisher manually is returning me the message I post before.
I didn't mention before but when I execute mdns manually and I got the message :
If I ping nextcloud.local:
if I ping snapweb: