Getting error while deploying Rest Web Api in Service Fabric on local VDI machine

KUMAR Sushil 0 Reputation points
2024-01-18T06:45:35.07+00:00

'System.RA' reported Warning for property 'ReplicaOpenStatus'.
Replica had multiple failures during open on _Node_0. API call: IStatelessServiceInstance.Open(); Error = Microsoft.Azure.KeyVault.Models.KeyVaultErrorException (-2146233088)
Operation returned an invalid status code 'NotFound'
at Microsoft.Azure.KeyVault.KeyVaultClient.GetSecretWithHttpMessagesAsync(String vaultBaseUrl, String secretName, String secretVersion, Dictionary2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.KeyVault.KeyVaultClientExtensions.GetSecretAsync(IKeyVaultClient operations, String vaultBaseUrl, String secretName, CancellationToken cancellationToken) at Axa.Insurance.Configuration.Development.CredentialConfigurationExtensions.GetCurrentSecret(KeyVaultClient keyVaultClient, String certificateKeyName) at Axa.Insurance.Configuration.Development.CredentialConfigurationExtensions.<>c__DisplayClass3_0.<<AddDevelopmentCredentials>b__0>d.MoveNext() --- End of stack trace from previous location --- at Axa.Insurance.Configuration.Development.CredentialConfigurationExtensions.AddDevelopmentCredentials(IConfigurationBuilder config, ConfigurationSection applicationConfig) at Axa.Insurance.ServiceFabric.Hosting.WebHost.ServiceContextWebHostBuilderFactory.<>c__DisplayClass0_01.<CreateWebHost>b__3(WebHostBuilderContext context, IConfigurationBuilder cfg)
at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
at Axa.Insurance.ServiceFabric.Hosting.WebHost.WebHostStatelessService`1.<>c__DisplayClass6_0.<CreateServiceInstanceListeners>b__1(String url, AspNetCoreCommunicationListener listener)
at Microsoft.ServiceFabric.Services.Communication.AspNetCore.AspNetCoreCommunicationListener.OpenAsync(CancellationToken cancellationToken)
at Microsoft.ServiceFabric.Services.Runtime.StatelessServiceInstanceAdapter.OpenCommunicationListenersAsync(CancellationToken cancellationToken)
at Microsoft.ServiceFabric.Services.Runtime.StatelessServiceInstanceAdapter.System.Fabric.IStatelessServiceInstance.OpenAsync(IStatelessServicePartition partition, CancellationToken cancellationToken)
For more information see: <a href='https://aka.ms/sfhealth' target='_blank'>https://aka.ms/sfhealth</a>

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
269 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.