Skip to content

Password authentication fails and server fails to connect to database #7778

Closed
@pmmlo

Description

@pmmlo

New Issue Checklist

Issue Description

From pre-release 5.0.0-alpha.16 to 5.0.0-alpha.17, I get the following critical error: error: password authentication failed for user "X", using PostgreSQL 14.x with enforced TLS.

Steps to reproduce

  1. Setup a base Express Server setup.
  2. Run Parse, GraphQL, and LiveQuery servers.
  3. Confirmation all servers are started without issue.
  4. Error occurs following the start of the servers.

Actual Outcome

error: password authentication failed for user "X" and server fails to connect to database.

Expected Outcome

No error. Successful connection to database.

Environment

PostgreSQL 14.x with TLS enforced.

Server

  • Parse Server version: 5.0.0-alpha.17
  • Operating system: Dockers on unix
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local

Database

  • System (MongoDB or Postgres): Postgres
  • Database version: 14.x
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): local

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): JS
  • SDK version: Default in version.

Logs

error: password authentication failed for user "X" and server fails to connect to database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions