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

Random error on Mac OS: [error]Too Many Requests #503

Closed
evandrocoan opened this issue Jun 19, 2020 · 1 comment · May be fixed by affiliatedkat/toolkit#8 or 47-studio-org/toolkit#10
Closed

Random error on Mac OS: [error]Too Many Requests #503

evandrocoan opened this issue Jun 19, 2020 · 1 comment · May be fixed by affiliatedkat/toolkit#8 or 47-studio-org/toolkit#10
Labels
artifact bug Something isn't working

Comments

@evandrocoan
Copy link

Moving from actions/cache#267 (comment)

I just this new kind of random error which randomly breaks the build only for Mac OS: https://github.com/ankitects/anki/pull/604/checks?check_run_id=786490395#step:26:10

Run actions/upload-artifact@v1
Uploading artifact 'anki_macos_python3.7' from '/Users/runner/runners/2.263.0/work/anki/anki/dist' for run #2272
Uploading 3 files
Unable to copy file to server StatusCode=TooManyRequests: Too Many Requests. Source file path: /Users/runner/runners/2.263.0/work/anki/anki/dist/ankirspy-2.1.28+40eab4bd-cp37-cp37m-macosx_10_7_x86_64.whl. Target server path: anki_macos_python3.7/ankirspy-2.1.28+40eab4bd-cp37-cp37m-macosx_10_7_x86_64.whl
Cannot continue uploading files, so draining upload queue of 1 items.
Fail to upload '/Users/runner/runners/2.263.0/work/anki/anki/dist/ankirspy-2.1.28+40eab4bd-cp37-cp37m-macosx_10_7_x86_64.whl' due to 'Critical failure uploading '/Users/runner/runners/2.263.0/work/anki/anki/dist/ankirspy-2.1.28+40eab4bd-cp37-cp37m-macosx_10_7_x86_64.whl''.
GitHub.Runner.Plugins.Artifact.UploadFailedException: Critical failure uploading '/Users/runner/runners/2.263.0/work/anki/anki/dist/ankirspy-2.1.28+40eab4bd-cp37-cp37m-macosx_10_7_x86_64.whl'
   at GitHub.Runner.Plugins.Artifact.FileContainerServer.UploadAsync(RunnerActionPluginExecutionContext context, Int32 uploaderId, CancellationToken token)
File error 'Critical failure uploading '/Users/runner/runners/2.263.0/work/anki/anki/dist/ankirspy-2.1.28+40eab4bd-cp37-cp37m-macosx_10_7_x86_64.whl'' when uploading file '/Users/runner/runners/2.263.0/work/anki/anki/dist/ankirspy-2.1.28+40eab4bd-cp37-cp37m-macosx_10_7_x86_64.whl'.
##[error]Too Many Requests
##[error]Exit code 1 returned from process: file name '/Users/runner/runners/2.263.0/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.
@evandrocoan evandrocoan added the bug Something isn't working label Jun 19, 2020
@konradpabjan
Copy link
Contributor

Please switch over to the v2 version of upload-artifact and download-artifact.

The @actions/artifact package that you see in: https://github.com/actions/toolkit/tree/main/packages/artifact is all typescript based while the v1 are effectively C# plugins that are tied to the runner. No new fixes or improvements are being made to the v1 versions of the actions. There is a good chance that the bug you hit has already been fixed.

If you still hit issues while using the v2 version of upload-artifact please open an issue in upload-artifact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
artifact bug Something isn't working
Projects
None yet
3 participants