Open dothebart opened 4 years ago
What does ./node_modules/nodecastor/bin/nodecastor discover
says?
hm, its not there :/ (the binary)
its actually:
./node_modules/nodecastor/bin/chromecast discover
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
events.js:174
throw er; // Unhandled 'error' event
^
Error: getaddrinfo -3008
at errnoException (/root/dashkiosk-2.7.8/node_modules/mdns/lib/resolver_sequence_tasks.js:199:11)
at getaddrinfo_complete (/root/dashkiosk-2.7.8/node_modules/mdns/lib/resolver_sequence_tasks.js:112:10)
at GetAddrInfoReqWrap.oncomplete (/root/dashkiosk-2.7.8/node_modules/mdns/lib/resolver_sequence_tasks.js:120:9)
Emitted 'error' event at:
at on_resolver_done (/root/dashkiosk-2.7.8/node_modules/mdns/lib/browser.js:28:14)
at next (/root/dashkiosk-2.7.8/node_modules/mdns/lib/browser.js:100:7)
at /root/dashkiosk-2.7.8/node_modules/mdns/lib/resolver_sequence_tasks.js:160:11
at getaddrinfo_complete (/root/dashkiosk-2.7.8/node_modules/mdns/lib/resolver_sequence_tasks.js:112:7)
at GetAddrInfoReqWrap.oncomplete (/root/dashkiosk-2.7.8/node_modules/mdns/lib/resolver_sequence_tasks.js:120:9)
ok, solved, thanks to
edited the /etc/nsswitch.conf
which was missing on that machine to contain
files mdns4_minimal [NOTFOUND=return] dns mymachines mdns4
and
apt-get install libnss-mdns
https://github.com/superhawk610/multicast/issues/23 had this.
ok, restarting the server then made it work.
Maybe system misconfiguration should be somehow better anounced in the logs, but I think this issue can be closed.
Though I see
"level":"info","message":"Rescan Chromecast devices"
andis able to see it, it won't show up in the admin screen. Is there a way to get more information here?