# Ansible Galaxy not allowing tarball downloads

**URL:** <https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135>\
**Category:** Get Help\
**Tags:** aws, galaxy-ng\
**Created:** [July 8, 2024, 2:43pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135 "2024-07-08T14:43:13Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![isuftin\_at\_usgs](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/isuftin_at_usgs/32/925_2.png) [@isuftin\_at\_usgs](https://forum.ansible.com/u/isuftin_at_usgs)\
**Post date:** [July 8, 2024, 2:43pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/1 "2024-07-08T14:43:13Z")

</div>

Navigate to [Ansible Galaxy](https://galaxy.ansible.com/ui/repo/published/amazon/aws/?version=7.5.0)

Click download tarball button.

Ansible Galaxy redirects to [https://ansible-galaxy-ng.s3.dualstack.us-east-1.amazonaws.com/artifact/7b/59341aa3790c7e1ac7a8c590a5e2c0a5ff7bdafec7b6224bbdc3104f05677f?response-content-disposition=attachment%3Bfilename%3Damazon-aws-7.5.0.tar.gz](https://ansible-galaxy-ng.s3.dualstack.us-east-1.amazonaws.com/artifact/7b/59341aa3790c7e1ac7a8c590a5e2c0a5ff7bdafec7b6224bbdc3104f05677f?response-content-disposition=attachment%3Bfilename%3Damazon-aws-7.5.0.tar.gz)

```auto
<Error>
<Code>InvalidAccessKeyId</Code>
<Message>
The AWS Access Key Id you provided does not exist in our records.
</Message>
<AWSAccessKeyId>AKIA5DP...</AWSAccessKeyId>
<RequestId>JT0737XVMH0QCFJS</RequestId>
<HostId>
6Q7pSJJ32H...
</HostId>
</Error>

```

Seems to be an issue with any collection I try on Galaxy

---

<div class="post-metadata">

**Author:** ![iyami5](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iyami5/32/3449_2.png) [@iyami5](https://forum.ansible.com/u/iyami5)\
**Post date:** [July 8, 2024, 2:45pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/2 "2024-07-08T14:45:55Z")

</div>

Getting that error as well in a couple different ones.

---

<div class="post-metadata">

**Author:** ![claudiomastrapasqua](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/claudiomastrapasqua/32/4137_2.png) [@claudiomastrapasqua](https://forum.ansible.com/u/claudiomastrapasqua)\
**Post date:** [July 8, 2024, 2:49pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/3 "2024-07-08T14:49:26Z")

</div>

Hello here,  
we’re getting today

_ERROR! Failed to download collection tar from ‘default’: HTTP Error 403: Forbidden_

Is it related to your errors or does Ansible Galaxy require a Login now?

Thank you

---

<div class="post-metadata">

**Author:** ![mjk4747](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mjk4747/32/4138_2.png) [@mjk4747](https://forum.ansible.com/u/mjk4747)\
**Post date:** [July 8, 2024, 2:49pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/4 "2024-07-08T14:49:42Z")

</div>

Same. Ansible Galaxy downloads appear to be entirely broken ATM.

```auto
ansible-galaxy collection install community.general
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/community-general-9.1.0.tar.gz to /root/.ansible/tmp/ansible-local-54yfkgv2sy/tmpsvjdcz2a/community-general-9.1.0-s2jq6ldk
ERROR! Failed to download collection tar from 'default' due to the following unforeseen error: HTTP Error 403: Forbidden. HTTP Error 403: Forbidden

```

---

<div class="post-metadata">

**Author:** ![isuftin\_at\_usgs](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/isuftin_at_usgs/32/925_2.png) [@isuftin\_at\_usgs](https://forum.ansible.com/u/isuftin_at_usgs)\
**Post date:** [July 8, 2024, 2:50pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/5 "2024-07-08T14:50:21Z")

</div>

This is the same error manifesting through ansible-galaxy cli. afaik Galaxy does not/will not require a login. This is an issue upstream with the Ansible Galaxy server.

---

<div class="post-metadata">

**Author:** ![dustin1530](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dustin1530/32/1291_2.png) [@dustin1530](https://forum.ansible.com/u/dustin1530)\
**Post date:** [July 8, 2024, 2:55pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/6 "2024-07-08T14:55:47Z")

</div>

Having the same issue as well

```auto
ansible-galaxy collection install containers.podman
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/containers-podman-1.15.3.tar.gz to /root/.ansible/tmp/ansible-local-2791ixth0umt/tmp90ieu488/containers-podman-1.15.3-qfiipg58
ERROR! Failed to download collection tar from 'default' due to the following unforeseen error: HTTP Error 403: Forbidden. HTTP Error 403: Forbidden

```

---

<div class="post-metadata">

**Author:** ![frand10](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@frand10](https://forum.ansible.com/u/frand10)\
**Post date:** [July 8, 2024, 2:57pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/7 "2024-07-08T14:57:10Z")

</div>

AWX Project syncs failing with

```auto
ERROR! Failed to download collection tar from 'server0' due to the following unforeseen error: HTTP Error 403: Forbidden. HTTP Error 403: Forbidden

```

---

<div class="post-metadata">

**Author:** ![Gregory\_Shulov](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gregory_shulov/32/4135_2.png) [@Gregory\_Shulov](https://forum.ansible.com/u/Gregory_Shulov)\
**Post date:** [July 8, 2024, 2:57pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/8 "2024-07-08T14:57:17Z")

</div>

Same here - tested from multiple locations.

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [July 8, 2024, 2:57pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/9 "2024-07-08T14:57:20Z")

</div>

Yeah, something seems to be broken right now. Neither downloading directly nor installing via `ansible-galaxy collection install` seems to be working since at least 30 minutes.

[@galaxy](https://forum.ansible.com/groups/galaxy) are you aware of this?

---

<div class="post-metadata">

**Author:** ![jlmitch5](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jlmitch5/32/578_2.png) [@jlmitch5](https://forum.ansible.com/u/jlmitch5)\
**Post date:** [July 8, 2024, 3:04pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/10 "2024-07-08T15:04:23Z")

</div>

Hello all – working through some service issues currently, will use the following thread to update with info, ETA of fix, etc.: [Jul 8, 2024 Ansible Galaxy service degradation info thread](http://forum.ansible.com/t/jul-8-2024-ansible-galaxy-service-degradation-info-thread/7142)

---

<div class="post-metadata">

**Author:** ![pwalters04](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pwalters04/32/2236_2.png) [@pwalters04](https://forum.ansible.com/u/pwalters04)\
**Post date:** [July 8, 2024, 3:33pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/12 "2024-07-08T15:33:26Z")

</div>

Is there a workaround?

---

<div class="post-metadata">

**Author:** ![isuftin\_at\_usgs](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/isuftin_at_usgs/32/925_2.png) [@isuftin\_at\_usgs](https://forum.ansible.com/u/isuftin_at_usgs)\
**Post date:** [July 8, 2024, 3:36pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/13 "2024-07-08T15:36:47Z")

</div>

The only workaround would be updating your requirements yaml or commandline to pull directly from github

---

<div class="post-metadata">

**Author:** ![mjk4747](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mjk4747/32/4138_2.png) [@mjk4747](https://forum.ansible.com/u/mjk4747)\
**Post date:** [July 8, 2024, 3:37pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/14 "2024-07-08T15:37:47Z")

</div>

Confirmed that updated requirements files to pull from git works as a workaround. See: [Installing collections — Ansible Community Documentation](https://docs.ansible.com/ansible/latest/collections_guide/collections_installing.html#install-multiple-collections-with-a-requirements-file)

---

<div class="post-metadata">

**Author:** ![pwalters04](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pwalters04/32/2236_2.png) [@pwalters04](https://forum.ansible.com/u/pwalters04)\
**Post date:** [July 8, 2024, 3:46pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/15 "2024-07-08T15:46:51Z")

</div>

Thank you, it works for me as well.

Reference for others:

```auto
  - name: https://github.com/ansible-collections/community.general.git
    type: git
    version: main

```

If there is a better way, let me know

---

<div class="post-metadata">

**Author:** ![jlmitch5](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jlmitch5/32/578_2.png) [@jlmitch5](https://forum.ansible.com/u/jlmitch5)\
**Post date:** [July 8, 2024, 4:09pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/16 "2024-07-08T16:09:06Z")

</div>

Fixed - [[Update: Fixed] Ansible Galaxy service degradation info thread (Jul 8, 2024) - #6 by jlmitch5](http://forum.ansible.com/t/update-fixed-ansible-galaxy-service-degradation-info-thread-jul-8-2024/7142/6)

---

<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:** [August 7, 2024, 4:09pm UTC](https://forum.ansible.com/t/ansible-galaxy-not-allowing-tarball-downloads/7135/17 "2024-08-07T16:09:44Z")

</div>

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