erlang Cannot get connection id for node bug

发布时间:2019-06-16 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了erlang Cannot get connection id for node bug脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

bug 描述

ping 同样sname, 使用ip作为hostname, 会使vm崩溃.

~/ejoy/battlenet/gangplank/apps/gate(master*) » iex --name aaa@bbb                                                                                                                          enjolras@ubuntu
Erlang/OTP 21 [erts-10.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]

Interactive Elixir (1.7.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(aaa@bbb)1> Node.ping(:aaa@ccc)
:pang
iex(aaa@bbb)2> Node.ping(:aaa@cccddd)
:pang
iex(aaa@bbb)3> Node.ping(:bbb@127.0.0.1)
** (SyntaxError) iex:3: syntax error before: "

iex(aaa@bbb)3> Node.ping(:"bbb@127.0.0.1")
:pang
iex(aaa@bbb)4> Node.ping(:"aaa@127.0.0.1")

11:40:38.491 [error] 
** Cannot get connection id for node :aaa@bbb

 
11:40:38.495 [error] GenServer :net_kernel terminating
** (stop) bad return value: {#PID<0.59.0>, {:accept_pending, :nok_pending}}
Last message: {#PID<0.119.0>, {:accept_pending, :aaa@bbb, :aaa@bbb, {:net_address, {{127, 0, 0, 1}, 41657}, 'bbb', :tcp, :inet}, :normal}}
State: {:state, :aaa@bbb, :aaa@bbb, :longnames, {:tick, #PID<0.61.0>, 15000}, 7000, :sys_dist, [{#PID<0.117.0>, :"aaa@127.0.0.1"}], [], [{:listen, #Port<0.3>, #PID<0.60.0>, {:net_address, {{0, 0, 0, 0}, 46035}, 'ubuntu', :tcp, :inet}, :inet_tcp_dist}], [], 0, :all}
:pang
iex(5)> Logger - error: {removed_failing_handler,'Elixir.Logger'}
{"Kernel pid terminated",application_controller,{badarg,[{io_lib,format,["~0p",[{application_terminated,kernel,shutdown}]],[{file,"io_lib.erl"},{line,183}]},{application_controller,to_string,1,[{file,"application_controller.erl"},{line,2028}]},{application_controller,handle_info,2,[{file,"application_controller.erl"},{line,1173}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,711}]}]}}
Kernel pid terminated (application_controller) ({badarg,[{io_lib,format,[[_],[_]],[{_},{_}]},{application_controller,to_string,1,[{_},{_}]},{application_controller,handle_info,2,[{_},{_}]},{gen_server

Crash dump is being written to: erl_crash.dump...done

脚本宝典总结

以上是脚本宝典为你收集整理的erlang Cannot get connection id for node bug全部内容,希望文章能够帮你解决erlang Cannot get connection id for node bug所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: