Base solution for your next web application

Activities of "VuCA"

Prerequisites

  • What is your product version? => AspNet Zero V5.4.0.0
  • What is your product type (Angular or MVC)? => MVC
  • What is product framework type (.net framework or .net core)? => .Net
  • What is ABP Framework version? => 3.6.2.0

Issue

Web Application can't use when using load balancer (A10) not using persit source mode or using multiple worker on application pool (IIS). There throw "Current user did not login" error for the end users. We using redis cache backplane to caching and for signalR.

Note: I follow this article to optimize performace but facing the same issue (current user did not login).

https://medium.com/@sanjay.rajak/does-api-response-fast-if-maximum-worker-processes-is-more-than-1-4b877af6b951

Any help would be much appreciated.

Thanks!

Well, I check log but cannot see any issue critical except so many error request timeout from redis get AbpUserSettingsCache. I check resource server redis this normal, network application to redis normal. Timeout performing GET n:AbpUserSettingsCache this has effect?

ERROR StackExchange.Redis.RedisTimeoutException: Timeout performing GET n:AbpUserSettingsCache,c:15438@1, inst: 3, mgr: ProcessReadQueue, err: never, queue: 6, qu: 0, qs: 6, qc: 0, wr: 0, wq: 0, in: 65536, ar: 1, clientName: DC-IIS-CENTER13, serverEndpoint: ip-redis:6379, keyHashSlot: 9847, IOCP: (Busy=1,Free=999,Min=1000,Max=1000), WORKER: (Busy=90,Free=32677,Min=1000,Max=32767) (Please take a look at this article for some common client-side issues that can cause timeouts: http://stackexchange.github.io/StackExchange.Redis/Timeouts) at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) at StackExchange.Redis.RedisDatabase.StringGet(RedisKey key, CommandFlags flags) at Abp.Runtime.Caching.Redis.AbpRedisCache.GetOrDefault(String key) at Abp.Runtime.Caching.CacheBase.GetOrDefaultAsync(String key) at Abp.Runtime.Caching.CacheBase.<GetAsync>d__19.MoveNext() StackExchange.Redis.RedisTimeoutException: Timeout performing GET n:AbpUserSettingsCache,c:15438@1, inst: 3, mgr: ProcessReadQueue, err: never, queue: 6, qu: 0, qs: 6, qc: 0, wr: 0, wq: 0, in: 65536, ar: 1, clientName: DC-IIS-CENTER13, serverEndpoint: ip-redis:6379, keyHashSlot: 9847, IOCP: (Busy=1,Free=999,Min=1000,Max=1000), WORKER: (Busy=90,Free=32677,Min=1000,Max=32767) (Please take a look at this article for some common client-side issues that can cause timeouts: http://stackexchange.github.io/StackExchange.Redis/Timeouts) at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) at StackExchange.Redis.RedisDatabase.StringGet(RedisKey key, CommandFlags flags) at Abp.Runtime.Caching.Redis.AbpRedisCache.GetOrDefault(String key) at Abp.Runtime.Caching.CacheBase.GetOrDefaultAsync(String key) at Abp.Runtime.Caching.CacheBase.<GetAsync>d__19.MoveNext()

ERROR StackExchange.Redis.RedisTimeoutException: Timeout performing GET n:AbpTenantSettingsCache,c:1, inst: 0, mgr: ExecuteSelect, err: never, queue: 13, qu: 13, qs: 0, qc: 0, wr: 0, wq: 1, in: 0, ar: 1, clientName: DC-IIS-CENTER13, serverEndpoint: Unspecified/ip-redis:6379, keyHashSlot: 1962, IOCP: (Busy=1,Free=999,Min=800,Max=1000), WORKER: (Busy=65,Free=32702,Min=800,Max=32767) (Please take a look at this article for some common client-side issues that can cause timeouts: http://stackexchange.github.io/StackExchange.Redis/Timeouts) at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) at StackExchange.Redis.RedisDatabase.StringGet(RedisKey key, CommandFlags flags) at Abp.Runtime.Caching.Redis.AbpRedisCache.GetOrDefault(String key) at Abp.Runtime.Caching.CacheBase.GetOrDefaultAsync(String key) at Abp.Runtime.Caching.CacheBase.<GetAsync>d__19.MoveNext() StackExchange.Redis.RedisTimeoutException: Timeout performing GET n:AbpTenantSettingsCache,c:1, inst: 0, mgr: ExecuteSelect, err: never, queue: 13, qu: 13, qs: 0, qc: 0, wr: 0, wq: 1, in: 0, ar: 1, clientName: DC-IIS-CENTER13, serverEndpoint: Unspecified/ip-redis:6379, keyHashSlot: 1962, IOCP: (Busy=1,Free=999,Min=800,Max=1000), WORKER: (Busy=65,Free=32702,Min=800,Max=32767) (Please take a look at this article for some common client-side issues that can cause timeouts: http://stackexchange.github.io/StackExchange.Redis/Timeouts) at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) at StackExchange.Redis.RedisDatabase.StringGet(RedisKey key, CommandFlags flags) at Abp.Runtime.Caching.Redis.AbpRedisCache.GetOrDefault(String key) at Abp.Runtime.Caching.CacheBase.GetOrDefaultAsync(String key) at Abp.Runtime.Caching.CacheBase.<GetAsync>d__19.MoveNext()

Now, I have issues login with ADFS SSO. After login adfs success redirect ExternalLoginCallback /Account/ExternalLoginCallback?ReturnUrl=%2F&tenancyName=Default. Sometime I have been received error code 500 Internal Server Error and view request timeout (image attachment)

I check AbpUserLoginAttempts table (after step 3) => database has record user login with Result = 1 (Success). I try mode incognito and another browser but received error same that. When restart pool login normal. How can check and resolve issue?

Hi @cmthomps,

We use asp.net zero (version 5.4) with loadbalancer A10 - but only use persit source mode only. Can we use without persit source? They are

Thanks!

Is the enhance of @advell is apply. I still have a issuess whit GetAll() too. When increase number of connection (concurrent user) => It extreamly slowly. more than 3 minute even 5 minute

  • Info: Azure host
  • Aspnet zero: 8.5.0.0

Dear Asp.net zero Support,

I deploy application to azure app service => Log is not generate on App_Data/Logs and D:\home\logfiles also. I also reference to issue on link bellow but it do not work.

https://stackoverflow.com/questions/54177080/log4net-configuration-is-not-working-in-production-doe-azure-web-services

Please check and let me know how to do. Thanks!

Hello,

I want to log some info: client ip, current user => I configed and it work with .net framework project but i does't work with .net core project.

%identity => user name %aspnet-request{REMOTE_ADDR} => client ip

What properties are the same with .net core?

Thanks!

I checked that must turn on IsPhoneNumberConfirm flag => Resolve

Hello,

I'm using Aspnet core + agular version 8.5.0 and enable two factor login - using SMS like setting bellow but It doesn't work. I just follow document at https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Two-Factor-Authentication#sms-verification

Please check and help me slove this issue! Thanks!

Setting:

My setting form:

<cite>BBakerMMC: </cite> They didnt support it because it wasnt available initially. There is no reason they cant support it now, its been 2.0 for a couple of months.

<a class="postlink" href="https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.WsFederation">https://www.nuget.org/packages/Microsof ... Federation</a>

<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/307">https://github.com/aspnetzero/aspnet-ze ... issues/307</a>

You can track above, I bumped the post for you.

Thanks BBakerMMC,

Dear Asp.net zero support,

Please implement this in ASP.Net core & JQuery project as soon as possible. Thanks!

Showing 1 to 10 of 41 entries