Why do I receive the error "no PostgreSQL user name specified in startup packet" when using the awx-manage command?

Solution Verified - Updated -

Issue

  • I receive the following error when I try to run the AAP installer

    psycopg.OperationalError: connection failed: certificate verify failed
    FATAL:  no PostgreSQL user name specified in startup packet
    
  • I have a GCP database and get an error when trying to use the awx-manage command

Environment

  • Ansible Automation Platform 2.4
  • Postgres 13
  • Google Cloud Database

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content