-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fetching versions list fails sometime #19
Comments
Not sure where this could be coming from. At first I thought it could be the download APIs choking on a rate limit but I also considered fetch itself could be the issue -- I came across a Node.js issue about it (for reference nodejs/node#46167), introduced in node18 (v3 also upgraded node from 16 to 20) but I'm not sure the same conditions apply. You mentioned the Could anyone provide a small repro to inspect the entire logs and debug it? I'm not sure how to reproduce it consistently. |
@federicocarboni : I've noticed this as well since upgrading to v3; for example at, https://github.com/OpenArchitex/Caerus/actions/runs/8115243282/job/22182692666. If you need any help from my end to debug let me know. 😺 |
I have registered a job that runs once an hour, but since v3, it has failed once a day, every 24 times. |
node20 could be responsible for #19
Has anyone ever had it happen on Windows runners? |
It appears that the TypeError: fetch failed would be thrown on network errors. Perhaps the error cause could be included into the log to get more details https://github.com/federicocarboni/setup-ffmpeg/blob/main/dist/index.js#L20888 |
For anyone annoyed by this issue -- while I try to understand why a GitHub runner would have network errors -- pinning ffmpeg to a specific version should mitigate it, set |
We get "Error: AssertionError [ERR_ASSERTION]: Requested version null is not available" on mac if we lock 6.1.0 |
Sorry my bad, try with |
it still fails with explicit |
+1 see here |
Can you add a retry mechanism? That will try to download that, maybe with exponential backoff? |
Or allow to specify a binary and you'll use that instead of downloading? Just do the rest of setup? |
I end up creating a composite github action:
This file is saved in my repo under The I changed my workflow to call
instead of the original action. Hopefully, that would do the trick. |
I am reporting back to this forum that the hack with the composite GitHub action did the trick and allowed me to avoid failure. I hope that it will help someone to overcome this issue. |
I am experiencing same fetch error. https://github.com/Fak3/enjam/actions/runs/10909063062/job/30276429118 Perhaps this retry trick from the comments above can be integrated right into this action? So that users don't have to create their own |
Hi,
I am using this action in a repo where 8 jobs starts simultaneously and in some cases It throws fetch failed error. This error doesn't occur in
v2
The text was updated successfully, but these errors were encountered: