-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
##[error]Failed to download or parse release-index.json with error: {} #10969
Comments
Potentially related / similar to: #10968 |
This seem to have been caused by some error introduced in the releases-index.json of dotnet/core repo. |
I have just faced this issue in Azure Pipelines:
|
I am getting the same error in our Private agent, Hosted agents it is working fine. ##[error]Failed to download or parse release-index.json with error: {"errno":"ENOTFOUND","code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"raw.githubusercontent.com","host":"raw.githubusercontent.com","port":443} |
We are suddenly getting this error too.. Everything was working fine this morning. |
1 similar comment
We are suddenly getting this error too.. Everything was working fine this morning. |
We're seeing it too. |
We are seeing it as well. Worked fine this morning and the past 6 months |
It's most likely due to ongoing issues at GitHub right now, see https://www.githubstatus.com/ |
I'm pretty sure it was GitHub as deckerbd mentioned. It started when the github problem started and resolved when they resolved it. |
This issue just started happening this evening for me. Using version 2.* of the Please reopen |
I just experienced this issue. I believe its still there. Please reopen Task : Use .NET Core |
Just started experiencing this, azure devops server updated to current, using classic tasks but yaml looked like this. steps:
- task: UseDotNet@2
displayName: 'Use dotnet sdk 3.x'
inputs:
version: 3.x
installationPath: '$(Agent.ToolsDirectory)/dotnet' Solved it by adding 'sdk' to installation path. Guess the cache must've gotten corrupted or similar since it's been working from cache for some weeks(4-5) now. |
this is happening again |
We are seeing this too today, starting last night. |
Happening with us now. |
This is happening for us now too |
happening again |
This is now happening again |
happening again |
Happening also to us for the first time. |
Same here. Happening as of this morning first time for us. Self Hosted Agent |
Happening on Self Hosted Agent. |
Same here. Happening on Azure Self Hosted Agent |
btw it looks like the issue is resolved |
working again. |
First of all I don't know the details of the task.... In my opinion the following steps should be taken when running this task:
|
seems to be working now. the glitch is gone |
seems to be working now |
it recovered for me |
works for me |
In addition to what @dnperfors suggested with caching the (I just noticed that @bishal-pdMSFT opened PR #12741 to avoid GitHub issues) |
it recovered for me |
I have seen this same issue today. |
just got the same issue today as well |
Seen today as well |
Hello,
I have this error: Failed to download or parse releases-index.json with error: {"code":"UNABLE_TO_GET_ISSUER_CERT_LOCALLY"}
I added the task "UseDotNet@2" because without it, I was having this:
I don't understand it as the build pipeline works, it seems it can't reach the releases-index.json file but again, as DotNet Core 5 is installed on the server, I'm confused. Would you be able to help understand this and propose a solution or workaround ? Should I add a global.json file to the tests project ? Thanks a lot for any help, |
Hi, I am getting error with that the agent cannot access the file on GitHub even though the link works in a browser. |
August 2021 and the issue still occurs. Thinking out of the box here, could it be that we (the world) are just going with to much servers to the same location? Because this error occurs sporadically with us (about 6 out of 10 times) |
We've been encountering this problem over the last month or so. Azure DevOps 2019, "use dotnet" build task version "2.* (preview)", which I'm using to download SDK 6.0.301. ##[error]Failed to download or parse release-index.json with error: {"errno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","address":"185.199.109.133","port":443} I've opened a support case with MS but not getting very far, and I think it's reaching the stage where they want to pass the buck as being a network issue at our end. Any thoughts? |
Hi all, I am facing the exact same issue and cant find a work around, Thanks |
Anyone facing the same issue this week the original issue 10969 of this thread? ##[error]Failed to download or parse releases-index.json with error: {"code":"UNABLE_TO_GET_ISSUER_CERT_LOCALLY"} This was working last Friday. We are on Azure DevOps server 2022 update 1.1, "Use .NET Core sdk 6.0" build task version 2, which I'm using to download SDK 6.0.400. |
I'm getting the same error today. |
Happening today!!!!!!!!!!!!!!! 😫 NET 8 |
Happening for me with .net 8 today |
If I simplify my UseDotNet@2 task down to
From this
It fixes it, I'm not sure why |
Happening today :( |
Happened to us, just like that out of the blue. Why?!? |
I just disable the dotnet use task and install directly the dotnet SDK on the server where agent is running |
My team are observing the same issue intermittently. Seems like you made a PR last time that resolved this issue. Perhaps it could be the same issue but for Net 8? Attaching replication steps below Task in pipeline
|
happened twice this week, my nightly build was affected again today |
Happened to me this morning, re-running the pipeline without any changes fixed it |
Happened to me twice this morning. It seems like the hosted agents have a lot of transient connection issues the last couple of months. |
Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: UseDotNet@2
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment
Azure Pipelines
Hosted Windows 2019 with VS2019
Issue Description
Receive the following error downloading the .NETCore SDK:
##[error]Failed to download or parse release-index.json with error: {}
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
##[error]Failed to download or parse release-index.json with error: {}
WORKAROUND (yaml configuration):
Before:
After:
The text was updated successfully, but these errors were encountered: