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.UnitOfWorkDbContextProvider
1[[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)
-
0
Hi,
Can you provide the steps to reproduce? thanks.