Unknown error when attempting to call Galaxy at 'https://galaxy.ansible.com/api/v3/collections/community/general/':

Greetings,

I am getting the following error when running ./deploy.sh

[WARNING]: Skipping Galaxy server Api Root – Django REST framework . Got an unexpected error when getting available versions of collection community.general: Unknown error when attempting
to call Galaxy at ‘https://galaxy.ansible.com/api/v3/collections/community/general/’: <urlopen error [Errno -3] Temporary failure in name resolution>. <urlopen error [Errno -3] Temporary
failure in name resolution>
ERROR! Unknown error when attempting to call Galaxy at ‘https://galaxy.ansible.com/api/v3/collections/community/general/’: <urlopen error [Errno -3] Temporary failure in name resolution>. <urlopen error [Errno -3] Temporary failure in name resolution>
@tkipkurgat

From the error above, it looks like the issue is with your internet connection. Your server’s DNS is unable to resolve hostnames — specifically galaxy.ansible.com. Please make sure DNS resolution is working before proceeding with the deployment.

The failing step is:

ansible-galaxy collection install community.general

Verify that this command runs successfully before executing the deploy.sh script.

2 Likes