# Ansible-Galaxy collection error

**URL:** <https://forum.ansible.com/t/ansible-galaxy-collection-error/35666>\
**Category:** AWX Project\
**Tags:** awx, galaxy-ng\
**Created:** [August 24, 2021, 12:09pm UTC](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666 "2021-08-24T12:09:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![agenttank](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@agenttank](https://forum.ansible.com/u/agenttank)\
**Post date:** [August 24, 2021, 12:09pm UTC](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666/1 "2021-08-24T12:09:49Z")

</div>

Hi!

Finally, after many hours, AWX 19.3.0 is working.

Please, I hope you can help me with this…  
There is no “ansible-galaxy” command in the pod (I guess it wouldn’t even be persistent) to add ansible-galaxy collections there.  
So I created a file called collections/requirements.yml with the following:

---

<div class="post-metadata">

**Author:** ![Hrvoje\_Gaspar](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@Hrvoje\_Gaspar](https://forum.ansible.com/u/Hrvoje_Gaspar)\
**Post date:** [August 24, 2021, 12:11pm UTC](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666/2 "2021-08-24T12:11:41Z")

</div>

Galaxy is under maintenance, it’ll come back up soon:

[https://galaxy.ansible.com/](https://galaxy.ansible.com/)

Dana utorak, 24. kolovoza 2021. u 14:09:49 UTC+2 korisnik [s.pin...@gmail.com](mailto:s.pin...@gmail.com) napisao je:

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [August 24, 2021, 12:11pm UTC](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666/3 "2021-08-24T12:11:57Z")

</div>

I wonder if you have created a galaxy account in awx and added it?

---

<div class="post-metadata">

**Author:** ![agenttank](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@agenttank](https://forum.ansible.com/u/agenttank)\
**Post date:** [August 24, 2021, 12:14pm UTC](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666/4 "2021-08-24T12:14:52Z")

</div>

damn, do I have bad timing… thank you for your VERY fast answer 🙂

---

<div class="post-metadata">

**Author:** ![Hrvoje\_Gaspar](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@Hrvoje\_Gaspar](https://forum.ansible.com/u/Hrvoje_Gaspar)\
**Post date:** [August 24, 2021, 12:47pm UTC](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666/5 "2021-08-24T12:47:35Z")

</div>

Test your sync now, galaxy is back up it seems. 🙂

Dana utorak, 24. kolovoza 2021. u 14:14:53 UTC+2 korisnik [s.pin...@gmail.com](mailto:s.pin...@gmail.com) napisao je:

---

<div class="post-metadata">

**Author:** ![agenttank](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@agenttank](https://forum.ansible.com/u/agenttank)\
**Post date:** [August 24, 2021, 1:09pm UTC](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666/6 "2021-08-24T13:09:29Z")

</div>

doesnt work yet…  
ERROR! Error when getting available collection versions for community.general from server0 ([https://galaxy.ansible.com/api/](https://galaxy.ansible.com/api/)) (HTTP Code: 502, Message: Bad Gateway Code: Unknown)"

---

<div class="post-metadata">

**Author:** ![agenttank](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@agenttank](https://forum.ansible.com/u/agenttank)\
**Post date:** [August 24, 2021, 1:24pm UTC](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666/7 "2021-08-24T13:24:18Z")

</div>

now it did work 🙂 thanks again!
