Why Is The Project Update Failing With 403 Forbidden Error While Trying To Fetch Collections From Galaxy / Automation Hub In Ansible Tower?

Solution Verified - Updated -


While trying to fetch collections from collections/requirements.yml, the project updates fails in the TASK [fetch galaxy collections from collections/requirements.yml] with the below error:

"rc": 250,
    "stderr": "ERROR! Unexpected Exception, this is probably a bug: <urlopen error Tunnel connection failed: 403 Forbidden>",
    "delta": "0:00:03.653055",
    "invocation": {
        "module_args": {
            "warn": true,
            "executable": null,
            "_uses_shell": false,
            "strip_empty_ends": true,
            "_raw_params": "ansible-galaxy collection install -r collections/requirements.yml -p /var/lib/awx/projects/.__awx_cache/_223__dev_project_automation_hub_testing/stage/requirements_collections \n",
            "removes": null,
            "argv": null,
            "creates": null,
            "chdir": "/var/lib/awx/projects/_223__dev_project_automation_hub_testing",
            "stdin_add_newline": true,
            "stdin": null


Ansible Tower

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