-
ABP Framework version: v9.0.2
-
UI Type: Angular / MVC
-
Database System: EF Core ( PostgreSQL, )
-
Tiered (for MVC) or Auth Server Separated (for Angular): yes/
Hi,
I upgraded my identity project to abp 9.0.2, but I get this error when running the project. I was previously using version 7.1.1 and this error did not exist. How can I solve it?
Error message and installed nuget packages:
Logs:
2024-12-19 17:13:03.417 +03:00 [FTL] Host terminated unexpectedly!
System.TypeLoadException: Could not load type 'Volo.Abp.MultiTenancy.ICurrentTenant' from assembly 'Volo.Abp.MultiTenancy, Version=9.0.2.0, Culture=neutral, PublicKeyToken=null'.
at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|21_0()
at System.Reflection.RuntimeConstructorInfo.GetParametersAsSpan()
at System.Reflection.RuntimeConstructorInfo.GetParameters()
at Autofac.Extensions.DependencyInjection.AutofacRegistration.AddFromKeyedServiceParameterMiddleware(Object sender, ComponentRegisteredEventArgs e)
at Autofac.Core.Registration.ComponentRegistryBuilder.OnRegistered(Object sender, IComponentRegistration e)
at Autofac.Core.Registration.DefaultRegisteredServicesTracker.AddRegistration(IComponentRegistration registration, Boolean preserveDefaults, Boolean originatedFromDynamicSource)
at Autofac.Core.Registration.ComponentRegistryBuilder.Register(IComponentRegistration registration, Boolean preserveDefaults)
at Autofac.Builder.RegistrationBuilder.RegisterSingleComponent[TLimit,TActivatorData,TSingleRegistrationStyle](IComponentRegistryBuilder cr, IRegistrationBuilder`3 builder)
at Autofac.RegistrationExtensions.<>c__DisplayClass40_0.b__0(IComponentRegistryBuilder cr)
at Autofac.ContainerBuilder.Build(IComponentRegistryBuilder componentRegistry, Boolean excludeDefaultModules)
at Autofac.ContainerBuilder.Build(ContainerBuildOptions options)
at Volo.Abp.Autofac.AbpAutofacServiceProviderFactory.CreateServiceProvider(ContainerBuilder containerBuilder)
at Microsoft.Extensions.Hosting.HostApplicationBuilder.Build()
at Microsoft.AspNetCore.Builder.WebApplicationBuilder.Build()
at serender.IdentityService.Program.Main(String[] args) in
18 Answer(s)
-
0
Hi,
Could not load type 'Volo.Abp.MultiTenancy.ICurrentTenant' from assembly 'Volo.Abp.MultiTenancy, Version=9.0.2.0
I guess your project uses different ABP versions
You can check all package versions and dependency relationships in the
project.assets.json
file -
0
Thanks for your answer Liang, now the project is opening. But the error has changed to another type. I am doing remote service via gateway using MyMvcCachedApplicationConfigurationClient. The API that does remote service has abp9 version and Identity service now works on abp9. When I log in with tenant, I get the following error. Can you support me for this?
The error occurs while the GetAsync method is returning.
` [ExposeServices(typeof(ICachedApplicationConfigurationClient))]
public class MyMvcCachedApplicationConfigurationClient : ICachedApplicationConfigurationClient, ITransientDependency
{
protected IHttpContextAccessor HttpContextAccessor { get; }
protected AbpApplicationConfigurationClientProxy ApplicationConfigurationAppService { get; }
protected AbpApplicationLocalizationClientProxy ApplicationLocalizationClientProxy { get; }
protected ICurrentUser CurrentUser { get; }
protected IDistributedCache Cache { get; }public MyMvcCachedApplicationConfigurationClient( IDistributedCache cache, AbpApplicationConfigurationClientProxy applicationConfigurationAppService, ICurrentUser currentUser, IHttpContextAccessor httpContextAccessor, AbpApplicationLocalizationClientProxy applicationLocalizationClientProxy) { ApplicationConfigurationAppService = applicationConfigurationAppService; CurrentUser = currentUser; HttpContextAccessor = httpContextAccessor; ApplicationLocalizationClientProxy = applicationLocalizationClientProxy; Cache = cache; } public async Task GetAsync() { var cacheKey = CreateCacheKey(); var httpContext = HttpContextAccessor?.HttpContext; if (httpContext != null && httpContext.Items[cacheKey] is ApplicationConfigurationDto configuration) { return configuration; } configuration = await Cache.GetOrAddAsync( cacheKey, async () => await GetRemoteConfigurationAsync(), () => new DistributedCacheEntryOptions { AbsoluteExpirationRelativeToNow = TimeSpan.FromSeconds(5) //TODO: Should be configurable. } ); if (httpContext != null) { httpContext.Items[cacheKey] = configuration; } return configuration; } private async Task GetRemoteConfigurationAsync() { var config = await ApplicationConfigurationAppService.GetAsync( new ApplicationConfigurationRequestOptions { IncludeLocalizationResources = false } ); return config; } public ApplicationConfigurationDto Get() { var cacheKey = CreateCacheKey(); var httpContext = HttpContextAccessor?.HttpContext; if (httpContext != null && httpContext.Items[cacheKey] is ApplicationConfigurationDto configuration) { return configuration; } return AsyncHelper.RunSync(GetAsync); } protected virtual string CreateCacheKey() { var userKey = CurrentUser.Id?.ToString("N") ?? "Anonymous"; return $"ApplicationConfiguration_{userKey}_{CultureInfo.CurrentUICulture.Name}"; }
}`
-
0
This is a 404 not found error, There is no
swagger/oauth2-redirect.html
page -
0
Actually this url is registered in OpenIddictApplications table. When I want to authorize in Swagger, I get this error when I type tenant. If I don't type tenant, I can log in successfully. This problem didn't happen in abp 7.1.1 version, it happened when I upgraded to 9.
-
0
Hi,
Can you share the full logs
-
0
Here is the log of the scenario where I opened the API and sent a request with the tenant.
2024-12-20 12:40:55.426 +03:00 [INF] Starting web host.
2024-12-20 12:40:57.458 +03:00 [INF] Loaded ABP modules:
2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryHttpApiHostModule
2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryApplicationModule
2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryDomainModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Data.AbpDataModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Json.AbpJsonModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule
2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryDomainSharedModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryApplicationContractsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.EntityFrameworkCore.InventoryEntityFrameworkCoreModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2024-12-20 12:40:57.458 +03:00 [INF] - Inventory.InventoryHttpApiModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Http.AbpHttpModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.UI.AbpUiModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2024-12-20 12:40:57.458 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.Client.AbpAspNetCoreMvcClientModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.Client.AbpAspNetCoreMvcClientCommonModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Http.Client.AbpHttpClientModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.RemoteServices.AbpRemoteServicesModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Http.Client.IdentityModel.Web.AbpHttpClientIdentityModelWebModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2024-12-20 12:40:57.459 +03:00 [INF] - Volo.Abp.IdentityModel.AbpIdentityModelModule
2024-12-20 12:40:57.815 +03:00 [INF] User profile is available. Using 'C:\Users\ali.ozen\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2024-12-20 12:40:57.876 +03:00 [INF] Initialized all ABP modules.
2024-12-20 12:40:58.089 +03:00 [INF] Now listening on: https://localhost:44350
2024-12-20 12:40:58.264 +03:00 [INF] Application started. Press Ctrl+C to shut down.
2024-12-20 12:40:58.265 +03:00 [INF] Hosting environment: Development
2024-12-20 12:40:58.265 +03:00 [INF] Content root path: C:\Github\Inventory test\Inventory\host\Inventory.HttpApi.Host
2024-12-20 12:40:59.063 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/ - null null
2024-12-20 12:40:59.163 +03:00 [WRN] The 'WebRootPath' is not set! The 'CheckLibs' feature is disabled!
2024-12-20 12:41:01.424 +03:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2024-12-20 12:41:01.428 +03:00 [INF] Start processing HTTP request GET https://localhost:5501/api/abp/application-configuration?*
2024-12-20 12:41:01.429 +03:00 [INF] Sending HTTP request GET https://localhost:5501/api/abp/application-configuration?*
2024-12-20 12:41:01.490 +03:00 [INF] Received HTTP response headers after 58.4356ms - 200
2024-12-20 12:41:01.490 +03:00 [INF] End processing HTTP request after 64.6284ms - 200
2024-12-20 12:41:02.230 +03:00 [INF] Executing endpoint 'Inventory.Controllers.HomeController.Index (Inventory.HttpApi.Host)'
2024-12-20 12:41:02.245 +03:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller Inventory.Controllers.HomeController (Inventory.HttpApi.Host).
2024-12-20 12:41:02.279 +03:00 [INF] Executing RedirectResult, redirecting to /swagger.
2024-12-20 12:41:02.283 +03:00 [INF] Executed action Inventory.Controllers.HomeController.Index (Inventory.HttpApi.Host) in 35.0229ms
2024-12-20 12:41:02.283 +03:00 [INF] Executed endpoint 'Inventory.Controllers.HomeController.Index (Inventory.HttpApi.Host)'
2024-12-20 12:41:02.291 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/ - 302 0 null 3232.2233ms
2024-12-20 12:41:02.295 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/swagger/index.html - null null
2024-12-20 12:41:02.344 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/swagger/index.html - 200 null text/html;charset=utf-8 49.2841ms
2024-12-20 12:41:02.349 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/_framework/aspnetcore-browser-refresh.js - null null
2024-12-20 12:41:02.351 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/swagger/index.js - null null
2024-12-20 12:41:02.355 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/swagger/index.js - 200 null application/javascript;charset=utf-8 4.3018ms
2024-12-20 12:41:02.360 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/_framework/aspnetcore-browser-refresh.js - 200 13796 application/javascript; charset=utf-8 10.2654ms
2024-12-20 12:41:02.400 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/_vs/browserLink - null null
2024-12-20 12:41:02.431 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/_vs/browserLink - 200 null text/javascript; charset=UTF-8 30.7041ms
2024-12-20 12:41:02.594 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/swagger/v1/swagger.json - null null
2024-12-20 12:41:02.633 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/swagger/v1/swagger.json - 200 null application/json;charset=utf-8 38.762ms
2024-12-20 12:41:20.890 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/swagger/oauth2-redirect.html?code=ggu2bASAr9jIRkt94oCFhkuzi6VAkOy5yxl6e4xAOXk&state=RnJpIERlYyAyMCAyMDI0IDEyOjQxOjA3IEdNVCswMzAwIChHTVQrMDM6MDAp&iss=https%3A%2F%2Flocalhost%3A7600%2F&culture=tr&ui-culture=tr - null null
2024-12-20 12:41:20.901 +03:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2024-12-20 12:41:20.901 +03:00 [INF] Start processing HTTP request GET https://localhost:5501/api/abp/multi-tenancy/tenants/by-id/3a16f544-5a10-c898-50d8-59ca7a28525d?*
2024-12-20 12:41:20.901 +03:00 [INF] Sending HTTP request GET https://localhost:5501/api/abp/multi-tenancy/tenants/by-id/3a16f544-5a10-c898-50d8-59ca7a28525d?*
2024-12-20 12:41:20.948 +03:00 [INF] Received HTTP response headers after 47.0764ms - 200
2024-12-20 12:41:20.949 +03:00 [INF] End processing HTTP request after 47.4458ms - 200
2024-12-20 12:41:22.889 +03:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2024-12-20 12:41:22.890 +03:00 [INF] Start processing HTTP request GET https://localhost:5501/api/abp/application-configuration?*
2024-12-20 12:41:22.890 +03:00 [INF] Sending HTTP request GET https://localhost:5501/api/abp/application-configuration?*
2024-12-20 12:41:22.924 +03:00 [INF] Received HTTP response headers after 34.5016ms - 200
2024-12-20 12:41:22.924 +03:00 [INF] End processing HTTP request after 34.789ms - 200
2024-12-20 12:41:22.974 +03:00 [WRN] Could not find the localization resource AbpMultiTenancy on the remote server!
2024-12-20 12:41:22.979 +03:00 [WRN] Could not find the localization resource AbpMultiTenancy on the remote server!
2024-12-20 12:41:22.979 +03:00 [WRN] Could not find the localization resource AbpMultiTenancy on the remote server!
2024-12-20 12:41:22.979 +03:00 [WRN] Could not find the localization resource AbpMultiTenancy on the remote server!
2024-12-20 12:41:22.981 +03:00 [WRN] Kiracı bulunamadı!
Volo.Abp.BusinessException: Kiracı bulunamadı!
at Volo.Abp.MultiTenancy.TenantConfigurationProvider.GetAsync(Boolean saveResolveResult)
at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
2024-12-20 12:41:22.981 +03:00 [WRN] Code:Volo.AbpIo.MultiTenancy:010001
2024-12-20 12:41:22.981 +03:00 [WRN] Details:Kiracı kimliğine veya adına sahip bir kiracı yok: 3a16f544-5a10-c898-50d8-59ca7a28525d
2024-12-20 12:41:23.000 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/swagger/oauth2-redirect.html?code=ggu2bASAr9jIRkt94oCFhkuzi6VAkOy5yxl6e4xAOXk&state=RnJpIERlYyAyMCAyMDI0IDEyOjQxOjA3IEdNVCswMzAwIChHTVQrMDM6MDAp&iss=https%3A%2F%2Flocalhost%3A7600%2F&culture=tr&ui-culture=tr - 404 null text/html; charset=utf-8 2110.2116ms
2024-12-20 12:41:23.038 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44350/favicon.ico - null null
2024-12-20 12:41:23.042 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44350/favicon.ico - 404 0 null 3.7907ms
2024-12-20 12:41:23.042 +03:00 [INF] Request reached the end of the middleware pipeline without being handled by application code. Request path: GET https://localhost:44350/favicon.ico, Response status code: 404
-
0
HI,
I can't reproduce the problem, cloud you share a test project with me? my email is shiwei.liang@volosoft.com
-
0
Hi,
i sent you my project via e-mail, waiting for your response, thanks for your support.
-
0
Unable to load tenant
Remote
AbpTenantManagementEntityFrameworkCoreModule
from your project -
0
I turned off the module you showed in the screenshot but there was no change. What else should I do?
-
0
The
Inventory
should get the tenant from the gateway.make you your gateway service works fine.
-
0
When I try to log in with Tenant, I see that the response is returned properly and 200 is returned as the response. I am sharing the screenshot of the gateway service.
-
0
200 doesn't mean having a tenant. you can request this API to check it
-
0
Sorry, I didn't add the response of the method, I add it as a screenshot and I see the tenant coming.
Actually, the MyMvcCachedApplicationConfigurationClient class that redirects this request to the gateway and the GetRemoteConfigurationAsync method here performs the request.
Is there any chance to debug this method, because saas and management send separate requests to the service, can I process these methods? maybe I can see the error here
-
0
You can debug the
MvcRemoteTenantStore
: https://github.com/abpframework/abp/blob/Lazy-expandable/framework/src/Volo.Abp.AspNetCore.Mvc.Client/Volo/Abp/AspNetCore/Mvc/Client/MvcRemoteTenantStore.cs#L21ABP supports source link
-
0
Hi Liang,
I tried this class and it gets the tenant but can't set it to the program. our situation is a bit urgent, I organized a zoom meeting tomorrow at 10:00 utc+3. Can you support us at the time I specified or another time that suits you?
-
0
okay
-
0
The problem was solved. You need to use the same key prefix for your services.