You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
It looks like there's an unhandled exception thrown by the standard library's
http
module, and
ansible.builtin.uri
doesn't handle it. This error only happens about 50% of the time.
# if using a version older than ansible-core 2.12 you should omit the '-t all'
$ ansible-config dump --only-changed -t alljnguyen@aerospikes-macbook-pro-4 mac-m1-self-hosted-python-client % ansible-config dump --only-changed -t all/opt/homebrew/Cellar/ansible/10.1.0/libexec/lib/python3.12/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES,/opt/homebrew/Cellar/ansible/10.1.0/libexec/lib/python3.12/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES,CONFIG_FILE() = None
OS / Environment
System Version: macOS 14.5
Kernel Version: Darwin 23.5.0
Chip: Apple M1 Pro
Memory: 16 GB
The monolithprojects.github_actions_runner should successfully set up a Github Actions self-hosted runner for the aerospike/aerospike-client-python repository.
Actual Results
`monolithprojects.github_actions_runner` with the error mentioned above.
If these files are incorrect, please update the component name section of the description or use the component bot command.
Hello , @juliannguyen4
For the issue you can try the following to see if these resolve the issue and observe the same 1. Add Retry or Delay to task (yml)
- name: Find the latest runner version (RUN ONCE)
ansible.builtin.uri:
url: "https://api.github.com/repos/actions/runner/releases/latest"
return_content: yes
register: runner_version
retries: 5
delay: 10
until: runner_version is succeeded
2. Add a timeout (even if the response is slow, the client will wait long enough to receive the complete data)
- name: Find the latest runner version (RUN ONCE)
ansible.builtin.uri:
url: "https://api.github.com/repos/actions/runner/releases/latest"
return_content: yes
timeout: 60
register: runner_version