- ABP Framework version: v8.3.1
- UI Type: MVC
- Database System: EF Core (SQL Server) / MongoDB
- Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
- Exception message and full stack trace:
2024-11-06 16:27:09.312 +07:00 [INF] Sending HTTP request GET http://localhost:44322/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
2024-11-06 16:27:11.207 +07:00 [INF] Received HTTP response headers after 1893.3172ms - 200
2024-11-06 16:27:11.210 +07:00 [INF] End processing HTTP request after 1908.0361ms - 200
2024-11-06 16:27:11.258 +07:00 [INF] Start processing HTTP request GET http://localhost:44322/api/abp/application-localization?CultureName=en&OnlyDynamics=True&api-version=1.0
2024-11-06 16:27:11.258 +07:00 [INF] Sending HTTP request GET http://localhost:44322/api/abp/application-localization?CultureName=en&OnlyDynamics=True&api-version=1.0
2024-11-06 16:27:11.724 +07:00 [INF] Received HTTP response headers after 466.1528ms - 200
2024-11-06 16:27:11.725 +07:00 [INF] End processing HTTP request after 467.0009ms - 200
2024-11-06 16:27:11.971 +07:00 [DBG] Get dynamic claims cache for user: 60cd42b7-b510-7522-219f-3a15c02808ce
2024-11-06 16:27:11.973 +07:00 [DBG] Refresh dynamic claims for user: 60cd42b7-b510-7522-219f-3a15c02808ce from remote service.
2024-11-06 16:27:11.975 +07:00 [INF] Start processing HTTP request POST http://localhost:44331/api/account/dynamic-claims/refresh
2024-11-06 16:27:11.975 +07:00 [INF] Sending HTTP request POST http://localhost:44331/api/account/dynamic-claims/refresh
2024-11-06 16:27:13.921 +07:00 [INF] Received HTTP response headers after 1946.4158ms - 200
2024-11-06 16:27:13.922 +07:00 [INF] End processing HTTP request after 1946.7416ms - 200
2024-11-06 16:27:13.924 +07:00 [WRN] Failed to refresh remote dynamic claims cache for user: 60cd42b7-b510-7522-219f-3a15c02808ce
Volo.Abp.AbpException: Failed to refresh remote claims for user: 60cd42b7-b510-7522-219f-3a15c02808ce
at Volo.Abp.Security.Claims.RemoteDynamicClaimsPrincipalContributorCacheBase
1.GetAsync(Guid userId, Nullable
1 tenantId) at Volo.Abp.Security.Claims.RemoteDynamicClaimsPrincipalContributorBase`2.ContributeAsync(AbpClaimsPrincipalContributorContext context) 2024-11-06 16:27:13.928 +07:00 [INF] Executing endpoint '/DocumentsManagement/DocumentInboxes/Index' 2024-11-06 16:27:13.942 +07:00 [INF] Route matched with {page = "/DocumentsManagement/DocumentInboxes/Index", action = "", controller = "", area = ""}. Executing page /DocumentsManagement/DocumentInboxes/Index 2024-11-06 16:27:13.944 +07:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2024-11-06 16:27:13.965 +07:00 [INF] Start processing HTTP request GET http://localhost:44322/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0 2024-11-06 16:27:13.965 +07:00 [INF] Sending HTTP request GET http://localhost:44322/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0 2024-11-06 16:27:14.023 +07:00 [INF] Received HTTP response headers after 58.0335ms - 200 2024-11-06 16:27:14.024 +07:00 [INF] End processing HTTP request after 58.4179ms - 200 2024-11-06 16:27:14.025 +07:00 [INF] Start processing HTTP request GET http://localhost:44322/api/abp/application-localization?CultureName=en&OnlyDynamics=True&api-version=1.0 2024-11-06 16:27:14.025 +07:00 [INF] Sending HTTP request GET http://localhost:44322/api/abp/application-localization?CultureName=en&OnlyDynamics=True&api-version=1.0 2024-11-06 16:27:14.119 +07:00 [INF] Received HTTP response headers after 93.2711ms - 200 2024-11-06 16:27:14.119 +07:00 [INF] End processing HTTP request after 93.6022ms - 200 2024-11-06 16:27:14.135 +07:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": { "ActivatorChain": "DocumentsManagement.Web.Pages.DocumentsManagement.DocumentInboxes.IndexModel" }, "validationErrors": null }
2024-11-06 16:27:14.135 +07:00 [ERR] An exception was thrown while activating DocumentsManagement.Web.Pages.DocumentsManagement.DocumentInboxes.IndexModel. Autofac.Core.DependencyResolutionException: An exception was thrown while activating DocumentsManagement.Web.Pages.DocumentsManagement.DocumentInboxes.IndexModel. ---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'DocumentsManagement.Web.Pages.DocumentsManagement.DocumentInboxes.IndexModel' can be invoked with the available services and parameters: Cannot resolve parameter 'DocumentsManagement.DocumentInboxes.IDocumentInboxesAppService documentInboxesAppService' of constructor 'Void .ctor(DocumentsManagement.DocumentInboxes.IDocumentInboxesAppService)'.
See https://autofac.rtfd.io/help/no-constructors-bindable for more info. at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.
2024-11-06 16:27:14.140 +07:00 [INF] Executed page /DocumentsManagement/DocumentInboxes/Index in 194.5335ms 2024-11-06 16:27:14.140 +07:00 [INF] Executed endpoint '/DocumentsManagement/DocumentInboxes/Index' 2024-11-06 16:27:14.157 +07:00 [ERR] An unhandled exception has occurred while executing the request. Autofac.Core.DependencyResolutionException: An exception was thrown while activating DocumentsManagement.Web.Pages.DocumentsManagement.DocumentInboxes.IndexModel. ---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'DocumentsManagement.Web.Pages.DocumentsManagement.DocumentInboxes.IndexModel' can be invoked with the available services and parameters: Cannot resolve parameter 'DocumentsManagement.DocumentInboxes.IDocumentInboxesAppService documentInboxesAppService' of constructor 'Void .ctor(DocumentsManagement.DocumentInboxes.IDocumentInboxesAppService)'.
See https://autofac.rtfd.io/help/no-constructors-bindable for more info. at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.
- Steps to reproduce the issue: Run the application, click the Document Inboxes menu item
I am trying to create my own service (Called DocumentManagement). I created a DocumentService (microservice infrastructure) and DocumentsManagement (DDD Principle). After running the application, I am facing with 2 issues: The first one is an exception I have posted log above The second is swagger error (status code is 502) when trying to access the APIs at /swagger/index.html?urls.primaryName=Documents%20API
You can teach me what I wrong, how to does not repeat in the future. Is there any detailed documentation to implement step by step.
If the supporter is maliming, you should access my Github (Shared with you last time) and run the application.
Many thanks.