ssh console and checking app says it's down but it's not

@brainlid
Thank you for the awesome support!
Now that i don’t have any problem deploying my app.
Plus, I enjoyed Thinking elixir podcast ep.82 alot! That was awesome too!

Best regards,
Hiroki Arai

1 Like

Hi!,
Finally I’m able to connect to the remote console.
I can confirm that the line in rel/env.sh.eex is the one causing this error.
removed this line:

export ELIXIR_ERL_OPTIONS="-proto_dist inet6_tcp"

That plus the static cookie makes it work like a charm.
Thanks all

2 Likes

Thanks for the follow up!

This did not work for me and I am still having this same :nodedown issue.
Do I need to have this cookie static cookie mentioned as well?

Hmmm…I just dealt with this issue and had to add back line to rel/env.sh.eex

export ELIXIR_ERL_OPTIONS="-proto_dist inet6_tcp"

I suspect this may be due to the docker image itself. Including this line works with image:
“hexpm/elixir:1.13.4-erlang-25.0.2-debian-bullseye-20210902-slim”

No static cookie configured yet.

Found this in the docs that was missing from my Dockerfile.

# Appended by flyctl
ENV ECTO_IPV6 true
ENV ERL_AFLAGS "-proto_dist inet6_tcp"