If you're creating a bug/problem report, please include followings:
ABP Framework version: v4.4.2
UI type: Blazor
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): yes
Exception message and stack trace:
I get an error when restore a Blazor project, this task was running complete early in the morning, but about four hours ago, doesn't run anymore. I think it's releted to a package that is not aviable anymore. => Volo.Abp.Account.Pro.Admin.Application.Contracts (4.4.2). This task was running in a docker image stored on GitLab for a devsops deployment.
The command that run is this:
dotnet restore Galac.Tickets.Blazor.csproj
In a windows os run correctly, but on a docker image (debian os) doesn't run anymore. The image used for generate is this => mcr.microsoft.com/dotnet/sdk:5.0
The complete error trace is this.
Determining projects to restore... /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.Account.Pro.Admin.Application.Contracts (>= 4.4.2) but Volo.Abp.Account.Pro.Admin.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.Account.Pro.Admin.HttpApi (>= 4.4.2) but Volo.Abp.Account.Pro.Admin.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.Account.Pro.Public.Application.Contracts (>= 4.4.2) but Volo.Abp.Account.Pro.Public.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Public.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.Account.Pro.Public.HttpApi (>= 4.4.2) but Volo.Abp.Account.Pro.Public.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Public.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.AuditLogging.Application.Contracts (>= 4.4.2) but Volo.Abp.AuditLogging.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.AuditLogging.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.AuditLogging.HttpApi (>= 4.4.2) but Volo.Abp.AuditLogging.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.AuditLogging.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Domain.Shared depends on Volo.Abp.Commercial.SuiteTemplates (>= 4.4.2) but Volo.Abp.Commercial.SuiteTemplates 4.4.2 was not found. An approximate best match of Volo.Abp.Commercial.SuiteTemplates 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.Identity.Pro.Application.Contracts (>= 4.4.2) but Volo.Abp.Identity.Pro.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.Identity.Pro.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Domain.Shared depends on Volo.Abp.Identity.Pro.Domain.Shared (>= 4.4.2) but Volo.Abp.Identity.Pro.Domain.Shared 4.4.2 was not found. An approximate best match of Volo.Abp.Identity.Pro.Domain.Shared 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.Identity.Pro.HttpApi (>= 4.4.2) but Volo.Abp.Identity.Pro.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.Identity.Pro.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.IdentityServer.Application.Contracts (>= 4.4.2) but Volo.Abp.IdentityServer.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.IdentityServer.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] Tickets.HttpApi.csproj : error NU1605: Galac.Tickets.HttpApi -> Galac.Tickets.Application.Contracts -> Volo.Abp.FeatureManagement.Application.Contracts (>= 4.4.2) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : error NU1605: Detected package downgrade: Volo.Abp.PermissionManagement.Application.Contracts from 5.0.0 to 4.4.2. Reference the package directly from the project to select a different version. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : error NU1605: Galac.Tickets.HttpApi -> Galac.Tickets.Application.Contracts -> Volo.Abp.Identity.Pro.Application.Contracts5.0). Package Volo.Abp.LeptonTheme.Management.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.IdentityServer.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.IdentityServer.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.LanguageManagement.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.LanguageManagement.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Saas.Host.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Saas.Host.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.TextTemplateManagement.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.TextTemplateManagement.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.AuditLogging.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.AuditLogging.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.Identity.Pro.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.Identity.Pro.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.Account.Pro.Admin.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.Account.Pro.Admin.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.Account.Pro.Public.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.Account.Pro.Public.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /buo.Abp.FeatureManagement.Application.Contracts from 5.0.0 to 4.4.2. Reference the package directly from the project to select a different version. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Saas.Host.Application.Contracts 5.0.0 -> Volo.Abp.FeatureManagement.Application.Contracts (>= 5.0.0) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Abp.FeatureManagement.Application.Contracts (>= 4.4.2) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Detected package downgrade: Volo.Abp.PermissionManagement.Application.Contracts from 5.0.0 to 4.4.2. Reference the package directly from the project to select a different version. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Abp.Identity.Pro.Application.Contracts 5.0.0 -> Volo.Abp.PermissionManagement.Application.Contracts (>= 5.0.0) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Abp.PermissionManagement.Application.Contracts (>= 4.4.2) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] Failed to restore /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj (in 672 ms).
If you're creating a bug/problem report, please include followings:
* 2021-09-27 15:07:52.868 -04:00 [ERR] An exception occurred while iterating over the results of a query for context type 'Galac.Tickets.EntityFrameworkCore.TicketsDbContext'.
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
---> System.ComponentModel.Win32Exception (258): The wait operation timed out.
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ClientConnectionId:9576df5a-9316-491c-8681-bb8966ab348c
Error Number:-2,State:0,Class:11
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
---> System.ComponentModel.Win32Exception (258): The wait operation timed out.
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
ClientConnectionId:9576df5a-9316-491c-8681-bb8966ab348c
Error Number:-2,State:0,Class:11
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
We publish an empty app generate with ABP Suite. The deployment of the project is on IIS. API show me Swagger page and Angular Front app is runing but after make login i got this console error:
***Access to XMLHttpRequest at 'https://api.server.com:51114/.well-known/openid-configuration' from origin 'https://front.server.com:51113' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource***.
And the error promt is this:
***An error has occurred!
http failure response for https://api.server.com:51114/api/abp/application-configuration: 0 Unknown Error***
Checkig on the API's log file i found following code:
***[ERR] Connection ID "16717361818409893977", Request ID "8000005a-0000-e800-b63f-84710c7967bb": An unhandled exception was thrown by the application.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://api.server.com:51114/.well-known/openid-configuration'.
---> System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://front.server.com:51114/.well-known/openid-configuration'.
---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host***
This is code that i have on the API
private void ConfigureAuthentication(ServiceConfigurationContext context, IConfiguration configuration)
{
context.Services.AddAuthentication()
.AddJwtBearer(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]); ;
options.Audience = "Tickets";
options.BackchannelHttpHandler = new HttpClientHandler()
{
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator
};
});
}
***Google the error, someone says it's certificate error so we recreate a new certificate, but same error.***
I created a project with ABP Suite framework 4.0.0 final relase, and i get an error when the UI on Blazor is generating. The project is running on ABP Framework 4.0.0 RC-4, and i get this error from that version Today update ABP Suite to final relase but error remain The error log is this: Message: Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Frontend.Blazor.Page.Partials.Enum_Namespaces.txt