abp icon indicating copy to clipboard operation
abp copied to clipboard

BusinessException: Tenant not found!

Open aelhadi opened this issue 6 years ago • 6 comments

ABP Framework version 3.2 UI Blazor

BusinessException: Tenant not found!

Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass5_1+<b__1>d.MoveNext() Microsoft.AspNetCore.Builder.ApplicationBuilderAbpJwtTokenMiddlewareExtension+<>c__DisplayClass0_0+<b__0>d.MoveNext() Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass5_1+<b__1>d.MoveNext() Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass5_1+<b__1>d.MoveNext() Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

aelhadi avatar Oct 02 '20 10:10 aelhadi

Hi @aelhadi,

How do you get this error, can you explain more? So I can try to reproduce.

cotur avatar Oct 03 '20 00:10 cotur

I raise similar #5691

274188A avatar Oct 03 '20 03:10 274188A

Exactly as described in #5691.

aelhadi avatar Oct 03 '20 04:10 aelhadi

Clearing browser cache will solve the problem.

aelhadi avatar Oct 03 '20 09:10 aelhadi

Same as here clearing the cache solved it but when i use ABP i encounter so many cache bugs. Do you have any suggestions to prevent these kinda bugs ?

muzoaydo avatar Mar 11 '22 01:03 muzoaydo

i encounter so many cache bugs.

Can you give us an example?

maliming avatar Mar 11 '22 01:03 maliming