Cannot ssh console

This was working fine until about 20 minutes ago.

{11:41} fly ssh console -a app-name
Connecting to top1.nearest.of.app-name.internal... complete
Error error connecting to SSH server: connect tcp: operation timed out

{11:48} fly ssh console -a app-name
Connecting to top1.nearest.of.app-name.internal... complete
Error error connecting to SSH server: connect tcp: operation timed out

{11:51} fly ssh console -a app-name
Connecting to top1.nearest.of.app-name.internal... complete
Error error connecting to SSH server: connect tcp: operation timed out

Add the -s flag. Then choose the last one.

fly ssh console -a app-name -s

Yea I’ve ran into this issue as well.

I think it’s trying to connect to an old VM. Sometimes when I use -s, it’s showing multiple VMs of which some don’t even show in fly status anymore.

Another way is to exec

flyctl ips private -a <appname> and

flyctl ssh console "[ipv6]" straight to it.

Ref: fly ssh console fails with `Error host unavailable: host was not found in DNS` - #5 by ignoramous