Service unable to connect to postgres database
wsameer
TRIALOP
a year ago
I have checked the DATABASE_URL and it's correct. Even in the logs, it is getting printed corrected yet the service is unable to connect to it. What could be wrong?
(GitHub repo)[https://github.com/wsameer/expense-manager-server/blob/master/config/database.ts]
Logs:
[ error ] "postgresql://postgres:NjXgYzRumDTtloRXFwyovoqXctXSqgMl@postgres.railway.internal:5432/railway" is not a valid connection name. Double check "config/database" file
ⓘ Deployment information is only viewable by project members and Railway employees.
0 Replies