Open Closed

Having issue while initializing Volo.Abp.Identity.IdentityDataSeeder with Amazon.SecretManager. #592


User avatar
0
lalitChougule created

We are havng issue while initializing Volo.Abp.Identity.IdentityDataSeeder with Amazon.SecretManager.

  • ABP Framework version: v3.0.4
  • UI type: Angular / MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace: An exception was thrown while activating Volo.Abp.Identity.IdentityDataSeedContributor -> Volo.Abp.Identity.IdentityDataSeeder -> Volo.Abp.Identity.EntityFrameworkCore.EfCoreIdentityRoleRepository -> Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider1[[Volo.Abp.Identity.EntityFrameworkCore.IIdentityDbContext, Volo.Abp.Identity.EntityFrameworkCore, Version=3.0.4.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.MultiTenancy.MultiTenantConnectionStringResolver.. See the inner exception for details. ---- Autofac.Core.DependencyResolutionException : An exception was thrown while activating Volo.Abp.Identity.IdentityDataSeedContributor -> Volo.Abp.Identity.IdentityDataSeeder -> Volo.Abp.Identity.EntityFrameworkCore.EfCoreIdentityRoleRepository -> Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider1[[Volo.Abp.Identity.EntityFrameworkCore.IIdentityDbContext, Volo.Abp.Identity.EntityFrameworkCore, Version=3.0.4.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.MultiTenancy.MultiTenantConnectionStringResolver. -------- Autofac.Core.DependencyResolutionException : An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptionsSnapshot`1[Volo.Abp.Data.AbpDbConnectionOptions], Volo.Abp.MultiTenancy.ICurrentTenant, System.IServiceProvider)' on type 'MultiTenantConnectionStringResolver'. ------------ System.AggregateException : One or more errors occurred. (1 validation error detected: Value null at 'secretId' failed to satisfy constraint: Member must not be null) ---------------- Amazon.SecretsManager.AmazonSecretsManagerException : 1 validation error detected: Value null at 'secretId' failed to satisfy constraint: Member must not be null -------------------- Amazon.Runtime.Internal.HttpErrorResponseException : Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown.
  • Steps to reproduce the issue:

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

    Hi,

    Can you provide the steps to reproduce? thanks.

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