8 months ago
The program n8n won't deploy, and the logs indicate that it can't authenticate to the Postgres DB.
Connection matched file "/var/lib/postgresql/data/pgdata/pg_hba.conf" line 128: "host all all all scram-sha-256" 2025-10-22 15:10:25.022 UTC [60] FATAL: password authentication failed for user "postgres" Connection matched file "/var/lib/postgresql/data/pgdata/pg_hba.conf" line 128: "host all all all scram-sha-256"
Pinned Solution
8 months ago
Make sure the environment variables containing postgres user, password, host/port match your postgres instance
2 Replies
8 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Railway ssh fails with "Authentication Failed"
- 🧵 Critical Postgres Authentication Failure for Project: daring-contentment
- 🧵 Unable to connect to Postgres DB (Postgres-sUUI) - Password Authentication Failed & Cannot Reset Password
If you find the answer from one of these, please let us know by solving the thread!
8 months ago
Make sure the environment variables containing postgres user, password, host/port match your postgres instance
Status changed to Solved samgordon • 8 months ago