Can't launch iex session on the deployed app

Hello,

I have successfully deployed the app on fly.io and now I am trying to connect to my app via ssh and launch an iex session.
I am following this guide: IEx into Your Running App · Fly Docs

fly ssh issue --agent

seems to have run fine.

When I try to

fly ssh console --pty -C "/app/bin/my_app remote"

I get

Could not connect to “myapp-01JHMA4ZP1TEJZAG6S716D95NQ@fdaa:5:9753:a7b:143:6d6d:40b8:2”

Error: ssh shell: Process exited with status 1

fly doctor command finished with all checks PASSED.
Running fly ssh console -s gives me choice of two machines to connect. I can connect to both and in both I can cd to app/bin and I see myapp after doing ls. But, when already in the ssh I try to do myapp remote, it fails as well.

Any advice will be welcome.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.