9 months ago
Hi,
I'm learning Spring Boot and have deployed my Spring Boot + React + vite + Postgresql application (Repository: https://github.com/ArmandMKU/hotelpms-app) following this tutorial https://docs.railway.app/tutorials/deploying-a-monorepo but my Spring boot backend is crashing a few seconds after deployment with the above error in the deploy log.
In the deploy log for Postgresql service, I see multiple entries of the following lines:
024-08-24 13:46:41.613 UTC [232] DETAIL: Connection matched file "/var/lib/postgresql/data/pgdata/pg_hba.conf" line 128: "host all all all scram-sha-256"
2024-08-24 13:46:43.921 UTC [233] FATAL: password authentication failed for user "postgres"
I'm sure the credentials are correct as I 'm able to connect to railway database ok using DBeaver (that's how I managed to migrate dev data to railway server) using the same postgres credentials. I'm stuck and don't know how to troubleshoot this issue and make it work.
PS: this application runs fine on my PC.
Thans for your help.
Armand
0 Replies