jedmund
Deployed services suddenly cannot connect to Postgres database
Adding a new Postges instance and migrating my data fixed the issue. I have no clue what went wrong but that container was made in January 2022 so maybe its something to do with the age?
I haven't deleted the old instance yet for if someone at Railway wants to debug
32 replies
Deployed services suddenly cannot connect to Postgres database
I have a staging environment that I was able to upload my build to that uses the exact same variable references as the production environment, and that one works completely fine.
The production one still will not connect despite being the same code. I tried removing the variable references and re-adding them and that didn't do anything obviously. It's Rails so it's not like I'm writing any database connection logic...
This makes absolutely no sense lol
32 replies