[Pkg-erlang-devel] Bug#823248: Bug#823248: Bug#823248: erlang-base-hipe: Cannot connect to epmd when IPv6 is enabled
Peter Lemenkov
lemenkov at gmail.com
Mon Nov 7 14:35:02 UTC 2016
Hello All!
This might be related
https://github.com/erlang/otp/pull/1129
2016-11-07 8:30 GMT+01:00 Sergei Golovan <sgolovan at nes.ru>:
> 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:
>>
>> ...
>> socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 3
>> 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.
>
> Cheers!
> --
> Sergei Golovan
>
> _______________________________________________
> Pkg-erlang-devel mailing list
> Pkg-erlang-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-erlang-devel
--
With best regards, Peter Lemenkov.
More information about the Pkg-erlang-devel
mailing list