Hi liangshiwei Here is the log:
A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "4", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Disconnected", Servers : [] }.
System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "4", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Disconnected", Servers : [] }.
at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
at MongoDB.Driver.MongoClient.AreSessionsSupportedAfterServerSelection(CancellationToken cancellationToken)
at MongoDB.Driver.MongoClient.AreSessionsSupported(CancellationToken cancellationToken)
at MongoDB.Driver.MongoClient.StartImplicitSession(CancellationToken cancellationToken)
at MongoDB.Driver.OperationExecutor.StartImplicitSession(CancellationToken cancellationToken)
at MongoDB.Driver.MongoDatabaseImpl.UsingImplicitSession[TResult](Func2 func, CancellationToken cancellationToken) at MongoDB.Driver.MongoDatabaseImpl.ListCollectionNames(ListCollectionNamesOptions options, CancellationToken cancellationToken) at Volo.Abp.MongoDB.MongoModelBuilder.CreateCollectionIfNotExists(AbpMongoDbContext dbContext, String collectionName) at Volo.Abp.MongoDB.MongoModelBuilder.Build(AbpMongoDbContext dbContext) at Volo.Abp.MongoDB.MongoModelSource.CreateModel(AbpMongoDbContext dbContext) at Volo.Abp.MongoDB.MongoModelSource.<>c__DisplayClass1_0.<GetModel>b__0(Type _) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func2 valueFactory) at Volo.Abp.MongoDB.AbpMongoDbContext.InitializeCollections(IMongoDatabase database) at LogisticsTico.MongoDB.MongoDbLogisticsTicoDbSchemaMigrator.MigrateAsync() in D:\datdv\project\CShap\final_project\LogisticsTico\aspnet-core\src\LogisticsTico.MongoDB\MongoDb\MongoDbLogisticsTicoDbSchemaMigrator.cs:line 49 A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "4", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Disconnected", Servers : [] }. System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "4", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Disconnected", Servers : [] }. at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken) at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupportedAfterServerSelection(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupported(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.OperationExecutor.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.MongoDatabaseImpl.UsingImplicitSession[TResult](Func
2 func, CancellationToken cancellationToken)
at MongoDB.Driver.MongoDatabaseImpl.ListCollectionNames(ListCollectionNamesOptions options, CancellationToken cancellationToken)
at Volo.Abp.MongoDB.MongoModelBuilder.CreateCollectionIfNotExists(AbpMongoDbContext dbContext, String collectionName)
at Volo.Abp.MongoDB.MongoModelBuilder.Build(AbpMongoDbContext dbContext)
at Volo.Abp.MongoDB.MongoModelSource.CreateModel(AbpMongoDbContext dbContext)
at Volo.Abp.MongoDB.MongoModelSource.<>c__DisplayClass1_0.<GetModel>b__0(Type _)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
at Volo.Abp.MongoDB.AbpMongoDbContext.InitializeCollections(IMongoDatabase database)
at LogisticsTico.MongoDB.MongoDbLogisticsTicoDbSchemaMigrator.MigrateAsync() in D:\datdv\project\CShap\final_project\LogisticsTico\aspnet-core\src\LogisticsTico.MongoDB\MongoDb\MongoDbLogisticsTicoDbSchemaMigrator.cs:line 49
Hi liangshiwei I implemented with the document: https://docs.abp.io/en/abp/latest/Multi-Tenancy It works on local, But I got the error after deployed to AKS, Can you suggest solution for this. We are using mongo db replicaset, and the error mesage shows like below:
A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "4", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Disconnected", Servers : [] }.
Hi ABP support team We a using abp commercial
Dear maliming! Thank you for replying me. I added and it work!
Hi @maliming I have deploy asp dot net backend to AKS succesfully and authorize on the swagger succesfully However, when I deploy angular to AKS after that I get access to the angular web, it gets this response As you can see, only the issuer is https, the rest (authorization_endpoint, token_endpoint, ...) are all http
: )
Hi maliming you mean create a secret on k8s,right? Could you give me the full command?
thanks!
Dear maliming! Thank you for replying me Question 3,4,5 will be created separately, I am looking forward for your help
Currently, I am using abp framework commercial(verrsion 7.2.1) and created a solution wiwth application template. I want to deploy this application to AKS (Azure Kubernetes Service). Please help us following question: