Opened 21 months ago

Last modified 21 months ago

#34454 closed Bug

Connection failed with error message "FATAL: password authentication failed for user 'user'" — at Version 1

Reported by: nainiu Owned by: nobody
Component: Database layer (models, ORM) Version: 4.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by nainiu)

I am using psycopg3 package with Django to connect to a PostgreSQL database. However, I am experiencing occasional connection failures with the following error message:

"Connection failed with error message: FATAL: password authentication failed for user 'user'"

The error seems to occur randomly, and I am not sure what is causing it. I have double-checked that the username and password specified in the DATABASES setting in my Django project are correct and have the necessary permissions to access the database.

I am using psycopg3 version 3.1.8 and PostgreSQL version 4.2rc1.

/This error can occur randomly, and sometimes it can be correctly linked to the database

Change History (1)

comment:1 by nainiu, 21 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top