Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gossip Strategy not working #206

Open
techitdeveloper opened this issue Sep 28, 2024 · 1 comment
Open

Gossip Strategy not working #206

techitdeveloper opened this issue Sep 28, 2024 · 1 comment

Comments

@techitdeveloper
Copy link

techitdeveloper commented Sep 28, 2024

  • 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

@Ind-Pandey
Copy link

I am also facing the same issue, Gossip is not working, i tried emp strategy and its working but its not as good as goosip.

If you fixed it or figured out the solution pls let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants