hi
because we have a persistent blazor server connection, it's a long-standing "request" which means it holds on to DB connections. IF a transaction is in flight, until the Blazor server connection is severed, the DB is locked to other pages!
Can you share your code?
I will try to reproduce your problem in a new template project.
Thanks.
hi
You only need the code below in authserver project
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddRazorPages(options =>
{
options.Conventions.AddPageApplicationModelConvention("/Account/Login", model =>
{
model.Filters.Add(new IgnoreAntiforgeryTokenAttribute());
});
});
}
and code below in your web and web.public
var cookieLifetime = TimeSpan.FromMinutes(60);
options.RemoteAuthenticationTimeout = cookieLifetime;
options.CorrelationCookie.Expiration = cookieLifetime;
options.NonceCookie.Expiration = cookieLifetime;
options.ProtocolValidator.NonceLifetime = cookieLifetime;
Thanks.
hi
The Leptonx >= 5.0.3 has fixed it. Can you try to upgrade the packages?
Thanks.
hi
Do you use Redis? If so, please clear the cache.
And using T with NULL is no problem. You can test again
| Id | Name | Value | ProviderName | ProviderKey | |--------------------------------------|----------------------------------------|------|--------------|----------------------------------------| | ED02A171-57B5-1022-232C-3A1F587E0589 | Abp.Identity.Password.RequiredLength | 8 | T | 483ea8fa-cle8-edcb-7a96-3a1f2090c101 | | ED02A171-57B5-1022-232C-3A1F587E0589 | Abp.Identity.Password.RequiredLength | 8 | T | Null |
Thanks.
hi
Do you have multiple tenants?
Please share the setting values in AbpSettings tables.
Thanks.
hi
Can you share a high-quality screenshot?
What is your ABP version and UI page?
Thanks.
hi
The latest CLI is targeted at net10.0. You can consider installing the NET 10.0 SDK.
https://www.nuget.org/packages/Volo.Abp.Studio.Cli
Or you can try to create a globaljson file
> cd TestFolder
TestFolder > dotnet new globaljson --sdk-version 8.0.401
TestFolder > dotnet --version
8.0.401
TestFolder > dotnet tool install --global Volo.Abp.Studio.Cli --version 2.1.9