libcluster
libcluster copied to clipboard
unable to connect to & Cannot get connection id for node
Description
When two machines are started almost at the same time, I see the following error:
Oct 12 04:22:12 nccos-h1sq5z potion_proxy[507]: 04:22:12.690 [warn] [libcluster:proxy] unable to connect to :"[email protected]"
Oct 12 04:22:12 nccos-h1sq5z potion_proxy[507]: 04:22:12.692 [error]
Oct 12 04:22:12 nccos-h1sq5z potion_proxy[507]: ** Cannot get connection id for node :"[email protected]"
These logs come from machine [email protected]
while the other is [email protected]
.
The cluster strategy is gossip:
config :libcluster,
topologies: [
proxy: [
strategy: Cluster.Strategy.Gossip
]
]
Environment
Erlang/OTP 22 [erts-10.7.2] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] [hipe]
Elixir 1.9.4 (compiled with Erlang/OTP 22)