-
Notifications
You must be signed in to change notification settings - Fork 143
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
Error: dns service error: unknown #104
Comments
looks like this is your first (public) contribution, like, ever. So, welcome! Regarding the issue, I'm afraid but I'm going to send you right back. I guess AirSonos is some sort of embedded device running linux and NodeTunes is an application on said device. About right? I also assume that avahi is used. As you can see the avahi error message is not very helpful. From another issue (#56) I recall that you get an error like that when avahi is not running/reachable. So my best guess at this point is: avahi is installed, including the required compat library but it is not running. So, it is a system issue. I hope this helps. |
Ok, AirSonos is an application, too. Whatever... still looks like avahi is not running. |
Many thanks for the warm welcome! Just for your information: In the background "avahi" is used (Debian packages: libavahi-compat-libdnssd-dev libasound2-dev). It seems running. But thank you for the hint with that it is probably an avahi problem. I will try to get more logging from avahi, maybe I find the problem there. |
Not sure it is an avahi problem. The thing with unknown errors is they are ... unknown. My gut feeling still says it is on the system level. Note, that avahi requires dbus. The chroot env might also be at play. If you can compare it to a more ordinary setup. Ubuntu desktop system, no chroot or something. A vbox works well, though. |
I had the same error on my Raspberry Pi. Hope it helps. |
I'm also having a similar problem. Debian Jessie (testing) *** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi. |
Again, this is not the same issue. @siboulet is getting |
I get the unknown error for OSX, I guess I need avahi or bonjour? events.js:85 |
I hope I'm not highjacking this issue with a unrelated one, but the problem seems very similar and has the same exception. Output:
The errorCode (of This happens while Avahi is running. It seems like it is a timeout from resolving a service on a machine that is non-existant. It might have to do with Avahi having cached a number of services while the machine has been powered off in the meantime. It would explain the semi-randomness I'm seeing. |
Sorry, no idea. :-/ As a workaround you could obviously trap all unknown errors and (optionally) start a new browser to refresh your lists. |
@agnat Yes, I trap the error, but restarting the browser will again result in an error when it again tries to resolve the incorrect. This even happens when restarting the node process. That said, reproducing this issue is very flaky (I haven't found a good pattern yet). I'll report back if it happens again. |
I see. Sounds nasty. Best of luck though! |
I use mdns embedded in AirSonos (via NodeTunes) and always get the following error.
The developer of AirSonos sent me here.
Error message:
Error: dns service error: unknown
at new Advertisement (/usr/lib/node_modules/airsonos/node_modules/nodetunes/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create as createAdvertisement
at NodeTunes. (/usr/lib/node_modules/airsonos/node_modules/nodetunes/lib/server.js:65:21)
at Server.g (events.js:180:16)
at Server.emit (events.js:92:17)
at net.js:1055:10
at process._tickCallback (node.js:419:13)
The text was updated successfully, but these errors were encountered: