<div dir="ltr">Hi David,<div><br></div><div>I'm not sure about this, but I think that the problem is that the node names must be consistent in their use of node names with or without FQDN (in net_kernel:start). The recommended way is to always use it. If my memory serves me right, the issue is traceable to epmd, that saves the node name as received from net_kernel:start, and when you try to connect with a different name, it's not found.</div><div><br></div><div>In short, always use a node name with a full FQDN when using long names.</div><div><br></div><div>If anyone knows better, please correct me.</div><div><br></div><div>best regards,</div><div>Vlad</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 6, 2015 at 5:56 PM, David Welton <span dir="ltr"><<a href="mailto:davidnwelton@gmail.com" target="_blank">davidnwelton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found net_kernel:verbose(10), which gives me, on the 'bad' node:<br>
<br>
(foo@kiger.buildd)10> net_kernel:connect_node('bar@kiger.buildd').<br>
<br>
=INFO REPORT==== 6-Feb-2015::17:43:41 ===<br>
{net_kernel,{connect,normal,'bar@kiger.buildd'}}<br>
<br>
=INFO REPORT==== 6-Feb-2015::17:43:41 ===<br>
{net_kernel,{'EXIT',<0.7660.0>,shutdown}}<br>
<br>
=INFO REPORT==== 6-Feb-2015::17:43:41 ===<br>
{net_kernel,{net_kernel,875,nodedown,'bar@kiger.buildd'}}<br>
false<br>
<br>
On the 'good' node, it works right away:<br>
<br>
(bar@kiger.buildd)7> net_kernel:connect_node('foo@kiger.buildd').<br>
<br>
=INFO REPORT==== 6-Feb-2015::17:55:43 ===<br>
{net_kernel,{connect,normal,'foo@kiger.buildd'}}<br>
true<br>
<br>
And after that, on the 'pang' node, I can connect to the other node as well...<br>
(foo@kiger.buildd)36> net_kernel:connect_node('bar@kiger.buildd').<br>
<br>
=INFO REPORT==== 6-Feb-2015::17:56:17 ===<br>
{net_kernel,{connect,normal,'bar@kiger.buildd'}}<br>
true<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
David N. Welton<br>
<br>
<a href="http://www.welton.it/davidw/" target="_blank">http://www.welton.it/davidw/</a><br>
<br>
<a href="http://www.dedasys.com/" target="_blank">http://www.dedasys.com/</a><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>