ABP Framework version: v4.3.3 UI type: MVC DB provider: EF Core
When I build out project on Azure Devops pipeline, the job always failed. I got the error message:
Retrying 'FindPackagesByIdAsync' for source 'https://nuget.abp.io/{MY_API_KEY}/v3/package/microsoft.build.tasks.git/index.json'. Response status code does not indicate success: 403 (Forbidden).
hi
What's your
NuGet.Config
?<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="BlazoriseMyGet" value="https://www.myget.org/F/blazorise/api/v3/index.json" /> <!-- {ABP_COMMERCIAL_NUGET_SOURCE} --> </packageSources> </configuration>
Yes. The same with yours.
<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> <add key="BlazoriseMyGet" value="https://www.myget.org/F/blazorise/api/v3/index.json" /> <add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/{My API KEY}/v3/index.json" /> </packageSources> </configuration>
Can you try to remove
protocolVersion
?
I've tried and still failed.
It's so strange that when I build ten times, nine times fail and one time success. Did u block the IPs of Azure DevOps?
@ismcagdas
I re-tried and it works now.
Thanks very much for your support.
download module template application ,appsetting.js has AbpLicenseCode ,but exception
ABP Framework version: v4.4.4
UI type: MVC
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): yes
Exception message and stack trace: * [15:20:59 ERR] ABP-LIC-0020 - License code not found! Ensure that your appsettings.json has "AbpLicenseCode" key with your license code. [15:20:59 ERR] ABP-LIC-0008 - License check failed for 'Volo.Abp.Identity.Pro.HttpApi-v4.4.4.0'.
For more information, contact to license@abp.io.
[15:20:59 INF] Application is shutting down...
*** Steps to reproduce the issue**:"
1、download module template application
2、 dotnet run “identityServer" get exception
3、see appsetting.json but no AbpLicenseCode key
4、 copy AbpLicenseCode from other project but get exception
Please give some suggestion.