Skip to content

Distributed Erlang over TLS does not work correctly using OTP 26 #7497

@lukebakken

Description

@lukebakken

Describe the bug

When using OTP 26 (26.0.2 to be precise) and -proto_dist inet_tls -ssl_dist_optfile ... two Erlang nodes can't connect via distributed Erlang.

Using the latest version of OTP 25 works correctly.

To Reproduce

Reproduction steps that show SUCCESS

Note: clone my repository and change to the main branch to show success:

https://github.com/lukebakken/erlang-otp-7497#reproduction-steps

Reproduction steps that show FAILURE

Note: clone my repository and change to the otp-26 branch to show failure:

https://github.com/lukebakken/erlang-otp-7497/tree/otp-26#reproduction-steps

The main difference between the two branches is the Erlang version specified in the .tool-versions file.

Expected behavior

This code succeeds:

net_kernel:connect('a@HOSTNAME').

Affected versions

OTP 26.0.2 is the version with which I am testing that demonstrates failure. OTP 25.3.2.3 succeeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is reported as a bugteam:PSAssigned to OTP team PS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions