#Connection Error: Connection ended unexpectedly

11 messages · Page 1 of 1 (latest)

rare pewter
#

Railway seems to have a bug where the connection between our nodejs server and the postgres db ( in the same railway project) have connection issues midway through a query. keep getting the following error:

Connection Error: Connection ended unexpectedly
Connection Error: Connection ended unexpectedly
Connection Error: Connection ended unexpectedly
Connection Error: Connection ended unexpectedly
Connection Error: Connection ended unexpectedly
Connection Error: Connection ended unexpectedly
Connection Error: Connection ended unexpectedly
Connection Error: Connection ended unexpectedly

Project ID: aa5f6f94-b4b8-4582-bfda-61de1da9b940

shadow thistleBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

sand runeBOT
#

Project ID: N/A

rare pewter
#

Project ID added to the post

wide bramble
#

can you run queries from pgadmin without issues?

rare pewter
#

It’s only intermittent, like once no traffic is hit the server or DB for hours

wide bramble
#

not a railway bug, just improper database connection handling on your part, to fix set your pool minimum to zero

rare pewter
#

Oh wow thank you very interesting

#

I will try this

rare pewter
#

Btw this fixed it thank you Brody!