Open CVanF5 opened 7 months ago
We are seeing the same issue.
same here
Getting a lot of this while running ansible-galaxy install -r ansible/galaxy-requirements.yml
Starting galaxy collection install process
Process install dependency map
ERROR! Unknown error when attempting to call Galaxy at 'https://galaxy.ansible.com/api/': The read operation timed out
It works ~25% of the time since yesterday morning.
Increasing the timeout seems to be a sufficient workaround when running ansible-galaxy install
:
ansible-galaxy install -r ansible/galaxy-requirements.yml --timeout 300
I have the same issues all the day from time to time with ansible-core 2.16.5 (also tries 2.15.10). It's absolute random on failing during ansible-galaxy install -r requierments.yml
or using molecule 24.2.0 on dependencies stage. Also tried this recomendation. Glad that I found this issue when I'm went to write a new one :)
ansible-galaxy install -r ansible/galaxy-requirements.yml --timeout 300
Looks likt it's also possible via environment variable
ANSIBLE_GALAXY_SERVER_TIMEOUT
andmolecule.yml
file:
dependency:
name: galaxy
env:
ANSIBLE_GALAXY_SERVER_TIMEOUT: 300
Seems like the API has been up and down all day today, and I don't appear to be alone
Some requests fail
Other requests succeed: