Open Closed

“Domain/Subdomain Tenant Resolver”related question #1992


User avatar
0
yujunlee created

Refer to“https://docs.abp.io/en/abp/latest/Multi-Tenancy” Proceed to the configuration solution。How to solve the problem of recognition during operation?

DE-5D3171948293 2021-10-18 16:36:47.946 +08:00 [WRN] Could not find IdentityClientConfiguration for CmsKitPublic. Either define a configuration for CmsKitPublic or set a default configuration.

2021-10-18 16:36:47.708 +08:00 [INF] Executed endpoint '/signalr-hubs/chat'
2021-10-18 16:36:47.709 +08:00 [INF] Request finished HTTP/2 GET https://myzzh.cn:44306/signalr-hubs/chat?id=fDvMIy2V_K8hzAYh5IAoxw - - - 200 - text/event-stream 20071.8506ms
2021-10-18 16:36:47.748 +08:00 [INF] Request starting HTTP/2 GET https://xinotech.myzzh.cn:44306/ - -
2021-10-18 16:36:47.771 +08:00 [INF] Executing endpoint '/Index'
2021-10-18 16:36:47.772 +08:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index
2021-10-18 16:36:47.772 +08:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2021-10-18 16:36:47.773 +08:00 [INF] Executing handler method Xino.Scct.Web.Pages.IndexModel.OnGet - ModelState is "Valid"
2021-10-18 16:36:47.773 +08:00 [INF] Executed handler method OnGet, returned result .
2021-10-18 16:36:47.773 +08:00 [INF] Executing an implicit handler method - ModelState is "Valid"
2021-10-18 16:36:47.773 +08:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2021-10-18 16:36:47.888 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: SettingManagement.Emailing
2021-10-18 16:36:47.889 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpAccount.SettingManagement
2021-10-18 16:36:47.895 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpIdentity.SettingManagement
2021-10-18 16:36:47.896 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: LeptonThemeManagement.Settings
2021-10-18 16:36:47.897 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: CmsKit.SettingManagement
2021-10-18 16:36:47.905 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: Forms.Form
2021-10-18 16:36:47.946 +08:00 [WRN] Could not find IdentityClientConfiguration for CmsKitPublic. Either define a configuration for CmsKitPublic or set a default configuration.
2021-10-18 16:36:47.946 +08:00 [INF] Start processing HTTP request GET "https://myzzh.cn:44376/api/cms-kit-public/menu-items?api-version=1.0"
2021-10-18 16:36:47.946 +08:00 [INF] Sending HTTP request GET "https://myzzh.cn:44376/api/cms-kit-public/menu-items?api-version=1.0"
2021-10-18 16:36:47.956 +08:00 [INF] Received HTTP response headers after 10.2157ms - 200
2021-10-18 16:36:47.956 +08:00 [INF] End processing HTTP request after 10.4014ms - 200
2021-10-18 16:36:47.965 +08:00 [INF] Executed page /Index in 193.0472ms
2021-10-18 16:36:47.965 +08:00 [INF] Executed endpoint '/Index'
2021-10-18 16:36:47.965 +08:00 [INF] Request finished HTTP/2 GET https://xinotech.myzzh.cn:44306/ - - - 200 - text/html;+charset=utf-8 217.6331ms
2021-10-18 16:36:47.995 +08:00 [INF] Request starting HTTP/2 GET https://xinotech.myzzh.cn:44306/__bundles/Lepton.Global.ED2A5A964A874690E0F3F98753AF3DD3.css?_v=637701429811040628 - -
2021-10-18 16:36:47.995 +08:00 [INF] Request starting HTTP/2 GET https://xinotech.myzzh.cn:44306/__bundles/Lepton.Global.82D908A7B6411F31BD81C593278E3607.js?_v=637701429848740552 - -
2021-10-18 16:36:47.998 +08:00 [INF] Request starting HTTP/2 GET https://xinotech.myzzh.cn:44306/Abp/ApplicationConfigurationScript - -
2021-10-18 16:36:48.002 +08:00 [INF] Sending file. Request path: '/__bundles/Lepton.Global.ED2A5A964A874690E0F3F98753AF3DD3.css'. Physical path: 'N/A'
2021-10-18 16:36:48.002 +08:00 [INF] Sending file. Request path: '/__bundles/Lepton.Global.82D908A7B6411F31BD81C593278E3607.js'. Physical path: 'N/A'
2021-10-18 16:36:48.008 +08:00 [INF] Request starting HTTP/2 GET https://xinotech.myzzh.cn:44306/Abp/ServiceProxyScript - -
2021-10-18 16:36:48.016 +08:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)'
2021-10-18 16:36:48.016 +08:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult GetAll(Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel) on controller Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController (Volo.Abp.AspNetCore.Mvc).
2021-10-18 16:36:48.037 +08:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)'
2021-10-18 16:36:48.037 +08:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Get() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController (Volo.Abp.AspNetCore.Mvc).
2021-10-18 16:36:48.200 +08:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript
2021-10-18 16:36:48.259 +08:00 [INF] Request finished HTTP/2 GET https://xinotech.myzzh.cn:44306/__bundles/Lepton.Global.ED2A5A964A874690E0F3F98753AF3DD3.css?_v=637701429811040628 - - - 200 489154 text/css 264.4283ms
2021-10-18 16:36:48.279 +08:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript
2021-10-18 16:36:48.304 +08:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 288.3488ms
2021-10-18 16:36:48.305 +08:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)'
2021-10-18 16:36:48.308 +08:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 270.8411ms
2021-10-18 16:36:48.308 +08:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)'
2021-10-18 16:36:49.257 +08:00 [INF] Request finished HTTP/2 GET https://xinotech.myzzh.cn:44306/__bundles/Lepton.Global.82D908A7B6411F31BD81C593278E3607.js?_v=637701429848740552 - - - 200 822424 application/javascript 1261.1918ms
2021-10-18 16:36:49.988 +08:00 [INF] Request finished HTTP/2 GET https://xinotech.myzzh.cn:44306/Abp/ServiceProxyScript - - - 200 381337 application/javascript 1979.4696ms
2021-10-18 16:36:50.405 +08:00 [INF] Request finished HTTP/2 GET https://xinotech.myzzh.cn:44306/Abp/ApplicationConfigurationScript - - - 200 322471 application/javascript 2406.6258ms
2021-10-18 16:36:50.857 +08:00 [INF] Request starting HTTP/2 POST https://xinotech.myzzh.cn:44306/?handler=Login application/x-www-form-urlencoded 182
2021-10-18 16:36:50.868 +08:00 [INF] Executing endpoint '/Index'
2021-10-18 16:36:50.868 +08:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index
2021-10-18 16:36:50.868 +08:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2021-10-18 16:36:50.873 +08:00 [INF] Executing handler method Xino.Scct.Web.Pages.IndexModel.OnPostLoginAsync - ModelState is "Valid"
2021-10-18 16:36:51.712 +08:00 [INF] AuthenticationScheme: oidc was challenged.
2021-10-18 16:36:51.714 +08:00 [INF] Executed handler method OnPostLoginAsync, returned result .
2021-10-18 16:36:51.714 +08:00 [INF] Executing an implicit handler method - ModelState is "Valid"
2021-10-18 16:36:51.714 +08:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2021-10-18 16:36:51.743 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: SettingManagement.Emailing
2021-10-18 16:36:51.743 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpAccount.SettingManagement
2021-10-18 16:36:51.743 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpIdentity.SettingManagement
2021-10-18 16:36:51.743 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: LeptonThemeManagement.Settings
2021-10-18 16:36:51.743 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: CmsKit.SettingManagement
2021-10-18 16:36:51.751 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: Forms.Form
2021-10-18 16:36:51.789 +08:00 [WRN] Could not find IdentityClientConfiguration for CmsKitPublic. Either define a configuration for CmsKitPublic or set a default configuration.
2021-10-18 16:36:51.789 +08:00 [INF] Start processing HTTP request GET "https://myzzh.cn:44376/api/cms-kit-public/menu-items?api-version=1.0"
2021-10-18 16:36:51.789 +08:00 [INF] Sending HTTP request GET "https://myzzh.cn:44376/api/cms-kit-public/menu-items?api-version=1.0"
2021-10-18 16:36:51.797 +08:00 [INF] Received HTTP response headers after 7.9743ms - 200
2021-10-18 16:36:51.797 +08:00 [INF] End processing HTTP request after 8.1023ms - 200
2021-10-18 16:36:51.805 +08:00 [INF] Executed page /Index in 936.9072ms
2021-10-18 16:36:51.805 +08:00 [INF] Executed endpoint '/Index'
2021-10-18 16:36:51.805 +08:00 [INF] Request finished HTTP/2 POST https://xinotech.myzzh.cn:44306/?handler=Login application/x-www-form-urlencoded 182 - 302 - text/html;+charset=utf-8 947.7883ms
2021-10-18 16:40:03.660 +08:00 [INF] Request starting HTTP/2 GET https://xinotech.myzzh.cn:44306/ - -
2021-10-18 16:40:03.665 +08:00 [INF] Executing endpoint '/Index'
2021-10-18 16:40:03.665 +08:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index
2021-10-18 16:40:03.665 +08:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2021-10-18 16:40:03.665 +08:00 [INF] Executing handler method Xino.Scct.Web.Pages.IndexModel.OnGet - ModelState is "Valid"
2021-10-18 16:40:03.665 +08:00 [INF] Executed handler method OnGet, returned result .
2021-10-18 16:40:03.665 +08:00 [INF] Executing an implicit handler method - ModelState is "Valid"
2021-10-18 16:40:03.665 +08:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2021-10-18 16:40:03.747 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: SettingManagement.Emailing
2021-10-18 16:40:03.747 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpAccount.SettingManagement
2021-10-18 16:40:03.747 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpIdentity.SettingManagement
2021-10-18 16:40:03.747 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: LeptonThemeManagement.Settings
2021-10-18 16:40:03.747 +08:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: CmsKit.SettingManagement
2021-10-18 16:40:03.754 +08:00 [INF] Authorization failed. These requirements were not met:

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you explain your question in detail?

    We have a sample for this

    https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11