API call execution on Red Hat Ansible Tower UI fails with an error `Access to XMLHttpRequest at has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource`
Issue
-
API call execution on Tower UI fails with below error:
Access to XMLHttpRequest at 'https://ansible-tower:8080/' from origin 'https://xx.xx.xx.xx.:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Environment
- Red Hat® Ansible Tower 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.