Closed risotto-master closed 11 months ago
Experiencing the same issue
Also experiencing this. Looks more like a runner issue
same! for me
Experiencing this issue as well.
Also experiencing this. Looks more like a runner issue
Yes, I also believe that there could be an issue with certain GitHub Action runners. I utilized matrix concurrency in my workflow to execute the same job, and a few of the jobs were successful. Thankfully, after multiple attempts of triggering it, all of them eventually passed.
Seems like this was fixed? Can anyone confirm?
it seems to be fixed for our workflow runs, thanks to whoever fixed!
This was fixed a while back (and it hasn't happened since). Closing
I've recently started seeing this on my workflow. any one else seeing the same thing? If so, how is this resolved?
I'm getting this in my workflow from 1 of 2 self-hosted windows runners using a dead simple workflow (see following).
Considering I can duplicate reliably on one self-hosted windows runner but not the other, this sounds like a local config issue OR the runner operating differently based on windows version.
For me the workflow is fine on Windows Server 2012R2, fails on Server 2016. On both I tried browsing to https://results-receiver.actions.githubusercontent.com/ and I get a 404 and no issues with the server certificate. Both systems have the same security tooling (ESET, Arctic Wolf, Wazuh).
I noticed issues connecting to tls1.2 on Server 2016. Fixed that, restarted actions runner and still having the issue so I don't think it's related to tls1.2
EDIT: I suspect this is related to some security controls in place. I tested on a clean/patched Server2016 VM and cannot duplicate there (after enabling tls 1.2)
Here's a section of debug log
2024-04-23T13:31:13.1541057Z ##[debug][Request] CreateArtifact https://results-receiver.actions.githubusercontent.com/twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact
2024-04-23T13:31:13.2445942Z Attempt 1 of 5 failed with error: unable to verify the first certificate. Retrying request in 3000 ms...
2024-04-23T13:31:16.2783605Z Attempt 2 of 5 failed with error: unable to verify the first certificate. Retrying request in 6252 ms...
2024-04-23T13:31:22.5654757Z Attempt 3 of 5 failed with error: unable to verify the first certificate. Retrying request in 9856 ms...
2024-04-23T13:31:32.4540594Z Attempt 4 of 5 failed with error: unable to verify the first certificate. Retrying request in 14866 ms...
2024-04-23T13:31:47.3562686Z ##[error]Failed to CreateArtifact: Failed to make request after 5 attempts: unable to verify the first certificate
2024-04-23T13:31:47.3646246Z ##[debug]Node Action run completed with exit code 1
2024-04-23T13:31:47.3660652Z ##[debug]Finishing: Upload Artifacts
And my test workflow
name: testartifacts
on:
workflow_dispatch:
jobs:
upload-artifacts:
runs-on: [self-hosted,clarion]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path:
Build/
TestDownload:
runs-on: [self-hosted,clarion]
needs: upload-artifacts
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: build-artifacts
- name: Verify download
shell: powershell
run: dir ./Build
If you need a temporary workaround (for self-signed certs or the like) you can set NODE_TLS_REJECT_UNAUTHORIZED
:
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: Build/
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
A note from the docs:
This makes TLS, and HTTPS by extension, insecure. The use of this environment variable is strongly discouraged.
What happened?
A workflow we've been using for some time now without issues has started flaring up this morning. We run a upload-artifact step to store testing suite reports.
Here's the chunk of the logs:
What did you expect to happen?
Expected upload to proceed like it usually does.
How can we reproduce it?
Not quite sure, it's a private repo. Again, I don't think anything we do is special or has changed to affect this.
Anything else we need to know?
We're running Ubuntu latest and are in beta for larger runners.
What version of the action are you using?
actions/upload-artifact@v3
What are your runner environments?
linux
Are you on GitHub Enterprise Server? If so, what version?
No response