<div dir="ltr"><div>Hello,</div><div><br></div><div>I want to stop a node started with switch -proto_dist inet_tls :</div><div>$ /usr/lib/erlang/lib/erl_interface-5.2.1/bin/erl_call -q -c proxy -name 'node-name@host-name'</div><div><br></div><div>doesn't kill the node:</div><div>$ erl -name node-name@host-name -setcookie proxy -proto_dist inet_tls<br>Erlang/OTP 24 [erts-12.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]<br><br>Eshell V12.3  (abort with ^G)<br>(node-name@host-name)1> =NOTICE REPORT==== 25-Mar-2022::08:55:56.447550 ===<br>TLS server: In state hello at tls_record.erl:564 generated SERVER ALERT: Fatal - Unexpected Message<br> - {unsupported_record_type,0}<br><br>(node-name@host-name)1></div><div><br></div><div>Because the ssl handshake fails the node does not 'catch' the <br></div><div>command to terminate itself.</div><div><br></div><div><br></div><div>The execution of command shows the error:</div><div>$ /usr/lib/erlang/lib/erl_interface-5.2.1/bin/erl_call -c proxy -name node-name@host-name -a "init stop"<br>erl_call: failed to connect to node node-name@host-name</div><div><br></div><div>Actually the erl_call node connects to 'node-name@host-name'  but is rejected with the same error as above.</div><div><br></div><div>Because the erl_call cannot connect to a tls erlang node, erl_call cannot stop suc node.</div><div><br></div><div>If the node is started like this:</div><div>$ erl -name node-name@host-name -setcookie proxy -proto_dist inet_tcp</div><div><br></div><div>erl_call is able to stop it.<br></div><div><br></div><div>Is there a solution to this problem?</div><div><br></div><div>Cheers,</div><div><br></div><div>Bogdan<br></div><div><br></div></div>