Skip to content
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

Restore fails on linux for Aspire.Hosting.Orchestration.linux-x64 #6757

Open
1 task done
GabschD opened this issue Nov 21, 2024 · 1 comment
Open
1 task done

Restore fails on linux for Aspire.Hosting.Orchestration.linux-x64 #6757

GabschD opened this issue Nov 21, 2024 · 1 comment

Comments

@GabschD
Copy link

GabschD commented Nov 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I'm trying to build an aspire project in an Azure DevOps pipeline (self hosted on a VMSS with ubuntu 22-04) and it fails on restore.
I found a similar issue, but it mentions 8.2 so maybe its a diffferent one.

Failed to download package 'Aspire.Hosting.Orchestration.linux-x64.9.0.0' from 'https://api.nuget.org/v3-flatcontainer/aspire.hosting.orchestration.linux-x64/9.0.0/aspire.hosting.orchestration.linux-x64.9.0.0.nupkg'.
         The download of 'https://api.nuget.org/v3-flatcontainer/aspire.hosting.orchestration.linux-x64/9.0.0/aspire.hosting.orchestration.linux-x64.9.0.0.nupkg' timed out because no data was received for 60000ms.
           The operation has timed out.

As those links are actually empty.

Csproj for reference:

<Project Sdk="Microsoft.NET.Sdk">
  <Sdk Name="Aspire.AppHost.Sdk" Version="9.0.0" />
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net9.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <IsAspireHost>true</IsAspireHost>
    <UserSecretsId>...</UserSecretsId>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="....Service.csproj" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Aspire.Hosting.AppHost" Version="9.0.0" />
  </ItemGroup>
</Project>

Expected Behavior

Packages get restored without issues

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version info

dotnet 9.0.0

Anything else?

No response

@GabschD
Copy link
Author

GabschD commented Nov 21, 2024

I also found #5486 and the workaround seams to work. Only the issue is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant