#34454: Connection failed with error message "FATAL: password authentication
failed
for user 'user'"
-------------------------------------+-------------------------------------
Reporter: lajxw | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: new => closed
* resolution: => needsinfo
Old description:
> 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
New description:
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 Django version 4.2rc1.
///This error can occur randomly, and sometimes it can be correctly linked
to the database
--
Comment:
I don't think you've provided enough details to make this ticket
actionable. I guess you will need to debug the issue further or at least
provide a minimal sample project that reproduces the problem. I guess the
issue doesn't occur with pyscopg2?
--
Ticket URL: <https://code.djangoproject.com/ticket/34454#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070187476cd123-28a4cb72-3a96-4fe6-9f0f-3d98edb05146-000000%40eu-central-1.amazonses.com.