Postgres database with slow connections
My servers are failing to maintain an open connection. Is there a problem with the infrastructure? I haven't committed any changes, and it was working fine this afternoon.
11 Replies
Project ID:
56ecf4a7-da41-4ba0-a70c-7708dac4054f
56ecf4a7-da41-4ba0-a70c-7708dac4054f
when you say my servers, are you referring to railway services?
Yes
are your services connecting to the database with the public network?
Yes
may i ask why, vs connecting to the database with the private network
To be honest, I tried once a while ago and couldn't connect, so I never tried again after that.
it would save you from the egress fees and after you apply some common work around the private network wont give you any issues
id be happy to help you switch over to the private network because that will unblock you, and to help the team debug this, where are your services deployed to, region wise?
I'm using the US-West region. I just switched to the private network to see if the errors stop. In the meantime, thanks so much for your help!
let me know if you get any errors from that since there are some caveats with the private network