Code Monkey home page Code Monkey logo

Comments (10)

konradpabjan avatar konradpabjan commented on June 28, 2024 1

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.

webknjaz avatar webknjaz commented on June 28, 2024 1

@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.

webknjaz avatar webknjaz commented on June 28, 2024

Yeah, it was actually happening on v2 already.

from download-artifact.

wjrogers avatar wjrogers commented on June 28, 2024

@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.

webknjaz avatar webknjaz commented on June 28, 2024

This looks like a low-level socket is getting stuck and then timing out.

from download-artifact.

webknjaz avatar webknjaz commented on June 28, 2024

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.

boredland avatar boredland commented on June 28, 2024

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.

konradpabjan avatar konradpabjan commented on June 28, 2024

@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.

webknjaz avatar webknjaz commented on June 28, 2024

@konradpabjan FYI I linked the related log above: https://github.com/ansible/pylibssh/runs/640533022#step:7:10

from download-artifact.

konradpabjan avatar konradpabjan commented on June 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.