macOS download-artifact failing randomly

Hello,

recently it seems that actions/download-artifact fails more often on some runs on macos-11, the same task then works in another workflow.

I’ve been using @v2 and changed that to @v3 now but still suspect the error occurs on the backend where it’s out of my control.

I now start multiple equivalent runs for the same workflow in the hope that one will finish successfully but that seems like a waste of resources.

It would be great if someone could look into this behaviour or forward the issue.

As Error I mostly get:

Error: An error occurred while attempting to decompress the response stream
A 200 response code has been received while attempting to download an artifact
Error: Unable to download the artifact: Error: Retry limit has been reached. Unable to download …

Sometimes:

An error occurred while attempting to download a file
Error: getaddrinfo ENOTFOUND pipelines.actions.githubusercontent.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
  errno: 'ENOTFOUND',
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'pipelines.actions.githubusercontent.com'
}
Error: Unable to download the artifact: Error: Retry limit has been reached. Unable to download 

E.g. see here, here, or here.

Best regards,
Mark