Hello, when I click on the related user's session and revoke the account, it takes some time. How can we adjust this cache timeout issue?
- ABP Framework version: v8.2.3
- UI Type: MVC
- Database System: EF Core (Oracle)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes seperated
- Exception message and full stack trace:
- Steps to reproduce the issue:
7 Answer(s)
-
0
hi
it takes some time.
What do you mean by this? Can you explain it in detail?
Thanks.
-
0
When we press the revoke button for the relevant user's session from the admin panel, it takes up to 1-2 minute for the user to be logged out.
-
0
hi
it takes up to 1-2 minute for the user to be logged out.
What is the UI type?
If it is mvc, can you share the content of the csproj file of this project?
-
0
we are using LeptonX
<Project Sdk="Microsoft.NET.Sdk.Web"> <Import Project="..\..\common.props" /> <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <Nullable>enable</Nullable> <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel> <RootNamespace>MyBankStore.Web</RootNamespace> <AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType> <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish> <PreserveCompilationReferences>true</PreserveCompilationReferences> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.AspNetCore.SignalR.Common" Version="8.0.4" /> <PackageReference Include="Serilog.AspNetCore" Version="8.0.0" /> <PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" /> <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="8.0.1" /> <PackageReference Include="DistributedLock.Redis" Version="1.0.2" /> <PackageReference Include="System.Private.ServiceModel" Version="4.10.3" /> <PackageReference Include="Volo.Abp.AspNetCore.SignalR" Version="8.2.2" /> </ItemGroup> <ItemGroup> <PackageReference Include="Volo.Abp.Autofac" Version="8.2.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="8.2.2" /> <PackageReference Include="Volo.Abp.DistributedLocking" Version="8.2.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.Client" Version="8.2.2" /> <PackageReference Include="Volo.Abp.EventBus.RabbitMQ" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Http.Client.IdentityModel.Web" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Http.Client.Web" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="8.2.2" /> <PackageReference Include="Volo.Abp.FeatureManagement.Web" Version="8.2.2" /> <PackageReference Include="Volo.Abp.AuditLogging.Web" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Identity.Pro.Web" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Web" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.Impersonation" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.Shared" Version="8.2.2" /> <PackageReference Include="Volo.Abp.OpenIddict.Pro.Web" Version="8.2.2" /> <PackageReference Include="Volo.Abp.LanguageManagement.Web" Version="8.2.2" /> <PackageReference Include="Volo.Saas.Host.Web" Version="8.2.2" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Web" Version="8.2.2" /> <PackageReference Include="Volo.Abp.Gdpr.Web" Version="8.2.2" /> <ProjectReference Include="..\BlaBla.HttpApi.Client\BlaBla.HttpApi.Client.csproj" /> <ProjectReference Include="..\BlaBla.HttpApi\BlaBla.HttpApi.csproj" /> </ItemGroup> <ItemGroup> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="3.2.0" /> </ItemGroup> <ItemGroup> <Compile Remove="Logs\**" /> <Compile Remove="Pages\Deneme\**" /> <Content Remove="Logs\**" /> <Content Remove="Pages\Deneme\**" /> <EmbeddedResource Remove="Logs\**" /> <EmbeddedResource Remove="Pages\Deneme\**" /> <None Remove="Logs\**" /> <None Remove="Pages\Deneme\**" /> </ItemGroup> <ItemGroup> <Content Include="Pages\**\*.js"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Pages\**\*.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup> <ItemGroup> <None Remove="Themes\LeptonX\Global\side-menu\css\dark.css" /> <None Remove="Themes\LeptonX\Global\side-menu\css\dim.css" /> <None Remove="Themes\LeptonX\Global\side-menu\css\light.css" /> </ItemGroup> <ItemGroup> <Content Include="Themes\LeptonX\Global\side-menu\css\dark.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Themes\LeptonX\Global\side-menu\css\dim.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Themes\LeptonX\Global\side-menu\css\light.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup> </Project>
-
0
hi
There should be a
CheckTokenExpiration
method in you Web module.You can pass the
validationInterval
to it. The default value is1 minute.
https://github.com/abpframework/abp/blob/net9/framework/src/Volo.Abp.AspNetCore/Microsoft/Extensions/DependencyInjection/CookieAuthenticationOptionsExtensions.cs#L18
-
0
So, if we set this value to a duration like 5-10 seconds, what kind of load would it put on the system?
thanks
-
0
Usually, when you request the API, MVC will log out automatically.
If not, can you share Debug logs for API ,WEB and AuthServer?
Thanks!