ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
14.02k stars 3.42k forks source link

ui_next fails to login #6581

Closed ghost closed 3 years ago

ghost commented 4 years ago
ISSUE TYPE
SUMMARY

After deploy ui_next I can reach the login windows, but when I try to login it says "There was a problem signing in. Please try again." This error appears both in a deploy in Kubernetes and with a plain "npm start" on a local directory. And in both situations there is no error in the log, as I attached below.

ENVIRONMENT
STEPS TO REPRODUCE
  1. Start ui_next
  2. Try to login
EXPECTED RESULTS

Login to the AWX dashboard.

ACTUAL RESULTS

Login prompt still say "There was a problem signing in. Please try again."

ADDITIONAL INFORMATION

Here the log from the container I deployed in Kubernetes (I just erased the URL of AWX).

> awx-react@1.0.0 start /ui_next
> webpack-dev-server --config ./webpack.config.js --mode development
[HPM] Proxy created: /api/login/  ->  http://XXX.YYY.svc.cluster.local:80
[HPM] Proxy created: /api  ->  http://XXX.YYY.svc.cluster.local:80
[HPM] Proxy created: /websocket  ->  http://XXX.YYY.cluster.local:80
ℹ 「wds」: Project is running at http://0.0.0.0:3001/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from ./dist
ℹ 「wdm」:    4193 modules
ℹ 「wdm」: Compiled successfully.

Also the same error appears even if I use the Ingress FQDN instead of the Service's.

Here a screenshot of the error: image

unlikelyzero commented 3 years ago

Please check out awx 16.0.0 to see if this still persists