Why is ansible-galaxy reporting the error message "ERROR! Failed to download collection tar from 'server1' due to the following unforeseen error: Mismatch artifact hash with downloaded file" when downloading a collection from Private Automation Hub?

Solution Verified - Updated -

Issue

  • The ansible-galaxy client is failing to download / install a collection from Private Automation Hub and is reporting the following error message.

    "ERROR! Failed to download collection tar from 'server1' due to the following unforeseen error: Mismatch artifact hash with downloaded file"
    

Environment

  • Red Hat Ansible Automation Platform 2.4, 2.5 (RPM)

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