Base solution for your next web application
Open Closed

Current user did not login (token can not reuse when using multiple web server - load balancer) #10768


User avatar
0
VuCA created

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!


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @vuca

    If both published apps use same values for settings "Authentication:JwtBearer" in their appsettings.json, a token must be valid for both apps. Could you check this ?

    Thanks,