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`

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content