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

Problem in Archlinux X64 #95

Closed
erwinkendo opened this issue Sep 25, 2014 · 5 comments
Closed

Problem in Archlinux X64 #95

erwinkendo opened this issue Sep 25, 2014 · 5 comments

Comments

@erwinkendo
Copy link

Good Day

I have the following error running the test program in the Wiki.

*** WARNING *** The program 'node' uses 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/avahi-compat?s=libdns_sd&e=node>
*** 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/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>

Which seems to be normal, because in an Ubuntu x64 machine, I received the same message. However, the program crashes inmediately with;

/home/erwin/nodejs/mdns/node_modules/mdns/lib/advertisement.js:56
  dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
         ^
Error: dns service error: unknown
    at new Advertisement (/home/erwin/nodejs/mdns/node_modules/mdns/lib/advertisement.js:56:10)
    at Object.create [as createAdvertisement] (/home/erwin/nodejs/mdns/node_modules/mdns/lib/advertisement.js:64:10)
    at Object.<anonymous> (/home/erwin/nodejs/mdns/test0.js:6:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:906:3

Any suggestions?

@StefanKiendl
Copy link

Hello Erwin, did you find any solution for your crashes?

@agnat
Copy link
Owner

agnat commented Nov 22, 2014

Hm... it's not the same. You get unsupported. The others get unknown. My best guess is that you supplied parameters that are not supported by the compat library...

@siboulet
Copy link

@agnat Thanks. Sorry for the confusion, I moved my comment to #104.

@agnat
Copy link
Owner

agnat commented Nov 22, 2014

Hehe... Well... now it gets confusing...

@mathieurivest
Copy link

I get the same error running node 6.4.0 under Ubuntu Trusty (12) on an aws ec2 instance.

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