Comments (10)
We actually have exponential backoff and retries setup, a 500 though isn't one of the retryable status codes: https://github.com/actions/toolkit/blob/57d20b4db494c25af8d2f3d9323650044610e531/packages/artifact/src/internal/utils.ts#L74
I'll add 500s to the list and then it should retry up to 5 times if an error is hit
This also is only relavent to @v2
versions of download-artifact
. If you're pinned to @master
, the big switch happened yesterday so you're on the new version.
from download-artifact.
@konradpabjan got another case for retries: ##[error]connect ETIMEDOUT 13.107.42.16:443
which is the only output a failed step has in my workflow (just in one job).
https://github.com/ansible/pylibssh/runs/640533022#step:7:10
from download-artifact.
Yeah, it was actually happening on v2
already.
from download-artifact.
@konradpabjan got another case for retries:
##[error]connect ETIMEDOUT 13.107.42.16:443
I just had a workflow run fail with this exact same error (trying to download an artifact from a previous job).
from download-artifact.
This looks like a low-level socket is getting stuck and then timing out.
from download-artifact.
FTR the same is happening with upload-artifact:
Run actions/upload-artifact@v2
With the provided path, there will be 1 files uploaded
##### Begin Diagnostic HTTP information #####
Status Code: 503
Status Message: Service Unavailable
Header Information: {
"cache-control": "no-store",
"content-length": "228",
"content-type": "text/html",
"server": "Microsoft-IIS/10.0",
"x-msedge-ref": "Ref A: 4E921A466D6E41768580DFBF79A7F107 Ref B: ATAEDGE1018 Ref C: 2020-05-07T20:08:58Z",
"date": "Thu, 07 May 2020 20:09:02 GMT",
"connection": "close"
}
###### End Diagnostic HTTP information ######
##[error]Unable to create a container for the artifact dist-wheel-macOS-python2.7 at https://pipelines.actions.githubusercontent.com/cC5s7csFV8PcrlweNRWx6PDHHyvYCGGwuLa0yo6ROPMTVelxBD/_apis/pipelines/workflows/98515921/artifacts?api-version=6.0-preview
https://github.com/ansible/pylibssh/runs/654300467?check_suite_focus=true#step:21:25
from download-artifact.
Just had ##[error]connect ETIMEDOUT 13.107.42.16:443
in actions/download-artifact@v2
. Funny enough I moved over here from actions/cache because of the similar actions/cache#208
from download-artifact.
@boredland thanks for the notice. Haven't come across that error. Can you open another issue here. Fixing that will probably require some extra work.
from download-artifact.
@konradpabjan FYI I linked the related log above: https://github.com/ansible/pylibssh/runs/640533022#step:7:10
from download-artifact.
Some work was recently done behind the scenes to address 500s being returned (most were caused by timeouts on our end). Now a 503 should be returned and the download will be retried by the action up to 5 times.
If 500s continue to appear, please ping me or create a new issue.
from download-artifact.
Related Issues (20)
- [bug] Unable to download and extract artifact: Artifact download failed after 5 retries. HOT 7
- [bug] Artifacts not available for followup job (v4) HOT 5
- [bug] Node incompatibility: [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues HOT 2
- Help
- Support mapping failures to an output
- [bug] Using pattern to download multiple artifacts not working HOT 1
- Release Asset cannot be downloaded HOT 3
- [bug] v4 - Sporadically failing in matrix with `ECONNREFUSED` HOT 3
- [bug] Downloading artifact from previous run (specifying its `run-id`) does not work HOT 7
- [bug] Problems with downloading artifacts with dot in the name HOT 1
- Download Successful but not available in next job.
- [bug] Matching names and merge-multiple causes data corruption HOT 6
- [bug] Unable to download artifact(s): Unable to download and extract artifact: Request timeout HOT 1
- [bug] Artifact download failure on latest `master` HOT 5
- [feat req] Update node version to 20 HOT 2
- [bug]-Getting Warning about the deprecation-v4.1.2 HOT 3
- [feat req] Allow timeout input setting
- [bug] Losing compatibility from aws-cli docker image on v4 HOT 4
- [bug] Z_BUF_ERROR Error: unexpected end of file
- [feat req] Option to fail if no files were downloaded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from download-artifact.