Rollback JSON file links are not accessible (Azure Pipeline is failing)
Description
Today, the following rollback json links are not accessible any more: https://maui.blob.core.windows.net/metadata/rollbacks/7.0.92.json https://maui.blob.core.windows.net/metadata/rollbacks/7.0.101.json https://maui.blob.core.windows.net/metadata/rollbacks/8.0.7.json
Probably, It may failing almost all links from today.
Facing below error: Workload installation failed: One or more errors occurred. (Response status code does not indicate success: 409 (Public access is not permitted on this storage account.).)
I am running below command: dotnet workload install maui-ios --from-rollback-file https://maui.blob.core.windows.net/metadata/rollbacks/7.0.92.json -- source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json --source https://api.nuget.org/v3/index.json
Suddenly today, Run above command, My Azure pipeline is faling. Even trying to open link in the browser https://maui.blob.core.windows.net/metadata/rollbacks/7.0.92.json getting the error: PublicAccessNotPermittedPublic access is not permitted on this storage account. RequestId:818ea050-201e-0061-105e-0ec3bd000000 Time:2024-09-24T08:51:35.9916411Z
Steps to Reproduce
- open link in the browser https://maui.blob.core.windows.net/metadata/rollbacks/7.0.92.json
- Getting the error: PublicAccessNotPermittedPublic access is not permitted on this storage account. RequestId:818ea050-201e-0061-105e-0ec3bd000000 Time:2024-09-24T08:51:35.9916411Z
Link to public reproduction project repository
No response
Version with bug
Nightly / CI build (Please specify exact version)
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
7.0.92
Affected platforms
iOS, Android
Affected platform versions
No response
Did you find any workaround?
No
Relevant log output
Workload installation failed: One or more errors occurred. (Response status code does not indicate success: 409 (Public access is not permitted on this storage account.).)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Closed similar issues:
- MAUI rollbacks no longer publicly available causing build to fail (#12814), similarity score: 0.85
- Rollback JSON file links are not accessible (#12772), similarity score: 0.83
- Release 7.0.92 rollback json refers to non exiting packages (#16557), similarity score: 0.74
- [Mac]Fail to install 7.0 MAUI from main branch with error "Failed to install manifest microsoft.net.sdk.ios version 16.2.36... is not found in NuGet feeds" (#13012), similarity score: 0.71
- Unable to install latest workloads in Azure Pipelines (#6983), similarity score: 0.71
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
The following links are not working as what expected in https://github.com/dotnet/maui/issues/12772, similarity score: 0.83 https://maui.blob.core.windows.net/metadata/rollbacks/7.0.92.json https://maui.blob.core.windows.net/metadata/rollbacks/7.0.101.json https://maui.blob.core.windows.net/metadata/rollbacks/8.0.7.json
the rollback files have moved github per @rmarinho https://github.com/dotnet/maui/issues/12772#issuecomment-2371091925
We need a list of the existing json files, for example I need 8.0.61
Going forward we are pointing people to use workload sets to pin your versions https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-workload-sets#pin-the-install-command
In the meanwhile you can use these public links I just updated on the releases
https://github.com/dotnet/maui/releases/download/8.0.61/8.0.61.json https://github.com/dotnet/maui/releases/download/8.0.7/8.0.7.json https://github.com/dotnet/maui/releases/download/8.0.6/8.0.6.json https://github.com/dotnet/maui/releases/download/8.0.3/8.0.3.json https://github.com/dotnet/maui/releases/download/7.0.101/7.0.101.json https://github.com/dotnet/maui/releases/download/7.0.100/7.0.100.json https://github.com/dotnet/maui/releases/download/7.0.96/7.0.96.json https://github.com/dotnet/maui/releases/download/7.0.92/7.0.92.json
dotnet workload install maui --version 8.0.3 does not work
Workload installation failed: Workload version 8.0.3 not found.
Will this not be backwards compatible with previous rollbacks then?
dotnet workload install maui --version 8.0.3does not workWorkload installation failed: Workload version 8.0.3 not found.
Will this not be backwards compatible with previous rollbacks then?
That s right is not backward compatible, you will also need a dotnet sdk net8 4XX . For older versions please use the files from the releases on GitHub
@rmarinho so if we were using dotnet workload install maui --from-rollback-file https://maui.blob.core.windows.net/metadata/rollbacks/8.0.40.json how would we do so now?
there's no https://github.com/dotnet/maui/releases/download/8.0.40/8.0.40.json
@rmarinho so if we were using
dotnet workload install maui --from-rollback-file https://maui.blob.core.windows.net/metadata/rollbacks/8.0.40.jsonhow would we do so now?there's no https://github.com/dotnet/maui/releases/download/8.0.40/8.0.40.json
Similarly we need 8.0.21, which isn't available.
@rmarinho so if we were using
dotnet workload install maui --from-rollback-file https://maui.blob.core.windows.net/metadata/rollbacks/8.0.40.jsonhow would we do so now? there's no https://github.com/dotnet/maui/releases/download/8.0.40/8.0.40.jsonSimilarly we need 8.0.21, which isn't available.
we ended up using https://github.com/dotnet/maui/releases/download/8.0.61/8.0.61.json which worked for our purposes, I'm not sure if we can simply make our own .json file and set the versions we want in there, that's all these .json files really contain anyhow, packages with specific versions. You might want to give that a shot.
Sorry, maybe I miss upload that one? But yeah you can create and use your own .json file .