I’m a tad puzzled and I’m sure it’s a really, really silly mistake I’m making.
My release is built in a docker container and deployed to Fly.io. It is started with the usual ./release start
.
Cookie and various options are both set at build time and in the env.sh.eex
file.
Yet, I can’t attach to the running node (which is otherwise behaving fine). I get a nodedown
error:
./root@9185235dc67738:/app# ./bin/web remote
Erlang/OTP 24 [erts-12.3.2.15] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit]
Could not contact remote node my-app@[SOME_IPV6], reason: :nodedown. Aborting...
Please note that I’ve read the following:
- Could not contact remote node reason: :nodedown. Aborting...
- Iex terminal not working - fly ssh console
- Can't run remote on elixir app - #4 by pauliegatto
- fly ssh console not working - #5 by andreyuhai
- ssh console and checking app says it's down but it's not
I’ve confirmed that all my env variables are set properly… Including during build via the Dockerfile. So I’m not sure what to check at this point.
Any ideas please?
Thanks!