erl_call -q

Leo Liu sdl.web@REDACTED
Tue Mar 29 16:38:27 CEST 2022


On 2022-03-29 16:26 +0300, Bogdan Andu wrote:
> I know erl -eval, but elixir --rpc-eval gives the error also, like this:
> --rpc-eval : RPC failed with reason :nodedown
> while erl -eval is silent about errors like node down which is very
> important.

I was able to get back: {badrpc,nodedown}

erl -name t@REDACTED -noinput -eval "io:format(\"~p~n\", [rpc:call('somenode@REDACTED', math, sin, [1])]), init:stop()"

If erl_call is based on erl_interface (C-node) then supporting TLS may
be harder because it may have to depend on OpenSSL to handle TLS.

Cheers,
Leo



More information about the erlang-questions mailing list