Thanks @sinan
hi
Sort the empty list with Redis.
2024-01-27 15:08:39.282 2024-01-27 15:08:39.393 =111ms
2024-01-27 15:08:39.282 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen
2024-01-27 15:08:39.288 +08:00 [DBG] Found in the cache: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen
2024-01-27 15:08:39.288 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AnimaliQWeb.Optionen
2024-01-27 15:08:39.289 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.289 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:AnimaliQWeb.Optionen
2024-01-27 15:08:39.290 +08:00 [DBG] Found in the cache: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.290 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.294 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.340 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.341 +08:00 [DBG] Found in the cache: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.341 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.341 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.392 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.393 +08:00 [DBG] Found in the cache: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.393 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:08:39.393 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
Sort the empty list without Redis(AbpCachingStackExchangeRedisModule)
2024-01-27 15:11:12.644 2024-01-27 15:11:12.673 = 29ms
2024-01-27 15:11:12.644 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen
2024-01-27 15:11:12.644 +08:00 [DBG] Found in the cache: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen
2024-01-27 15:11:12.644 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AnimaliQWeb.Optionen
2024-01-27 15:11:12.644 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:AnimaliQWeb.Optionen
2024-01-27 15:11:12.648 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.648 +08:00 [DBG] Found in the cache: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.648 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.648 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.671 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.671 +08:00 [DBG] Found in the cache: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.671 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.671 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.673 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.673 +08:00 [DBG] Found in the cache: pn:U,pk:e9628ef3-fecd-f61c-a809-3a105bde3d60,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.673 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
2024-01-27 15:11:12.673 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:AnimaliQWeb.Optionen.Create
hi
Can you share your test code? I will test it locally.
Thanks.
liming.ma@volosoft.com
hi
What are the time results when you run the application locally with local Redis?
Is this the result?
4 seconds with Redis 3 seconds without Redis.
ok
Please try to remove the below code
csproj: <ProjectReference Include="..\..\..\..\..\account\src\Volo.Abp.Account.Pro.Public.Web.OpenIddict\Volo.Abp.Account.Pro.Public.Web.OpenIddict.csproj" />
cs: AbpAccountPublicWebOpenIddictModule
Add a new class.
public class AccountController : ChallengeAccountController
{
}
hi
From the log, you can see that Redis does not have too many requests, so it may be that a single request from Redis took too long.
These two logs are 8 seconds apart. What happened?
2024-01-26 09:17:40.008 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create
2024-01-26 09:17:48.565 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create
hi
Angular will only log out the authserverA, this is by design. you can let angular open an authserverB page, and this page will log out authserverB.
hi
What about other's requests? or only health-status have this error
hi
You need to replace IIdentityDbContext with YourDbcontext to relationship with OrganizationUnit
You are using Identity and Identity Pro at same time. Please use Identity Pro instead of Identity
https://github.com/HaydenFerries/OrgUnitTest/pull/1
https://github.com/HaydenFerries/OrgUnitTest/blob/e1126389078fa9a79f5b1aa2ce69065f7307c415/src/OrgUnitTest.EntityFrameworkCore/EntityFrameworkCore/OrgUnitTestEntityFrameworkCoreModule.cs#L28
https://github.com/HaydenFerries/OrgUnitTest/blob/e1126389078fa9a79f5b1aa2ce69065f7307c415/src/OrgUnitTest.EntityFrameworkCore/EntityFrameworkCore/OrgUnitTestDbContextModelCreatingExtensions.cs#L16
https://github.com/HaydenFerries/OrgUnitTest/blob/e1126389078fa9a79f5b1aa2ce69065f7307c415/src/OrgUnitTest.EntityFrameworkCore/EntityFrameworkCore/IOrgUnitTestDbContext.cs#L11
https://github.com/HaydenFerries/OrgUnitTest/blob/e1126389078fa9a79f5b1aa2ce69065f7307c415/src/OrgUnitTest.EntityFrameworkCore/EntityFrameworkCore/OrgUnitTestDbContext.cs#L15-L22