Base solution for your next web application

Activities of "rajanbhayana"

please see the notes above. thats how we setup redis for cache manager.

but we get the error when loading page as per post#1 how to fix that?

sorry not getting this.

the issue is here in abp code when i debug.

var cacheItem = await _cacheManager.GetImpersonationCache().GetOrDefaultAsync(tokenId); if (cacheItem == null) { throw new UserFriendlyException(L("ImpersonationTokenErrorMessage")); }

when i check GetImpersonationCache(), it is returning ImpersonationCacheItem which is already marked as serialized. so not sure what to change here. public static ITypedCache<string, ImpersonationCacheItem> GetImpersonationCache(this ICacheManager cacheManager) { return cacheManager.GetCache<string, ImpersonationCacheItem>(ImpersonationCacheItem.CacheName); }

I thought the issue was the abp cache here is not distributed like redis but local, and sometimes when request was going to another server in load balancer where cache was not stored for this user session, we got null token in between request and moving this to redis would have solved this.

so i tired to move abp cache to redis and i am getting the error in post#1. so how to get around this?

we cant upgrade to version 1

how do we solve this error in a distributed environment without moving abp cache to redis??

500 Error! Impersonation token is invalid or expired!???

Showing 1 to 3 of 3 entries