R
Railway11mo ago
Hwoarang

Unable to establish postgres connection during deployment

Hi there! I understand there was a partial outage at Asia Pacific region and may have impacted my deployment as that's where our service are being hosted on. It may not be related but I can no longer deploy our Rails service as it's now having issue establishing postgres connection that's hosted on asia-southeast1. Then I check our PostgreSQL service and it's down. I'm unable to redeploy our PostgreSQL service and I can't see anything in the log. Any help much appreciated!
No description
No description
Solution:
@Hwoarang this should be fixed for you now - sorry for the inconvinence. There was a bug that caused us to copy deleted vols when you fork an env, and your DB was trying to attach to the old (non existant) vol. We've now fixed the underlying issue and also deleted those orphan volumes from your environment. Re-deployed and pg is back.
Jump to solution
10 Replies
Percy
Percy11mo ago
Project ID: 3e218ec0-7c31-4a5e-ba63-d0f7439aa07d
Percy
Percy11mo ago
Project ID: 3e218ec0-7c31-4a5e-ba63-d0f7439aa07d
Hwoarang
HwoarangOP11mo ago
3e218ec0-7c31-4a5e-ba63-d0f7439aa07d
thomas
thomas11mo ago
I confirmed your issue Looking into it
Hwoarang
HwoarangOP11mo ago
Thank you
thomas
thomas11mo ago
I elevated your issue to the team; it doesn't seem to be part of a widespread incident. So we will look into it when the right people come online. Thank you for reporting this.
Hwoarang
HwoarangOP11mo ago
Ok thank you
char8
char811mo ago
we're looking into this now. Just a quick Q' - the canvas shows the volume unmounted for the postgres and redis, is that something you tried to do manually? or is that something that happened when the deploy failed? we think we've identified the issue as related to the fork feature trying a fix
Solution
char8
char811mo ago
@Hwoarang this should be fixed for you now - sorry for the inconvinence. There was a bug that caused us to copy deleted vols when you fork an env, and your DB was trying to attach to the old (non existant) vol. We've now fixed the underlying issue and also deleted those orphan volumes from your environment. Re-deployed and pg is back.
Hwoarang
HwoarangOP11mo ago
Thanks guys! I'll try to redeploy the Rails service now as I can see PostgreSQL is back online. I'll keep you guys posted! It's all good now! Rails service is back online too after a re-deploy. Much appreciate your help guys.
Want results from more Discord servers?
Add your server