[erlang-questions] Slave node crashes when using proto_dist inet_tls
Tue Aug 8 23:24:54 CEST 2017
Is it possible to start a slave node from a master that uses SSL for Erlang
I have a valid bootfile, and I've been able to get regular rpc between two
distinct nodes working, However, when I use slave:start/3 with all the
necessary args, my slave crashes with the error below.
slave:start_link("localhost", jms, "-boot start_ssl -proto_dist inet_tls
-ssl_dist_opt server_certfile /path/to/server.pem -ssl_dist_opt
server_verify verify_none -ssl_dist_opt server_depth 0 -ssl_dist_opt
server_fail_if_no_peer_cert false -ssl_dist_opt client_certfile
/path/to/client.pem -ssl_dist_opt client_verify verify_none -ssl_dist_opt
client_depth 0 -setcookie mycookie -env ERL_CRASH_DUMP
Slogan: Kernel pid terminated (application_controller)
A cursory reading of the code shows that during the kernel startup, the
file_server is attempting an rpc, and failing, presumably because the SSL
stack has not yet been started. Is there any way around this?
Site Reliability Engineering
m: 9199950424 <(919)%20995-0424>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions