Project update failing with 403 Forbidden error while trying to fetch collections from Galaxy / Automation Hub In Red Hat Ansible Tower?

Solution Verified - Updated -

Issue

  • 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
        }
    },
    

Environment

  • Red Hat® Ansible Tower
  • Red Hat® Ansible

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