maui icon indicating copy to clipboard operation
maui copied to clipboard

Rollback JSON file links are not accessible (Azure Pipeline is failing)

Open Kamal-Joshi111 opened this issue 2 years ago • 11 comments

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

  1. open link in the browser https://maui.blob.core.windows.net/metadata/rollbacks/7.0.92.json
  2. 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.).)

Kamal-Joshi111 avatar Sep 24 '24 09:09 Kamal-Joshi111

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:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar Sep 24 '24 09:09 github-actions[bot]

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

Kamal-Joshi111 avatar Sep 24 '24 10:09 Kamal-Joshi111

the rollback files have moved github per @rmarinho https://github.com/dotnet/maui/issues/12772#issuecomment-2371091925

zachdean avatar Sep 24 '24 12:09 zachdean

We need a list of the existing json files, for example I need 8.0.61

watsonlu avatar Sep 24 '24 15:09 watsonlu

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

rmarinho avatar Sep 24 '24 15:09 rmarinho

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?

Captnwalker1 avatar Sep 24 '24 18:09 Captnwalker1

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?

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 avatar Sep 24 '24 19:09 rmarinho

@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

ESO-ST avatar Sep 24 '24 22:09 ESO-ST

@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

Similarly we need 8.0.21, which isn't available.

jameslavery avatar Sep 26 '24 09:09 jameslavery

@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

Similarly 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.

ESO-ST avatar Sep 26 '24 12:09 ESO-ST

Sorry, maybe I miss upload that one? But yeah you can create and use your own .json file .

rmarinho avatar Sep 26 '24 23:09 rmarinho