Closed webhive closed 4 years ago
Hello!
Tried this library and got permanent :not_alive error on LocalCluster.start_nodes Also your library test returned this
LocalCluster.start_nodes
00:02:37.767 [info] Protocol 'inet_tcp': register/listen error: econnrefused ** (MatchError) no match of right hand side value: {:error, {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:"manager@1 27.0.0.1"], false]}, :permanent, 1000, :supervisor, [:erl_distribution]}}} test/test_helper.exs:2: (file) (elixir) lib/code.ex:813: Code.require_file/2 (elixir) lib/enum.ex:783: Enum."-each/2-lists^foreach/1-0-"/2
I am not sure - may be this issue is trivial and self obvious for true erlang developers, but for noobs like me it was kind of pain.
Finally I got the reason - there must be epmd daemon running.
epmd
So may be reflect this requirements in documentation? It seems mandatory condition so looks logical for me to write couple of lines about it.
I added a small note about this in the README, thanks!
Hello!
Tried this library and got permanent :not_alive error on
LocalCluster.start_nodes
Also your library test returned thisI am not sure - may be this issue is trivial and self obvious for true erlang developers, but for noobs like me it was kind of pain.
Finally I got the reason - there must be
epmd
daemon running.So may be reflect this requirements in documentation? It seems mandatory condition so looks logical for me to write couple of lines about it.