Job real time sync issue

Hello,

Whenever I run any job it doesn’t show real time output, It waits to give output until job gets successfully executed ? I can’t determine weather it is a bug or am I missing any parameters in inventory file.
How can I see real time job running outputs ?
Please help !!

Thanks

i think this is an issue with your proxy-configuration. i get real time updates with awx 13…
here my config:

upstream ansible {
server 127.0.0.1:8080;
}

server {
proxy_http_version 1.1;
listen 443 ssl http2;
ssl_certificate /root/cert.crt;
ssl_certificate_key /root/cert.key;
location / {
proxy_pass http://ansible;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_upgrade;
}
}

Thanks for your reply.

I did some modifications as you mentioned but it didn’t fixed my problem. I got your point and seems to be the issue, any other major change what you have done ?

no, that was all…i am using ubuntu 20.04.1 with default repro-nginx.
regards,
andre

Hello Naveen,

which Release are you using? We recently ran into issues with “long”-running servers and redis-cache.

https://github.com/ansible/awx/issues/7720

Kind Regards,
Nico

Hello Nico,

Thanks for your reply. We are using AWX 13.0.0, when I tried

proxy_redirect off;
proxy_bufferring off;

it fixed my long running job issue but still can’t see real time output of job.

Thanks
Naveen Kumar