PG Connection timed out after moving app between orgs

Hi there,

I just deployed a rails app to a personal account and it worked fine. I then created an org, and I moved the app & database into the org. Now, when I attempt to deploy (fly deploy), it fails with PG::ConnectionBad: could not connect to server: Connection timed out

Any idea what happened? Do I need update any secrets after moving both the app and the DB?

Thanks,

Evan

hello! there could be that we screwed your app network while moving the app. A simple workaround would be to delete the apps and recreate them from scratch on the new org. Of course, only if you can spare the database too.

Okay, cool. I’ll try that. There was nothing in the DB, so I’m happy to blast it.

1 Like