Skip to content
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

mDNS no longer working? #22

Closed
queequac opened this issue Jan 31, 2015 · 15 comments
Closed

mDNS no longer working? #22

queequac opened this issue Jan 31, 2015 · 15 comments

Comments

@queequac
Copy link

From yesterday on my Chromecast does no longer reply to any mDNS query. I have restarted it, plugged it off for a while, etc., but it is no longer discoverable this way.

The official Chromecast app and Youtube on Android still see it, the UPnP based DIAL Service is also still present and working.

Anybody else experiences this? Was there maybe some change within the device regarding discovery? My firmware version is 26653.

@xat
Copy link
Contributor

xat commented Jan 31, 2015

FYI, there is also a related discussion going on here:
xat/castnow#61

@xat
Copy link
Contributor

xat commented Jan 31, 2015

Though I think this issue does not have todo directly with node-castv2-client (since mDNS is not part of it).

@queequac
Copy link
Author

Yeah, I was quite confident that it was mit related to this client, since I could not find the mdns service via other tools either. But thanks for confirming. Seems I have to add DIAL to my project just for finding the device... Crap

@xat
Copy link
Contributor

xat commented Jan 31, 2015

@queequac
Did you also try it with https://github.com/xat/chromecast-scanner ?

@thibauts
Copy link
Owner

I can't reproduce the issue but you could try to sniff your local network with wireshark for both cases and see what differs.

If you can isolate the relevant packets and post the cap files here it's even better :)

@queequac
Copy link
Author

@xat This is very strange... the chromecast-scanner returned only once in 20(!) runs the chromecast device, in any other case the service was undefined. :/ I wonder whats going on there.

@queequac
Copy link
Author

btw, wireshark has only shown the mdns response in the valid cases. Got a second successfull discovery in the meanwhile... the rate is below <5% for these. :(
Interesting is also that the Android youtube app seems to send a UPnP M-SEARCH in any case...could not see a mdns response there so far...

@thibauts
Copy link
Owner

There may be a bug in the latest chromecast update that doesn't appear
because many client rely on upnp / ssdp.
Le 31 janv. 2015 14:36, "Roland Eckl" [email protected] a écrit :

btw, wireshark has only shown the mdns response in the valid cases. Got a
second successfull discovery in the meanwhile... the rate is below <5% for
these. :(
Interesting is also that the Android youtube app seems to send a UPnP
M-SEARCH in any case...could not see a mdns response there so far...


Reply to this email directly or view it on GitHub
#22 (comment)
.

@auchenberg
Copy link

I'm seeing similar issues with firmware 25525 and 25652, where Chromecasts has stopped appearing in Bonjour browser for mac.

However the devices still seems to announce itself over SSDP, so maybe chromecast-scanner could fallback to SSDP?

@xat
Copy link
Contributor

xat commented Jan 31, 2015

does this code find your chromecast device?

var Client = require('node-ssdp').Client
var client = new Client();

client.on('response', function (headers, statusCode, rinfo) {
  console.log('chromecast running on address', rinfo.address);
  client._stop();
});

client.search('urn:dial-multiscreen-org:service:dial:1');

@auchenberg
Copy link

Yup, but I had to wrap the search call in a setTimeout to prevent the process from exiting...

chromecast running on address 192.168.0.15

@xat
Copy link
Contributor

xat commented Jan 31, 2015

Okay, then I'll just make an (temporary) chromecast-scanner-ssdp module if the problem over at xat/castnow#61 still occurs.

@auchenberg
Copy link

Add it as an option in chromecast-scanner? Google might add other discoverability protocols in the future, I assume chromecast-scanner would need to support these too.

@xat
Copy link
Contributor

xat commented Jan 31, 2015

ah, explicit option is a good idea :D

@iamdriz
Copy link

iamdriz commented Feb 9, 2015

What's the fix to get node-castv2-client working again then? I'm not following what the solution is from the above comments. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants