Starts in:
2 DAYS
20 HRS
26 MIN
7 SEC
Starts in:
2 D
20 H
26 M
7 S
Open Closed

Conflict 409 on package download #2476


User avatar
1
boltth created
  • ABP Framework version: v5.1.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

We're building a docker build process on Azure Devops to build the HttpApi.Host of our ABP based application. It constantly fails with a couple of errors relating to some ABP-packages.

2022-01-25T08:49:01.8942948Z /app/aspnet-core/src/[removed].Domain.Shared/[removed]DomainSharedModule.cs(6,16): error CS0234: The type or namespace name 'LanguageManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/app/aspnet-core/src/[removed].Domain.Shared/[removed].Domain.Shared.csproj] 2022-01-25T08:49:01.8945969Z /app/aspnet-core/src/[removed].Domain.Shared/[removed]DomainSharedModule.cs(14,16): error CS0234: The type or namespace name 'TextTemplateManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/app/aspnet-core/src/[removed].Domain.Shared/[removed].Domain.Shared.csproj] 2022-01-25T08:49:01.8951286Z /app/aspnet-core/src/[removed].Domain.Shared/[removed]DomainSharedModule.cs(16,12): error CS0234: The type or namespace name 'Saas' does not exist in the namespace 'Volo' (are you missing an assembly reference?) [/app/aspnet-core/src/[removed].Domain.Shared/[removed].Domain.Shared.csproj] 2022-01-25T08:49:01.8953298Z /app/aspnet-core/src/[removed].Domain.Shared/[removed]DomainSharedModule.cs(26,16): error CS0246: The type or namespace name 'AbpIdentityProDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/[removed].Domain.Shared/[removed].Domain.Shared.csproj] 2022-01-25T08:49:01.8955157Z /app/aspnet-core/src/[removed].Domain.Shared/[removed]DomainSharedModule.cs(29,16): error CS0246: The type or namespace name 'LanguageManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/[removed].Domain.Shared/[removed].Domain.Shared.csproj] 2022-01-25T08:49:01.8957108Z /app/aspnet-core/src/[removed].Domain.Shared/[removed]DomainSharedModule.cs(30,16): error CS0246: The type or namespace name 'SaasDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/[removed].Domain.Shared/[removed].Domain.Shared.csproj] 2022-01-25T08:49:01.8958773Z /app/aspnet-core/src/[removed].Domain.Shared/[removed]DomainSharedModule.cs(31,16): error CS0246: The type or namespace name 'TextTemplateManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/[removed].Domain.Shared/[removed].Domain.Shared.csproj] 202

I recognized the following error in the Nuget downloads from the private ABP-Nuget-feed. Failed to download package 'Volo.Abp.LanguageManagement.Domain.Shared.5.1.2' from 'https://nuget.abp.io/[removed]/v3/package/volo.abp.languagemanagement.domain.shared/5.1.2/volo.abp.languagemanagement.domain.shared.5.1.2.nupkg'. 2022-01-25T08:48:12.8750945Z Response status code does not indicate success: 409 (Conflict).

The same happens for the following packages as well:

  • Volo.Abp.TextTemplateManagement.Domain.Shared.5.1.2
  • Volo.Abp.Account.Pro.Public.Application.5.1.2
  • Volo.Abp.Identity.Pro.Domain.5.1.2
  • Volo.Saas.Host.Application.Contracts.5.1.2
  • Volo.Abp.LanguageManagement.Domain.Shared.5.1.2
  • Volo.Payment.Domain.5.1.2
  • Volo.Payment.EntityFrameworkCore.5.1.2

There's another, but closed, discussion about the same issue a couple of months ago. So this might be connected to the same issue. https://support.abp.io/QA/Questions/1809/Abp-Commercial-Nuget-docker--409-Conflict

Thank you for your help!


