Closed jstewart612 closed 6 years ago
Hey there, jstewart612.
Thanks for reaching out. Docker swarm isn't a supported installation mode for AWX so I'm going to close this issue. If you have any questions please drop us a line on the AWX mailing list or join our IRC chat on freenode.
Feature Idea, then: https://github.com/ansible/awx/issues/1287
ISSUE TYPE
COMPONENT NAME
SUMMARY
When AWX is deployed with all components replica 1 in a Docker Swarm, and nginx is configured as a reverse proxy in front of it, numerous Websocket errors are deployed, despite attempting to account for it. "WebSocket connection to 'wss://awx.tools.rentpath.com/websocket/' failed: WebSocket is closed before the connection is established."
ENVIRONMENT
STEPS TO REPRODUCE
Deploy a Docker Swarm stack named "awx" with the following docker-compose file:
Configure /etc/nginx.conf with the following content:
EXPECTED RESULTS
I thought I would have secured AWX behind HTTPS and the UI would work.
ACTUAL RESULTS
Most calls that required Websockets would sit and spin forever and do nothing. Sliders, like using TLS in LDAP authentication, would turn on, "working" gear would pop up bottom right, then it would go right back to off after spamming the above Websockets error a few times.
ADDITIONAL INFORMATION