Working with ERLANG on a windows machine with IPv6 only

Hi

I’m running erl.exe on a machine with IPv6 only and I get an error. I discovered it trying to run RabbitMQ on an IPv6 machine.

Here’s what I have done

  • Installed Windows 2019 VM with both IPv4 + IPv6
  • Installed erlang, e.g. version 27.1
  • I ran netsh Ipv4 interface uninstall to remove IPv4
  • I ran erl.exe and I get an error message

This is the error message

=ERROR MSG==== 18446744072343088544 ===
Failed create 'dummy' socket:
   eafnosupport (10047)
=ERROR MSG==== 18446744072343091104 ===
Failed initiating I/O backendErlang/OTP 26 [erts-14.2.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]

Eshell V14.2.3 (press Ctrl+G to abort, type help(). for help)

Now, when I run the rabbit I get some other error on top of that, but I suppose the erlang is where I should start.

I tried inserting some content in .inetrc

{inet6, true}.
{tcp, inet6_tcp}.
%% {inet_default_bind_address, {0,0,0,0,0,0,0,0}}.
%% {inet_default_connect_options, [inet6]}.

The two top line parse correctly, but I still get the error message. The two bottom lines wouldn’t parse correctly anyway.

Any suggestions?

thanks in advance

Erlang/OTP 26 [erts-14.2.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]

That looks like OTP-26 :slight_smile:

Please test OTP-27 and if the results are the same make an issue on GITHUB.

fresh machine and install yields the same result, I’ll open an issue.

=ERROR MSG==== 938556505 ===
Failed create 'dummy' socket:
   eafnosupport (10047)
=ERROR MSG==== 938559987 ===
Failed initiating I/O backendErlang/OTP 27 [erts-15.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]

Eshell V15.1 (press Ctrl+G to abort, type help(). for help)
1>

Also same result with erl.exe -proto_dist inet6_tcp

1 Like