# Awx web login failed

**URL:** <https://forum.ansible.com/t/awx-web-login-failed/10354>\
**Category:** Get Help\
**Tags:** awx-operator, gcp, playbook, awx\
**Created:** [October 17, 2024, 9:05am UTC](https://forum.ansible.com/t/awx-web-login-failed/10354 "2024-10-17T09:05:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![visquis](https://avatars.discourse-cdn.com/v4/letter/v/f1d935/32.png) [@visquis](https://forum.ansible.com/u/visquis)\
**Post date:** [October 17, 2024, 9:05am UTC](https://forum.ansible.com/t/awx-web-login-failed/10354/1 "2024-10-17T09:05:31Z")

</div>

I have just deployed awx-operator v2.19.1 via helm chart GKE with external manged POSTGRES on GCP

But I cannot login to the web UI with the following error:

awx web login error POST [https://my.custom.domain/api/login](https://my.custom.domain/api/login) 401 (Unauthorized)

awx.api.generics Login failed for user admin from @my-IP  
django.request Unauthorized: /api/login/  
django.request Unauthorized: /api/login/  
“POST /api/login/ HTTP/1.1” 401 5959 “[https://my.custom.domain/](https://my.custom.domain/)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36” “192.168.176.71”  
POST /api/login/ =\> generated 5959 bytes in 515 msecs (HTTP/1.1 401) 10 headers in 470 bytes (1 switches on core 0)

I am using admin user with password retrieved from -admin-password secret and decrypted

Here is the config of external postgres db

```auto
  postgres:
    enabled: true
    host: @IP
    port: PORT
    dbName: awx
    username: admin
    # for secret management, pass in the password independently of this file
    # at the command line, use --set AWX.postgres.password
    password: 'DB_PASS'
    sslmode: allow
    type: unmanaged

```

Any Idea of troobleshooting please ?
