Open a-haurylau opened 6 months ago
Disabling ipv6 for the docker network would be a quick fix, if we don't have an ipv6 requirement.
Something along the lines of
docker network create --ipv6=false disable_ipv6 docker run --network disable_ipv6 docker build --network disable_ipv6
Please confirm the following
security@ansible.com
instead.)Bug Summary
In default configuration we have following nginx.conf in tools/docker-compose/_sources/nginx.conf:
inside container following /etc/hosts is used:
So localhost is resolved on IPv4/IPv6 dual stack. But daphne and uwsgi endpoint listening only on IPv4:
So all connection to them fails with following in /var/log/nginx/error.log inside tools_awx_1:
After replacing localhost with 127.0.0.1 no error in nginx.
AWX version
24.0.0
Select the relevant components
Installation method
docker development environment
Modifications
no
Ansible version
No response
Operating system
Ubuntu 22.04.4
Web browser
No response
Steps to reproduce
Just perform clean install and look through container nginx error.log file
Expected results
No errors
Actual results
Tons of errors
Additional information
No response