Skip to content

Gossip Strategy not working #206

@techitdeveloper

Description

@techitdeveloper
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions