"tony.chen@sjrb.ca" की गतिविधियाँ

Hello Ming, This is the problem I am trying to solving. When first time opens the page after every new deployment, I can't get stylesheet (404). I always need to refresh the page.

First Time:

Second Time after refreshed page

  • ABP Framework version: v8.1.2
  • UI Type: MVC
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC): yes
  • Exception message and full stack trace: 404 on loading css and js
  • Steps to reproduce the issue: put round robin on routing and deploy 2+ mvc web service instances

The issue is lazy bundling on script and css. Each instance has it's own unique hash key. (ex: /__bundles/LeptonX.Global.8923ECD9CC3A022B71E966D19950185C.js?_v=638515137047135053). When we have multiple instances with round robin setup in loading balance, users get 404 response on loading script and css source files.

Is there any way to pre-generate the source file during build stage? so application doesn't do bundling on the fly and avoid inconsistent hash keys across all instances?

I am going to create private ticket and close this one.

  • ABP Framework version: v7.0.2
  • UI type: Angular
  • DB provider: EF Core
  • Identity Server Separated (Angular): yes
  • Exception message and stack trace: Get this error when click logout button in angular site error:invalid_token error_description:The signing key associated to the specified token was not found. error_uri:https://documentation.openiddict.com/errors/ID2090
  • Steps to reproduce the issue:" login then logout(/connect/logout?id_token_hint=...)

We are getting invalid_token error after click logout button from Angular site when openiddict auth service running in load balance mode. (no issue if we only run one auth instance) Is there any specific setting has to be done for supporting Angular? The MVC site running inside of auth service doesn't have this issue.(maybe because of using cookie)

//we are using a shared symmetrickey and protection-key from redis

PreConfigure<OpenIddictServerBuilder>(builder =>
{
   builder.AddSigningKey(new SymmetricSecurityKey(...));
});
14 प्रविष्टियों में 11 से 14 दिखा रहा है
Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11