[Pkg-erlang-devel] Bug#823248: Bug#823248: erlang-base-hipe: Cannot connect to epmd when IPv6 is enabled

Sergei Golovan sgolovan at nes.ru
Mon Nov 7 07:30:17 UTC 2016

Hi Josef,

Sorry for such a long delay.

On Mon, May 2, 2016 at 8:32 PM, Josef Kufner <jk at frozen-doe.net> wrote:
> after upgrade to ejabberd 18.3 it won't start. I found that problem is
> in connection to epmd, which won't accept the connection.
> Run `epmd -d` in one terminal.
> Run `strace epmd -names` in second terminal.
> The second command will get stuck when connecting to the first epmd,
> strace says:
>   ...
>   connect(3, {sa_family=AF_INET6, sin6_port=htons(4369), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28
> ... and nothing happens. After few minutes, connect times out and fails.
> I'm running only ejabberd 18.3, it worked fine with ejabberd 18.2 and
> erlang of the same age.

Currently, there's Erlang 19.1 in testing, and I can't reproduce this
bug with it.
Moreover, I can't reproduce the bug with 18.3 as well. epmd listens at both
IPv4 and IPv6 sockets and answers the query (which comes to the IPv6 socket).

Can you show your IPv6 configuration? May be I'll be able to reproduce the bug
with the config similar to yours.

Sergei Golovan

More information about the Pkg-erlang-devel mailing list