Tinysvcmdns invisible from chrome app mdns-browser #5

Open
opened 2020-07-18 22:29:52 +00:00 by df · 1 comment
Owner

b6i6o6 (2015-07-15) reporter

I've been trying to advertise a _http._tcp.local service using tinysvcmdns and retrieve it from the chrome app mdns-browser. (https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/mdns-browser)

Unfortunately, my service is invisible in mdns-browser.

I am unable to figure out if the issue comes from tinysvcmdns or from the mdns-browser chrome app, since the tinysvcmdns service is visible from Safari, but my network printer is visible from mdns-browser, so both seem to be working to an extent.

I have enabled the debug mode in tinysvcmdns so I see that tinysvcmdns is responding to the mdns query as it says "added 1 answers" in the debug output, but I also added a simple console.log to display the ip addresses of each packet received by mdns-browser (console.log(info.remoteAddress) at https://github.com/GoogleChrome/chrome-app-samples/blob/master/samples/mdns-browser/main.js#L132), and it seems mdns-browser never receives the answer packet sent by tinysvcmdns.

What would point more to tinysvcmdns than mdns-browser is that if I install avahi-utils and register a service using avahi, it is then visible in mdns-browser. I thought "maybe mdns-browser is too picky on the answers or whatever", but again, it doesn't even see the answer from tinysvcmdns so I don't think the issue is the chrome app.

I have been looking into this issue for three days now, I don't know where to look at anymore. Do you have any idea that might help me ?

My setup is an old Linux Mint 12 (2011) running tinysvcmdns and a Mac OS X Montain Lion running mdns-browser.

Thank you, David

# b6i6o6 (2015-07-15) reporter I've been trying to advertise a _http._tcp.local service using tinysvcmdns and retrieve it from the chrome app mdns-browser. (https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/mdns-browser) Unfortunately, my service is invisible in mdns-browser. I am unable to figure out if the issue comes from tinysvcmdns or from the mdns-browser chrome app, since the tinysvcmdns service is visible from Safari, but my network printer is visible from mdns-browser, so both seem to be working to an extent. I have enabled the debug mode in tinysvcmdns so I see that tinysvcmdns is responding to the mdns query as it says "added 1 answers" in the debug output, but I also added a simple console.log to display the ip addresses of each packet received by mdns-browser (console.log(info.remoteAddress) at https://github.com/GoogleChrome/chrome-app-samples/blob/master/samples/mdns-browser/main.js#L132), and it seems mdns-browser never receives the answer packet sent by tinysvcmdns. What would point more to tinysvcmdns than mdns-browser is that if I install avahi-utils and register a service using avahi, it is then visible in mdns-browser. I thought "maybe mdns-browser is too picky on the answers or whatever", but again, it doesn't even see the answer from tinysvcmdns so I don't think the issue is the chrome app. I have been looking into this issue for three days now, I don't know where to look at anymore. Do you have any idea that might help me ? My setup is an old Linux Mint 12 (2011) running tinysvcmdns and a Mac OS X Montain Lion running mdns-browser. Thank you, David
Author
Owner

philippe44 (2017-05-26)

I realize it's a very old comment, but I had a similar issue sir mdns-scan and it was due to the fact that tinysvcmdns does not set TTL to 255 ont the multicast interface used to respond to query. Some mDNS searcher refuse to handle responses that might have travelled through a router

# philippe44 (2017-05-26) I realize it's a very old comment, but I had a similar issue sir mdns-scan and it was due to the fact that tinysvcmdns does not set TTL to 255 ont the multicast interface used to respond to query. Some mDNS searcher refuse to handle responses that might have travelled through a router
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: df/zeroconf#5
No description provided.