-
Notifications
You must be signed in to change notification settings - Fork 63
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
Warning: Failed to download action 'https://api.github.com/repos/microsoft/powerplatform-actions/zipball/0c80aacb61f9bfdcb930b880febc420ec4ef2f3e'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. #416
Comments
This makes sense. I had opened a ticket here because it seems to only happen when I call actions from this repo. Other actions (from other repos) don't seem to have this same issue. |
It is happening to me as well. |
No word back from GitHub support on the ticket since Friday. Our current hypothesis is that this has been occurring more frequently due to the steady size increase of our action's tarball/zipball, as each version of PAC is larger than the last, and those are checked in via git-lfs into the repo. Reducing the size of that should lead to fewer timeouts, which might just occur during periods when GitHub has higher server load? #424 is an option to do just that - remove PAC from the repo and install via Nuget at action execution time. If we go this route, it will be a breaking change with a major version bump, as all Jobs would need a new install step. |
Thanks for the follow-up. To clarify, when you say "it will be a breaking change with a major version bump, as all Jobs would need a new install step" - you are referring to consumers needing to call an additional step actions-install on each job that has a "- uses: microsoft/powerplatform-actions/xxxxxx@v0" step in it would need to have previously called a "- uses: microsoft/powerplatform-actions/actions-install@v0" step - is that right? |
Correct. |
@tehcrashxor |
Our current plan is to release new version next week. |
We heard back from GitHub on our support ticket - they're still looking into why the download speed within the Preliminary findings from that tinkering is that the tarball's size has been cut from 53 MB down to 5.2 MB, and the |
👋 Hello from GitHub! You have enabled "Git LFS objects in archives" for this repo (the default is "off"). The commit mentioned in the issue here (
We are looking into this issue! Do you need the LFS files in your archive? If not, then disabling the "Git LFS objects in archives" option for this repo should fix the download of older archives. Archives of the lastest |
Yep, the Node code is just a thin shim to read the parameters passed in the users YAML to the binaries stored in LFS. |
Released new version as v1.0.0, which should alleviate most of the "Set up job" failures as the tarball/zipball is significantly smaller. As noted in the release notes, this pipelines upgrading to the new version will need both to update the |
HI, this method won't work for my clients. Many large and highly regulated company do not allow direct access to nuget hence grabbing Nuget on runtime would be a deadend for them. Their runners are behind firewalls and security won't open access to nuget given the risk. So they would be stuck using v0 and with this timeout issue. Since many of my client's production deployment is heavily impacted. |
Some highly regulated companies use self hosted GitHub runners. |
I'm seeing these timeout error more often than I'm not seeing them. I've moved to v1 and added the Install-Action. If I try to manually download the file "https://api.github.com/repos/microsoft/powerplatform-actions/zipball/09afea19cc361004739641ee6dda4ee7d7fac716" from my browser, it gets to 5.6 MB quite quickly, but then it just sits there waiting, which I'm sure is also happening inside the Github Action. |
Our monitoring job showed a fair number of v1 timeouts over Sunday and Monday, but it's still failing significantly less often for us than the v0 runs. We've updated our GitHub support ticket with that info, and we know of at least one large customer that has their own opened as well to investigate the timeouts, but haven't had anything further from GitHub yet.
We're looking into updating the Obtaining PAC another way and installing into the expected location that actions-install/index.ts uses and setting an environment variable named |
We have a monitoring job that runs every hour, which runs four jobs to check that the actions are downloading and running on the agent correctly. These jobs are two v0 In the last week, we've only seen a single failure of one v0 job failing, so it looks like the process is working better now. GitHub Support suggests that this resolved incident https://www.githubstatus.com/incidents/frdfpnnt85s8 was likely a fix for the download slowness and failure, but we're not 100% convinced as it was Resolved on September 5th, but there were a series of failures after that on September 8th through September 10th. |
GitHub Support elaborated that the incident marked Resolved on Sept 5th wasn't fully remediated until Sept 10th, explaining the failures we saw from the 8th - 10th. As we've only had a single failure in the monitoring job for the last week, it looks like they may well have fixed the issue. We'll monitor for further failures and reopen this issue and our GitHub Support Ticket if we see it start to fail again. |
I have started seeing this error repeatedly over the past several days across a number of my workflow calls into this repo:
Warning: Failed to download action 'https://api.github.com/repos/microsoft/powerplatform-actions/zipball/0c80aacb61f9bfdcb930b880febc420ec4ef2f3e'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
and then it repeatedly fails before erroring out my entire workflow run. Sometimes the retry succeeds, but other times it continues to fail. The other actions from external repos (actions/checkout, some internal ones i have in my customer's org, etc.) all seem to be working just fine.
I am using v0 (e.g. - uses: microsoft/powerplatform-actions/import-data@v0 )
The text was updated successfully, but these errors were encountered: