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

OS X - 'Nameserver not responding on ...' #108

Closed
jordan0day opened this issue May 11, 2016 · 3 comments
Closed

OS X - 'Nameserver not responding on ...' #108

jordan0day opened this issue May 11, 2016 · 3 comments

Comments

@jordan0day
Copy link

I'm on OS X Yosemite and having an issue connecting to a node I'm running locally. I can connect the nodes using net_adm:ping, but erlyberly complains with "Nameserver not responding on Jordans-MacBook-Pro.trea..."

screen shot 2016-05-11 at 10 45 24 am

$ erl -name test -setcookie test_cookie
Erlang/OTP 18 [erts-7.2.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Eshell V7.2.1  (abort with ^G)
(test@Jordans-MacBook-Pro.trea.local)1>

...


$ erl -name test2 -setcookie test_cookie
Erlang/OTP 18 [erts-7.2.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Eshell V7.2.1  (abort with ^G)
(test2@Jordans-MacBook-Pro.trea.local)1> net_adm:ping('test@Jordans-MacBook-Pro.trea.local').
pong

As per the troubleshooting section in the README, I've verified that epmd is running:

$ ps aux | grep epmd
jordan           9581   0.0  0.0  2497076    468   ??  S     2May16   0:01.23 /usr/local/Cellar/erlang/18.2.1/lib/erlang/erts-7.2.1/bin/epmd -daemon

I'm guessing this is probably something configured wrong on my system or domain or something, but I'm really not sure what I should look at next, troubleshooting-wise?

@andytill
Copy link
Owner

According to the comment below the java erlang driver does not allow full stops in the node name. Could you try with a node name without the full stop?

erlang/erlide_eclipse#158 (comment)

@jordan0day
Copy link
Author

jordan0day commented May 11, 2016

Yes, it works if I have a nodename without any period in it.

It also works for a node name with an IP (like test@127.0.0.1), but, interestingly, it also works when I start my node with

erl -name test2@Jordans-MacBook-Pro.local -setcookie test_cookie

So it's not necessarily the presence of a period that causes the issue. This makes me think it is most likely some kind of issue with my local network/os x's hostname configuration stuff.

@andytill
Copy link
Owner

andytill commented May 11, 2016

Great, I have updated the trouble shooting section with this issue in e0c09c0.

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

2 participants