3 months ago
American mills craftyship postgres is stuck on connecting to datatbase
18 Replies
3 months ago
This thread has been opened as a public bounty so the community can help solve it. The thread and any further activity are now visible to everyone.
Status changed to Open Railway • 3 months ago
mayori
have you tried redeploy your postgres service?
3 months ago
yes. Its stuck on deploying. I tried restoring to my backup made 3 hours ago. It just randomly lost connection. I checked server logs to see what was occuring before this. There was no activity leading up to losing connection
3 months ago
public
3 months ago
I am having the same issue, i redeployed and its been stuck on deployment now for 30 minutes
waresa
I am having the same issue, i redeployed and its been stuck on deployment now for 30 minutes
3 months ago
okay so it sounds like a global issue then
lawchemical

3 months ago
try redeploy source image, go to your postgres service > open the command palette (Ctrl+K on PC) > select "Redeploy source image"
3 months ago
Am i able to cancel the restore since its stuck?
Attachments
lawchemical
okay so it sounds like a global issue then
3 months ago
not sure but only one of my 60 odd services is having this issue so i dont think so
3 months ago
Seems like it is server issue that is hosting our postgres dbs
waresa
Seems like it is server issue that is hosting our postgres dbs
3 months ago
Redeploy source image didn't work?
mayori
Redeploy source image didn't work?
3 months ago
no it kept redploying without ever finishing. Got a message from railway that it is a hardware issue with the server the postgres is running on
3 months ago
getting the same issue tried restarting no improvement -global issue?
bmahoney77
getting the same issue tried restarting no improvement -global issue?
3 months ago
I think so
3 months ago
issue persists any solutions??
3 months ago
One day I had a problem like that where Prisma (Database ORM) was misconfigured and hogged too many database connections. It made it impossible for Railway's web interface to load because Railway had no connection available; I ended up believing the database was broken even while my app was totally fine. Turned out that by deploying a fix to limit the connections usable in Prisma, it fixed the problem. I learned the hard way you should always set the application_name flag in your connection URL ahaha.
I don't know if it's the same problem, but you might want to investigate with that in mind!
noctisatrae
One day I had a problem like that where Prisma (Database ORM) was misconfigured and *hogged too many database connections*. It made it impossible for Railway's web interface to load because Railway had no connection available; I ended up believing the database was broken even while my app was totally fine. Turned out that by deploying a fix to **limit the connections usable in Prisma**, it fixed the problem. I learned the hard way you should always set the `application_name` flag in your connection URL ahaha. I don't know if it's the same problem, but you might want to investigate with that in mind!
3 months ago
thanks it may be but i cant push a change so eiterh support sort the infra there side or i rebuild the database which i dont reall ywant to do