Giter Club home page Giter Club logo

Comments (8)

hl avatar hl commented on September 26, 2024 5

Seems it works again with Erlang 25.2

Tested with

elixir          1.14.2-otp-25 
erlang          25.2

from libcluster.

bitwalker avatar bitwalker commented on September 26, 2024 4

I'll have to investigate, hopefully get a fix out soon

from libcluster.

enewbury avatar enewbury commented on September 26, 2024 2

Checked this with OTP 25.0 and the nodes connect successfully, but confirming OTP 25.1 the nodes no longer find each other.

from libcluster.

sleipnir avatar sleipnir commented on September 26, 2024 1

I submitted a PR that fixes this in conjunction with some Gossip strategy setups. Maybe it can help.

Can you take a look at @bitwalker?

from libcluster.

giusdp avatar giusdp commented on September 26, 2024

I'm also having this issue. We're using the gossip strategy to connect the nodes deployed as docker containers in a dev environment.
The containers built with the elixir:1.13 base image manage to find each other, but with the elixir:1.14 image (which uses the latest otp version) they can't.

from libcluster.

cospin avatar cospin commented on September 26, 2024

I also have an {:error, :eaddrinuse} with OTP 25.1 when trying to start a second node in my local machine.
Checked with OTP 25.0 and works fine.

[notice] Application core exited: App.Application.start(:normal, []) returned an error: shutdown: failed to start child: Cluster.Supervisor
    ** (EXIT) shutdown: failed to start child: :app_cluster
        ** (EXIT) an exception was raised:
            ** (MatchError) no match of right hand side value: {:error, :eaddrinuse}
                (libcluster 3.3.1) lib/strategy/gossip.ex:126: Cluster.Strategy.Gossip.init/1
                (stdlib 4.1.1) gen_server.erl:851: :gen_server.init_it/2
                (stdlib 4.1.1) gen_server.erl:814: :gen_server.init_it/6
                (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3

from libcluster.

smaximov avatar smaximov commented on September 26, 2024

After looking at the changes in OTP 25.2, seems like erlang/otp#6476 was to blame.

from libcluster.

bitwalker avatar bitwalker commented on September 26, 2024

@sleipnir Merged, and v3.3.2 is published to Hex

from libcluster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.