Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use curl --retry feature? #100

Open
kwavnet opened this issue Oct 2, 2024 · 0 comments
Open

Use curl --retry feature? #100

kwavnet opened this issue Oct 2, 2024 · 0 comments

Comments

@kwavnet
Copy link
Contributor

kwavnet commented Oct 2, 2024

We occasionally get curl: (6) Could not resolve host: api.github.com when the action is polling for the downstream job.
Would be an option to add a --retry=x (maybe 3 or something) to

if response=$(curl --fail-with-body -sSL \
?

I believe a retry should fix the temporary DNS issues

see also curl man page https://curl.se/docs/manpage.html#--retry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant