# ERROR! Failed to download collection tar from 'default': \<urlopen error \[Errno 111\] Connection refused\>

**URL:** <https://forum.ansible.com/t/error-failed-to-download-collection-tar-from-default-urlopen-error-errno-111-connection-refused/1540>\
**Category:** Get Help\
**Created:** [October 9, 2023, 8:17am UTC](https://forum.ansible.com/t/error-failed-to-download-collection-tar-from-default-urlopen-error-errno-111-connection-refused/1540 "2023-10-09T08:17:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kronk74](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kronk74/32/1085_2.png) [@Kronk74](https://forum.ansible.com/u/Kronk74)\
**Post date:** [October 9, 2023, 8:17am UTC](https://forum.ansible.com/t/error-failed-to-download-collection-tar-from-default-urlopen-error-errno-111-connection-refused/1540/1 "2023-10-09T08:17:13Z")

</div>

Hi everyone,

I noticed today that I can’t download collection anymore.

Error :

```auto
~/projects/awx/awx-ee-generator master !5 ❯ ansible-galaxy collection download community.vmware 34s 10:15:05
Process download dependency map
Starting collection download process to '/home/ramont/projects/awx/awx-ee-generator/collections'
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/community-vmware-3.9.0.tar.gz to /home/ramont/.ansible/tmp/ansible-local-121946xgcueqaw/tmp7acvfk9v/community-vmware-3.9.0-49u93apx
Downloading collection 'community.vmware:3.9.0' to '/home/ramont/projects/awx/awx-ee-generator/collections'
ERROR! Failed to download collection tar from 'default' due to the following unforeseen error: <urlopen error [Errno 111] Connection refused>. <urlopen error [Errno 111] Connection refused>

```

Ansible version

```auto
ansible [core 2.15.4]
  config file = None
  configured module search path = ['/home/ramont/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/ramont/.local/lib/python3.10/site-packages/ansible
  ansible collection location = /home/ramont/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/ramont/.local/bin/ansible
  python version = 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

```

Does anyone have the same issue ?

Best regards

Thomas

---

<div class="post-metadata">

**Author:** ![mophahr](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mophahr/32/760_2.png) [@mophahr](https://forum.ansible.com/u/mophahr)\
**Post date:** [October 9, 2023, 8:25am UTC](https://forum.ansible.com/t/error-failed-to-download-collection-tar-from-default-urlopen-error-errno-111-connection-refused/1540/2 "2023-10-09T08:25:40Z")

</div>

There could be a firewall in the way or your Ansible.cfg file could be broken. It’s hard to tell just from the 111 error. Adding your config file may be a good idea here.

---

<div class="post-metadata">

**Author:** ![Kronk74](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kronk74/32/1085_2.png) [@Kronk74](https://forum.ansible.com/u/Kronk74)\
**Post date:** [October 10, 2023, 7:14am UTC](https://forum.ansible.com/t/error-failed-to-download-collection-tar-from-default-urlopen-error-errno-111-connection-refused/1540/3 "2023-10-10T07:14:02Z")

</div>

Hi @mophahr,

You were right, I forgot that I have an ADGuard activated at home.  
It blocked this request… I just need to disable it when I’m working at home (too lazy to fine tuning configurations 😛 )

Thanks for your answer !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [November 9, 2023, 7:14am UTC](https://forum.ansible.com/t/error-failed-to-download-collection-tar-from-default-urlopen-error-errno-111-connection-refused/1540/4 "2023-11-09T07:14:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
