bitwalker / bitwalker/libcluster

Gossip Strategy not working

Open
#206 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Elixir
Stars
2.2k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

- 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)

https://github.com/techitdeveloper/File_ProcessingDistributed_System-Elixir

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.