I’ve been using wireguard to connect to my postgres instance with psql. I moved my instance between organizations, created a wireguard peer in that organization, disconnected from wireguard, connected to the new peer, and tried psql again, but I’m getting:
psql: error: could not translate host name “winter-night-5547.internal” to address: Name or service not known
Apps need a redeploy after they move, which is a little tricky for postgres. It requires a few min of downtime to stop them and then start them up on the new private network.
Do you want me to go ahead and do that for your apps on the new org?
The command warned me about that so I assumed it would just happen. It’s down now anyway so do whatever you need to. Is this something I need to contact you to do in the future?
We are evaluating fly.io for a production app. I am experiencing this issue as well, moving a Rails app from one org to another. My rails instance cannot connect to my postgres instance after the move. The error is:
could not translate host name “(redacted).internal” to address: Name or service not known
Things I tried - restarting both instances, resetting wireguard, re-deploying, etc. Any suggestions?