New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't start distribution when using ssl_dist_optfile
file that contains UTF-8 characters
#8289
Comments
inetrc
file that contains UTF-8 charactersnodistribution
when using ssl_dist_optfile
file that contains UTF-8 characters
nodistribution
when using ssl_dist_optfile
file that contains UTF-8 charactersssl_dist_optfile
file that contains UTF-8 characters
Actually, this is an issue. My error was forgetting to add Please see the README for reproduction steps on Windows and POSIX: |
It looks as though ETS table contents
Here is what the
|
Digging further, https://github.com/erlang/otp/blob/master/lib/ssl/src/ssl_dist_sup.erl#L95-L96 Terminal session, Ubuntu 22, Erlang 26.2.3... note that I'm using
|
Follow-up to #10759 Related to #10194 Related to erlang/otp#8289
OK, after reading the
So, what's the best way to make a note of this? Add something here? https://www.erlang.org/doc/apps/ssl/ssl_distribution.html#specifying-tls-options Or, instead of relying on |
@lukebakken add it to every example. We can also add a new section to the docs, I'd be happy to do it. |
``` %% coding: utf-8 ``` to fix the inter-node config file parsing with UTF-8 erlang/otp#8289
Follow-up to #10759 Related to #10194 Related to erlang/otp#8289
@lukebakken thanks but as I am already working on polishing the docs I add a commit, feel free to review! |
Thank you @IngelaAndin Fixed by IngelaAndin@6cb3bce |
Describe the bug
Create an
ssl_dist_optfile
file that contains UTF-8 characters in it, and try to start distributied Erlang with it.To Reproduce
Please see this README and repository:
https://github.com/lukebakken/erlang-ssl_dist_optfile-utf8
Expected behavior
The ability to use strings like
Евгений
in thessl_dist_optfile
file.Affected versions
Tested with Erlang 26.2.3 on Windows an Ubuntu 22.04
The text was updated successfully, but these errors were encountered: