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
Percy14mo ago
Project ID: N/A
Nephis ✧
Nephis ✧OP14mo ago
N/A
Brody
Brody14mo ago
do you have another service for you app in this project?
Nephis ✧
Nephis ✧OP14mo ago
Sorry, what do you mean exactly?
Brody
Brody14mo ago
do you have another railway service in this project
Nephis ✧
Nephis ✧OP14mo ago
No, just Postgres
Brody
Brody14mo 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 ✧OP14mo 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 ✧OP14mo ago
Even the symbol in the dashboard is different for this project
No description
Nephis ✧
Nephis ✧OP14mo ago
(the green circle) I tried creating a new project with Provision Postgres, but it's the same
Brody
Brody14mo 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 ✧OP14mo ago
I believe so I'm just not sure why this is suddenly an issue this morning
Brody
Brody14mo ago
can you connect to the database with a different kind of client like pgadmin or dbgate?
Nephis ✧
Nephis ✧OP14mo ago
Let me try Yeah I'm able to connect to it just fine on pgAdmin4 Huh
Brody
Brody14mo ago
this could be a copy issue, or your client isn't compatible with postgres 16
Nephis ✧
Nephis ✧OP14mo ago
One issue though, what happened to the Query section in Postgres? It went from this:
No description
Nephis ✧
Nephis ✧OP14mo ago
To this:
No description
Solution
Brody
Brody14mo ago
postgres is now just a regular service with a docker image and a volume
Brody
Brody14mo ago
pro tip, read railways weekly changelogs
Nephis ✧
Nephis ✧OP14mo ago
I see I see, alright thank you very much for your time and assistance!
Brody
Brody14mo ago
no problems
Want results from more Discord servers?
Add your server