libcluster
libcluster copied to clipboard
Gossip Strategy not working
- Configuration Used
config :libcluster,
topologies: [
example_cluster: [
strategy: Cluster.Strategy.Gossip,
config: [
port: 45892
]
]
]
- Errors/Incorrect Behaviour Encountered
Application file_processor exited: FileProcessor.Application.start(:normal, []) returned an error: shutdown: failed to start child: Cluster.Supervisor
** (EXIT) shutdown: failed to start child: :example_cluster
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: {:error, :eaddrinuse}
(libcluster 3.3.3) lib/strategy/gossip.ex:127: Cluster.Strategy.Gossip.init/1
(stdlib 6.1) gen_server.erl:2229: :gen_server.init_it/2
(stdlib 6.1) gen_server.erl:2184: :gen_server.init_it/6
(stdlib 6.1) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
Description of issue
I cant get why its not working, if you want the complete code then this is it
https://github.com/techitdeveloper/File_ProcessingDistributed_System-Elixir