Activities of "prachi@urvin.finance"

Hi,

The highlighted service (IIdentityUserIntegrationService) in the image is causing an error. Upon investigating, I discovered that the proxy for this service is missing. However, I am unable to generate the proxy. When attempting to do so, ABP creates a new json file with the name abp-generate-proxy.json file. Please assist.

I removed XXXHttpApiClientModule dependencies and added XXXApplicationModule dependencies, but now I am getting the below error while I build the identity-service

{"Timestamp":"2024-11-18T11:51:36.7775236+00:00","Level":"Information","MessageTemplate":"Starting UrvinFinance.IdentityService.HttpApi.Host.","RenderedMessage":"Starting UrvinFinance.IdentityService.HttpApi.Host.","Properties":{"dd_span_id":"0","dd_trace_id":"0","dd_version":"","dd_service":"UrvinFinance.IdentityService.HttpApi.Host","dd_env":"","Application":"UrvinFinance.IdentityService.HttpApi.Host"}} {"Timestamp":"2024-11-18T11:51:37.8679784+00:00","Level":"Fatal","MessageTemplate":"UrvinFinance.IdentityService.HttpApi.Host terminated unexpectedly!","RenderedMessage":"UrvinFinance.IdentityService.HttpApi.Host terminated unexpectedly!","Exception":"Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module UrvinFinance.ImageService.ImageServiceApplicationModule, UrvinFinance.ImageService.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.\n ---> System.TypeLoadException: Method 'Handle' in type 'UrvinFinance.ImageService.Behaviour.ValidationBehavior2' from assembly 'UrvinFinance.ImageService.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.\n at UrvinFinance.ImageService.ImageServiceApplicationModule.ConfigureServices(ServiceConfigurationContext context)\n at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)\n at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()\n --- End of inner exception stack trace ---\n at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()\n at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction)\n at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction)\n at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action1 optionsAction)\n at UrvinFinance.IdentityService.Program.Main(String[] args) in C:\Step2gen\urvinfinance\services\identity\src\UrvinFinance.IdentityService.HttpApi.Host\Program.cs:line 80","Properties":{"dd_span_id":"0","dd_trace_id":"0","dd_version":"","dd_service":"UrvinFinance.IdentityService.HttpApi.Host","dd_env":"","Application":"UrvinFinance.IdentityService.HttpApi.Host"}}

Sent

I just shared the whole build logs for both administration-service and identity-service. Please have a look! Thanks.

Hi, I just removed all the XXXHttpApiClientModule dependencies from XXXServiceHttpApiHostModule. Now the application breaks. with Internal server error. Should I share the build logs with you?

Sent!

I have e-mailed you the log file. You can have a look.

No that's not the case. Only IdentityServiceHttpApiClientModule depends on AbpIdentityHttpApiClientModule.

I have e-mailed you the log file. You can have a look.

When fetching permissions for a role from the UI, no logs appear in the Identity Service, but logs are recorded in the Administration Service for the same request.

Here are the full logs:

[10:10:27 INF] Request starting HTTP/1.1 GET http://administration-service:44367/api/permission-management/permissions?providerName=R&providerKey=admin&api-version=1.0 - null null [10:10:27 INF] Executing endpoint 'Volo.Abp.PermissionManagement.PermissionsController.GetAsync (Volo.Abp.PermissionManagement.HttpApi)' [10:10:27 INF] Route matched with {area = "permissionManagement", action = "Get", controller = "Permissions", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.PermissionManagement.GetPermissionListResultDto] GetAsync(System.String, System.String) on controller Volo.Abp.PermissionManagement.PermissionsController (Volo.Abp.PermissionManagement.HttpApi). [10:10:27 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:3a12fe40-5e08-9485-9631-e33430540d9e,n:AbpIdentity.Roles.ManagePermissions [10:10:27 DBG] Found in the cache: pn:U,pk:3a12fe40-5e08-9485-9631-e33430540d9e,n:AbpIdentity.Roles.ManagePermissions [10:10:27 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Roles.ManagePermissions [10:10:27 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Roles.ManagePermissions [10:10:27 DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:UrvinFinance_BlazorServer,n:AbpIdentity.Roles.ManagePermissions [10:10:27 DBG] Found in the cache: pn:C,pk:UrvinFinance_BlazorServer,n:AbpIdentity.Roles.ManagePermissions [10:10:27 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": { "ActivatorChain": "Volo.Abp.PermissionManagement.Identity.RolePermissionManagementProvider -> Volo.Abp.Identity.HttpClientUserRoleFinder" }, "validationErrors": null }

[10:10:27 ERR] An exception was thrown while activating Volo.Abp.PermissionManagement.Identity.RolePermissionManagementProvider -> Volo.Abp.Identity.HttpClientUserRoleFinder. Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Abp.PermissionManagement.Identity.RolePermissionManagementProvider -> Volo.Abp.Identity.HttpClientUserRoleFinder. ---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'Volo.Abp.Identity.HttpClientUserRoleFinder' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.Abp.Identity.Integration.IIdentityUserIntegrationService userIntegrationService' of constructor 'Void .ctor(Volo.Abp.Identity.IIdentityUserAppService, Volo.Abp.Identity.Integration.IIdentityUserIntegrationService)'.

See https://autofac.rtfd.io/help/no-constructors-bindable for more info. at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.

[10:10:27 INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. [10:10:27 INF] Executed action Volo.Abp.PermissionManagement.PermissionsController.GetAsync (Volo.Abp.PermissionManagement.HttpApi) in 31.564ms [10:10:27 INF] Executed endpoint 'Volo.Abp.PermissionManagement.PermissionsController.GetAsync (Volo.Abp.PermissionManagement.HttpApi)' [10:10:27 DBG] Added 0 entity changes to the current audit log [10:10:27 DBG] Added 0 entity changes to the current audit log [10:10:27 INF] Request finished HTTP/1.1 GET http://administration-service:44367/api/permission-management/permissions?providerName=R&providerKey=admin&api-version=1.0 - 500 null application/json; charset=utf-8 45.1891ms

I added it in IdentityServiceHttpApiHostModule but still the same error

Showing 11 to 20 of 32 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on January 02, 2025, 07:06