8 Answer(s)
  • User Avatar
    0
    MichelZ created

    Interesting. We do see issues as well currently involving some of these packages, but our MO is a bit different. We get

    #131 15.06 /usr/share/dotnet/sdk/6.0.101/Microsoft.Common.CurrentVersion.targets(2304,5): warning MSB3106: Assembly strong name "/root/.nuget/packages/volo.abp.commercial.core/5.1.2/lib/netstandard2.0/Volo.Abp.Commercial.Core.dll" is either a path which could not be found or it is a full assembly name which is badly formed. If it is a full assembly name it may contain characters that need to be escaped with backslash(\). Those characters are Equals(=), Comma(,), Quote("), Apostrophe('), Backslash(\). [/src/src/company.product.Domain.Shared/company.product.Domain.Shared.csproj]

    however it might as well be because the packages can't be downloaded properly...

  • User Avatar
    0
    boltth created

    Changing the build-image in the docker-file from a linux (mcr.microsoft.com/dotnet/sdk) to windows (mcr.microsoft.com/dotnet/sdk:6.0.101-windowsservercore-ltsc2022) made us able to build successfully. We didn't change anything else. Interesting.

    But that's not really a good solution because the build process now tooks nearly half an hour compared to 5 minutes using linux.

    I bet it has something to do with either file encodings or maybe path formats (slash vs backslash) that are different. Maybe something similar as well??

  • User Avatar
    0
    AlderCove created

    related badly formed path issue for linux I think:

    https://support.abp.io/QA/Questions/2209/Bugs--Issues-v5X#answer-9ad254be-2d53-a4ca-0fe9-3a0191e0d611

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    We found some of the 5.1.2 packages has some directory separator problem and we'll fix it very soon.

    Interesting. We do see issues as well currently involving some of these packages, but our MO is a bit different. We get

    @MichelZ, I am guessing you are using mac. Seems like the same problem with different error message.

  • User Avatar
    0
    MichelZ created

    We found some of the 5.1.2 packages has some directory separator problem and we'll fix it very soon.

    Interesting. We do see issues as well currently involving some of these packages, but our MO is a bit different. We get

    @MichelZ, I am guessing you are using mac. Seems like the same problem with different error message.

    We are using docker, so it's linux. But yes, seems like the same problem.

  • User Avatar
    0
    h4r7w3l1@pm.me created

    Solved this problem. In Dockerfile skip dotnet restore in blazer and identify. Its works for me

    Before i have

    After

    using FROM mcr.microsoft.com/dotnet/aspnet:6.0-focal AS base

  • User Avatar
    0
    boltth created

    The problem still persists...

    2022-01-26T23:18:37.4690391Z Volo.Abp.LeptonTheme.Management.Domain.Shared -> /app/aspnet-core/modules/Volo.LeptonTheme/src/Volo.Abp.LeptonTheme.Management.Domain.Shared/bin/Release/netstandard2.0/Volo.Abp.LeptonTheme.Management.Domain.Shared.dll 2022-01-26T23:18:37.5106135Z XYZ.XYZ.Common -> /app/aspnet-core/src/XYZ.XYZ.Common/bin/Release/netstandard2.0/XYZ.XYZ.Common.dll 2022-01-26T23:18:37.7143964Z Volo.Abp.LeptonTheme.Management.Application.Contracts -> /app/aspnet-core/modules/Volo.LeptonTheme/src/Volo.Abp.LeptonTheme.Management.Application.Contracts/bin/Release/netstandard2.0/Volo.Abp.LeptonTheme.Management.Application.Contracts.dll 2022-01-26T23:18:38.0679529Z Volo.Abp.LeptonTheme.Management.Domain -> /app/aspnet-core/modules/Volo.LeptonTheme/src/Volo.Abp.LeptonTheme.Management.Domain/bin/Release/netstandard2.0/Volo.Abp.LeptonTheme.Management.Domain.dll 2022-01-26T23:18:38.3700697Z Volo.Abp.LeptonTheme.Management.Application -> /app/aspnet-core/modules/Volo.LeptonTheme/src/Volo.Abp.LeptonTheme.Management.Application/bin/Release/netstandard2.0/Volo.Abp.LeptonTheme.Management.Application.dll 2022-01-26T23:18:38.6845132Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(6,16): error CS0234: The type or namespace name 'LanguageManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:38.6846968Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(14,16): error CS0234: The type or namespace name 'TextTemplateManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:38.6856973Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(16,12): error CS0234: The type or namespace name 'Saas' does not exist in the namespace 'Volo' (are you missing an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:38.7170968Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(26,16): error CS0246: The type or namespace name 'AbpIdentityProDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:38.7184791Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(29,16): error CS0246: The type or namespace name 'LanguageManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:38.7195574Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(30,16): error CS0246: The type or namespace name 'SaasDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:38.7216132Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(31,16): error CS0246: The type or namespace name 'TextTemplateManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:39.9606895Z Volo.Abp.LeptonTheme.Management.HttpApi -> /app/aspnet-core/modules/Volo.LeptonTheme/src/Volo.Abp.LeptonTheme.Management.HttpApi/bin/Release/net6.0/Volo.Abp.LeptonTheme.Management.HttpApi.dll 2022-01-26T23:18:40.0282530Z 2022-01-26T23:18:40.0285998Z Build FAILED. 2022-01-26T23:18:40.0288715Z 2022-01-26T23:18:40.0296948Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(6,16): error CS0234: The type or namespace name 'LanguageManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:40.0300911Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(14,16): error CS0234: The type or namespace name 'TextTemplateManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:40.0305433Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(16,12): error CS0234: The type or namespace name 'Saas' does not exist in the namespace 'Volo' (are you missing an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:40.0309772Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(26,16): error CS0246: The type or namespace name 'AbpIdentityProDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:40.0321206Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(29,16): error CS0246: The type or namespace name 'LanguageManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:40.0324812Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(30,16): error CS0246: The type or namespace name 'SaasDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:40.0337835Z /app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XyzDomainSharedModule.cs(31,16): error CS0246: The type or namespace name 'TextTemplateManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/app/aspnet-core/src/XYZ.XYZ.Domain.Shared/XYZ.XYZ.Domain.Shared.csproj] 2022-01-26T23:18:40.0338754Z 0 Warning(s) 2022-01-26T23:18:40.0339057Z 7 Error(s)

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Version 5.1.3 is live now and it should fix the problem.

    I will close this issue and redirect to issue#2459 since they are same.

    @boltth I have refunded your question. Please continue under issue#2459 if you still get errors.

    Thanks for reporting!

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06