Provision PostgreSQL's weird changes

What happened to Provision PostgreSQL? Ever since this change, I've been unable to connect my TortoiseORM to my database. socket.gaierror: [Errno -2] Name or service not known (when using DATABASE_PRIVATE_URL) asyncpg.exceptions.InvalidPasswordError: password authentication failed for user "postgres" (when using DATABASE_URL)
No description
Solution:
postgres is now just a regular service with a docker image and a volume
Jump to solution
21 Replies
Percy
Percy13mo ago
Project ID: N/A
Nephis ✧
Nephis ✧13mo ago
N/A
Brody
Brody13mo ago
do you have another service for you app in this project?
Nephis ✧
Nephis ✧13mo ago
Sorry, what do you mean exactly?
Brody
Brody13mo ago
do you have another railway service in this project
Nephis ✧
Nephis ✧13mo ago
No, just Postgres
Brody
Brody13mo ago
you can only connect to the database via the private url from another service within that same project if you want to connect to that database from outside of that project you would need to use the non private url
Nephis ✧
Nephis ✧13mo ago
I tried the non-private URL, but I get this error:
asyncpg.exceptions.InvalidPasswordError: password authentication failed for user "postgres"
asyncpg.exceptions.InvalidPasswordError: password authentication failed for user "postgres"
Which has never happened before I'm hosting 12 Postgres databases just fine on Railway
Nephis ✧
Nephis ✧13mo ago
Even the symbol in the dashboard is different for this project
No description
Nephis ✧
Nephis ✧13mo ago
(the green circle) I tried creating a new project with Provision Postgres, but it's the same
Brody
Brody13mo ago
I have provisioned plenty of the new postgres databases and have never had any issues with authentication is your client compatible with postgres 16?
Nephis ✧
Nephis ✧13mo ago
I believe so I'm just not sure why this is suddenly an issue this morning
Brody
Brody13mo ago
can you connect to the database with a different kind of client like pgadmin or dbgate?
Nephis ✧
Nephis ✧13mo ago
Let me try Yeah I'm able to connect to it just fine on pgAdmin4 Huh
Brody
Brody13mo ago
this could be a copy issue, or your client isn't compatible with postgres 16
Nephis ✧
Nephis ✧13mo ago
One issue though, what happened to the Query section in Postgres? It went from this:
No description
Nephis ✧
Nephis ✧13mo ago
To this:
No description
Solution
Brody
Brody13mo ago
postgres is now just a regular service with a docker image and a volume
Brody
Brody13mo ago
pro tip, read railways weekly changelogs
Nephis ✧
Nephis ✧13mo ago
I see I see, alright thank you very much for your time and assistance!
Brody
Brody13mo ago
no problems
Want results from more Discord servers?
Add your server