# Timeouts when installing collections from Ansible Galaxy (https://galaxy.ansible.com/)

**URL:** <https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301>\
**Category:** Get Help\
**Tags:** ansible-galaxy, galaxy-ng\
**Created:** [September 14, 2026, 9:17am UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301 "2026-09-14T09:17:06Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![shreik](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@shreik](https://forum.ansible.com/u/shreik)\
**Post date:** [September 16, 2026, 6:27pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/21 "2026-09-16T18:27:33Z")

</div>

Was seeing 502 errors and failed collection downloads a couple of hours ago, but everything seems to be back up and working now

---

<div class="post-metadata">

**Author:** ![thechef](https://avatars.discourse-cdn.com/v4/letter/t/87869e/32.png) [@thechef](https://forum.ansible.com/u/thechef)\
**Post date:** [September 16, 2026, 6:27pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/22 "2026-09-16T18:27:38Z")

</div>

Yes. Getting a 502 error at the moment on a pretty consistent basis.

_ERROR! Error when finding available api versions from_

- explicit\_requirement\_ansible.windows ([https://galaxy.ansible.com](https://galaxy.ansible.com)) (HTTP Code:\*
- 502, Message: Bad Gateway)\*

---

<div class="post-metadata">

**Author:** ![jamoflaw](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jamoflaw/32/11181_2.png) [@jamoflaw](https://forum.ansible.com/u/jamoflaw)\
**Post date:** [September 16, 2026, 6:27pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/23 "2026-09-16T18:27:44Z")

</div>

To me the API is completely down (see a 502 cloudflare error) and the UI takes minutes if it loads at all

UI hangs like this

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/b/b035ae9b52a02e629f628493afc739c11deb5f2e.png)

API:

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/3/380354c7deee40edab11978f233e01cddba549fa.png)

We have seen similar things over the last couple days where it is going glacially slow and taking upwards of 15 minutes to resolve the collections on our execution environment pipeline 😟

---

<div class="post-metadata">

**Author:** ![thechef](https://avatars.discourse-cdn.com/v4/letter/t/87869e/32.png) [@thechef](https://forum.ansible.com/u/thechef)\
**Post date:** [September 16, 2026, 6:27pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/24 "2026-09-16T18:27:49Z")

</div>

I am seeing the same issues, when attempting to connect from Azure’s Central US region. Repeated timeouts and long waits for responses, rendering any pipeline leveraging a Galaxy collection unreliable. This is a major issue, but it doesn’t seem as if anyone knows who to call to get it resolved. Meanwhile, the status page shows green lights all the way, which is a bit absurd.

> **[Galaxy Status](https://status.eng.ansible.com/status/galaxy)**
>
> Current status of the GalaxyNG systems

---

<div class="post-metadata">

**Author:** ![acnickv](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@acnickv](https://forum.ansible.com/u/acnickv)\
**Post date:** [September 16, 2026, 6:35pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/25 "2026-09-16T18:35:18Z")

</div>

@mariolenz Agreed, but its not always easy.

My organization has configured Artifactory to “proxy” the `ansible-galaxy` repository. Unfortunately it does not help in this case because the api calls are still being made upstream - even when the collection has a pinned version number.

Unless the proxy also caches those responses, you are in trouble. Artifactory does not appear to be this solution. ☹

I also agree with a previous comment @sivel made in another thread about pre-packaging collections and ryour `ee`s pre-packaging collections / roles rather than downloading them live.

Do you know if work is active on the `ansible-galaxy` client at this time? I am not python developer, but I can submit some requests / open some discussions for possible improvements.

---

<div class="post-metadata">

**Author:** ![jerabekjiri](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jerabekjiri/32/559_2.png) [@jerabekjiri](https://forum.ansible.com/u/jerabekjiri)\
**Post date:** [September 16, 2026, 7:02pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/26 "2026-09-16T19:02:58Z")

</div>

Hello, Galaxy dev here

Sorry for the friction this has caused over the past few days.

Today, we performed the Galaxy upgrade and cleaned up the stale environment, which seems to have helped with the issue. Performance has stabilized and is back to normal for now. We are monitoring system health while continuing to look into the root cause.

Thanks!

---

<div class="post-metadata">

**Author:** ![clasp\_acting733](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@clasp\_acting733](https://forum.ansible.com/u/clasp_acting733)\
**Post date:** [September 16, 2026, 8:19pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/27 "2026-09-16T20:19:26Z")

</div>

Thank you, @jerabekjiri! We seem to notice a few times a year when the API becomes totally unavailable or unreliable for a period of time, but the experience over the last 2 day was new for us.

In the future what’s the best way to report issues like this for the best response, if not here? Is there a way that we, as community members and users, can help reduce these hiccups in the future? The thread that @mariolenz shared for mirroring/proxying is new to me, and I’ll be looking into some of these solutions. It’s been a while since I’ve gone out of my way to look, but is there any official Ansible documentation to encourage and provide examples of caching strategies that would minimize the load and reliance on [https://galaxy.ansible.com](https://galaxy.ansible.com)?

I maintain my own EE with the collections that I rely on, and fall back to it in AWX when the API isn’t working well, but using it in my CIs never crossed my mind and may be an easy win.

---

<div class="post-metadata">

**Author:** ![dbrennand](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dbrennand/32/7830_2.png) [@dbrennand](https://forum.ansible.com/u/dbrennand)\
**Post date:** [September 17, 2026, 9:01am UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/28 "2026-09-17T09:01:06Z")

</div>

> [@clasp\_acting733](#):
>
> In the future what’s the best way to report issues like this for the best response, if not here?

Here on the forum is the right place to raise issues like this, and tag your post using the #galaxy-ng tag. You can also use the [@CommunityEngTeam](https://forum.ansible.com/groups/communityengteam) group.

> [@clasp\_acting733](#):
>
> It’s been a while since I’ve gone out of my way to look, but is there any official Ansible documentation to encourage and provide examples of caching strategies that would minimize the load and reliance on [https://galaxy.ansible.com](https://galaxy.ansible.com)?

I’m not aware of any existing documentation like this on [docs.ansible.com](http://docs.ansible.com). The docs are always open to contributions at [GitHub - ansible/ansible-documentation: Ansible community documentation · GitHub](https://github.com/ansible/ansible-documentation) to include useful projects from [Mirroring / proxy caching galaxy](https://forum.ansible.com/t/45202) on an existing or new page.

At CfgMgmtCamp 2026 Ansible Contributor Summit, there was discussion of deploying a community status page to monitor community services and other related infrastructure: [Ansible Community Status page & Notifications](https://forum.ansible.com/t/ansible-community-status-page-notifications/45253) - Please join the dicussions there if you’re interested.

---

<div class="post-metadata">

**Author:** ![GillesT](https://avatars.discourse-cdn.com/v4/letter/g/3ab097/32.png) [@GillesT](https://forum.ansible.com/u/GillesT)\
**Post date:** [September 17, 2026, 10:01am UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/30 "2026-09-17T10:01:22Z")

</div>

Hello.

Unfortunately, mirroring / proxying does **not** protect against this. We have mirror set up already.

The issue is

- Say we already have an artefact version cached in our mirror
- Fine ? If one pulls it, our mirror should serve it happily. Or is it ?
- Well no ! Because there are some more galaxy specific checks done with external calls, even when artefact is already cached ☹
- 90 % gallaxy-install failed
- **Our hack** : turn our galaxy mirror to **off-line** mode to stop any external interactions
  - drawback : any non mirrored new artefact cann’t be served by our mirror

* * *

I am surprised. To me this problem sounds like a major P1 issue. World wide 2-3 weeks low impact + 48h high impact : is it at all acceptable ? Really ?

Thanks for the job. 🙂

---

<div class="post-metadata">

**Author:** ![thechef](https://avatars.discourse-cdn.com/v4/letter/t/87869e/32.png) [@thechef](https://forum.ansible.com/u/thechef)\
**Post date:** [September 17, 2026, 4:08pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/31 "2026-09-17T16:08:57Z")

</div>

I don’t disagree, but it seems Red Hat does.

When I contacted support, I was told _“Since Ansible Galaxy is a community site, we can’t really offer support in regards to it or an ETA on when this will be fixed. If you rely on collections available on Ansible Galaxy, I would strongly recommend setting up Private Automation Hub in your environment.”_

I’ve found this has been fairly typical of my experience with Red Hat over the last decade, which is unfortunate.

In my imagination, Ansible Galaxy is Red Hat’s infrastructure where they host Ansible integrations, community and otherwise. It’s one thing to not provide support for an integration they didn’t write. Pretending that Ansible Galaxy isn’t Red Hat’s infrastructure is something different.

Maybe they should instruct their partners to not configure AAP to rely on Galaxy in the first place.

---

<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:** [September 17, 2026, 7:02pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/32 "2026-09-17T19:02:03Z")

</div>

> [@GillesT](#):
>
> - Well no ! Because there are some more galaxy specific checks done with external calls, even when artefact is already cached ☹

That sounds like a specific issue with your mirroring / caching solution. The proper behavior would be:

- If a client hits the mirror/cache, it first checks whether it is stale by checking the original Galaxy, with strict timeouts + maybe retries.
- If Galaxy doesn’t reply in time, it provides the old data and sets a mark that the data needs to be refreshed eventually.
- In the background, the mirror/cache regularly checks the data that was marked as “needs to be refreshed”. If something can’t be refreshed repeatedly, a warning is raised somehow (through UI / … of the mirror/cache).

That should result in almost 100% successful ansible-galaxy installs for collections that were already installed successfully in the past. (For new things, obviously this can only be successful if Galaxy can be reached.)

I don’t know if there’s any solution around that implements this, but that’s how _I_ would implement it if I would be writing a Galaxy cache/mirror.

---

<div class="post-metadata">

**Author:** ![espen](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@espen](https://forum.ansible.com/u/espen)\
**Post date:** [September 29, 2026, 7:35am UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/33 "2026-09-29T07:35:35Z")

</div>

This has been OK for a while now, but I have started to get the “Read operation time out” error again…

---

<div class="post-metadata">

**Author:** ![jamoflaw](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jamoflaw/32/11181_2.png) [@jamoflaw](https://forum.ansible.com/u/jamoflaw)\
**Post date:** [September 29, 2026, 9:36am UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/34 "2026-09-29T09:36:10Z")

</div>

same - and the UI on [https://galaxy.ansible.com/](https://galaxy.ansible.com/) is super slow again

Is the problem back?

---

<div class="post-metadata">

**Author:** ![jamoflaw](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jamoflaw/32/11181_2.png) [@jamoflaw](https://forum.ansible.com/u/jamoflaw)\
**Post date:** [September 29, 2026, 9:37am UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/35 "2026-09-29T09:37:02Z")

</div>

Just to add - we are proxying via Artifactory - but it affects the proxy too since it must check upstream which seems to be incredibly slow rather than down so its not being detected as offline. It just means that all our builds are timing out right now ☹

---

<div class="post-metadata">

**Author:** ![espen](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@espen](https://forum.ansible.com/u/espen)\
**Post date:** [September 29, 2026, 9:44am UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/36 "2026-09-29T09:44:43Z")

</div>

If you build with newer images for 2.5 e.g then you can add --timeout to ansible-galaxy, older images has older ansible-galaxy that does not support a --timeout parameter, so these will still fail with “Read Operation timed out”. Maybe this can help mitigate some of the problems for your builds…

---

<div class="post-metadata">

**Author:** ![BoerBart](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/boerbart/32/10083_2.png) [@BoerBart](https://forum.ansible.com/u/BoerBart)\
**Post date:** [September 30, 2026, 9:21am UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/37 "2026-09-30T09:21:15Z")

</div>

Same here, the following task used to run for a couple of seconds, whereas it’s taking a couple of minutes each time now. This has been going on for a little while now, looks like it’s an issue multiple people are having.

Task in Ansible AWX  
TASK [Fetch galaxy collections from collections/requirements.(yml/yaml)]

Just this task has been running for 6 minutes now, to fetch a total of 4 collections, and hasn’t finished yet.

---

<div class="post-metadata">

**Author:** ![priteau](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/priteau/32/11262_2.png) [@priteau](https://forum.ansible.com/u/priteau)\
**Post date:** [October 1, 2026, 5:04pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/38 "2026-10-01T17:04:17Z")

</div>

We are also seeing much slower Ansible collection installations from Galaxy in the past few days.

@jerabekjiri Is there something you can do to address this?

---

<div class="post-metadata">

**Author:** ![russoz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/russoz/32/127_2.png) [@russoz](https://forum.ansible.com/u/russoz)\
**Post date:** [October 7, 2026, 9:06pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/39 "2026-10-07T21:06:38Z")

</div>

Just for the record, I am seeing these errors/timeouts in CI runs for [community.general](https://github.com/ansible-collections/community.general) and [community.openwrt](https://github.com/ansible-collections/community.openwrt) in almost every run these days.

I mentioned that in the Ansible Community Working Group chat, and the suggestion given was to use [GitHub - sivel/amanda: A simple web application, to mimic the v3 API endpoints for Ansible Galaxy Collections, with no database, just a directory with artifacts · GitHub](https://github.com/sivel/amanda) but I got some mixed feelings about this.

---

<div class="post-metadata">

**Author:** ![shertel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/shertel/32/1241_2.png) [@shertel](https://forum.ansible.com/u/shertel)\
**Post date:** [October 7, 2026, 11:28pm UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/40 "2026-10-07T23:28:33Z")

</div>

FWIW, ansible-core uses [amanda](https://github.com/sivel/amanda) to test the ansible-galaxy CLI in addition to [GalaxyNG](https://github.com/ansible/galaxy_ng), and its simplicity is great. But I wish ansible-galaxy would work well with no configuration.

---

<div class="post-metadata">

**Author:** ![espen](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@espen](https://forum.ansible.com/u/espen)\
**Post date:** [October 12, 2026, 6:34am UTC](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301/41 "2026-10-12T06:34:59Z")

</div>

Still getting the read operation timeout quite often, had some pipeline builds that went trough last week, but seems like all weekend all we get is read operation time out…

[Previous page](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301.md?page=1)

[Next page](https://forum.ansible.com/t/timeouts-when-installing-collections-from-ansible-galaxy-https-galaxy-ansible-com/46301.md?page=3)
