Hi there,
I cannot access a running elixir applications iex via ssh while it works fine via Web-Shell.
Error thrown via ssh:
Could not contact remote node @10.201.145.170, reason: :nodedown. Aborting…
Any ideas?
–
daniel
Hi there,
I cannot access a running elixir applications iex via ssh while it works fine via Web-Shell.
Error thrown via ssh:
Could not contact remote node @10.201.145.170, reason: :nodedown. Aborting…
Any ideas?
–
daniel
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
When we run your Elixir application we set some environment variables to make everything work smoothly. However, these environment variables are not set when you ssh into your machine. I’ve filed a bug internally to fix this. But until then, a workaround is to run the following after you ssh into your machine and before you start an iex session.
export RELEASE_NODE="$RENDER_SERVICE_NAME@$RENDER_INTERNAL_IP";
export RELEASE_COOKIE="$ERLANG_COOKIE";