24 days ago
American mills craftyship postgres is stuck on connecting to datatbase
18 Replies
24 days 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 • 24 days ago
mayoriii
have you tried redeploy your postgres service?
24 days 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
24 days ago
public
24 days 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
24 days ago
okay so it sounds like a global issue then
lawchemical

24 days ago
try redeploy source image, go to your postgres service > open the command palette (Ctrl+K on PC) > select "Redeploy source image"
24 days ago
Am i able to cancel the restore since its stuck?
Attachments
lawchemical
okay so it sounds like a global issue then
24 days ago
not sure but only one of my 60 odd services is having this issue so i dont think so
24 days 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
24 days ago
Redeploy source image didn't work?
mayoriii
Redeploy source image didn't work?
24 days 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
24 days ago
getting the same issue tried restarting no improvement -global issue?
bmahoney77
getting the same issue tried restarting no improvement -global issue?
24 days ago
I think so
24 days ago
issue persists any solutions??
24 days 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!
24 days 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