Created
April 2, 2014 10:03
-
-
Save bjorncoltof/9931332 to your computer and use it in GitHub Desktop.
X.509 chain failure for servicebus.windows.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception while receiving message StackTrace follows | |
caused by an exception of type Microsoft.ServiceBus.Messaging.MessagingCommunicationException: | |
The X.509 certificate CN=servicebus.windows.net is not in the trusted people store. The X.509 certificate CN=servicebus.windows.net chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. A certificate chain could not be built to a trusted root authority. | |
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) | |
at Microsoft.ServiceBus.Messaging.MessageReceiver.EndReceive(IAsyncResult result) | |
at NipoSoftware.Utilities.Azure.Implementation.SubscriptionClientWrapper.EndReceive(IAsyncResult result) in c:\workspaces\Callisto\DotNetProg\NipoSoftware.Utilities.Azure\Implementation\SubscriptionClientWrapper.cs:line 47 | |
at NipoSoftware.Utilities.Azure.Implementation.AzureInterviewNotificationReader.EndReceive(IAsyncResult ar) in c:\workspaces\Callisto\DotNetProg\NipoSoftware.Utilities.Azure\Implementation\AzureInterviewNotificationReader.cs:line 229 | |
caused by an exception of type System.ServiceModel.Security.SecurityNegotiationException: | |
The X.509 certificate CN=servicebus.windows.net is not in the trusted people store. The X.509 certificate CN=servicebus.windows.net chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. A certificate chain could not be built to a trusted root authority. | |
Server stack trace: | |
at Microsoft.ServiceBus.Messaging.Channels.SharedChannel`1.CreateChannelAsyncResult.<GetAsyncSteps>d__7.MoveNext() | |
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state) | |
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result) | |
at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result) | |
Exception rethrown at [0]: | |
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) | |
at Microsoft.ServiceBus.Messaging.Channels.SharedChannel`1.OnEndCreateInstance(IAsyncResult asyncResult) | |
at Microsoft.ServiceBus.Messaging.SingletonManager`1.EndGetInstance(IAsyncResult asyncResult) | |
at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.<GetAsyncSteps>b__2(RequestAsyncResult thisPtr, IAsyncResult r) | |
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result) | |
Exception rethrown at [1]: | |
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) | |
at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result) | |
at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.RequestAsyncResult.<>c__DisplayClass17.<GetAsyncSteps>b__a(RequestAsyncResult thisPtr, IAsyncResult r) | |
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result) | |
Exception rethrown at [2]: | |
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) | |
at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.EndRequest(IAsyncResult result) | |
at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.<GetAsyncSteps>b__4(RequestAsyncResult thisPtr, IAsyncResult r) | |
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result) | |
Exception rethrown at [3]: | |
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) | |
at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result) | |
at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.EndReceiveCommand(IAsyncResult result, IEnumerable`1& messages) | |
caused by an exception of type System.IdentityModel.Tokens.SecurityTokenValidationException: | |
The X.509 certificate CN=servicebus.windows.net is not in the trusted people store. The X.509 certificate CN=servicebus.windows.net chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. A certificate chain could not be built to a trusted root authority. | |
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result) | |
at System.ServiceModel.Channels.SslStreamSecurityUpgradeInitiator.InitiateUpgradeAsyncResult.OnCompleteAuthenticateAsClient(IAsyncResult result) | |
End of StackTrace (Exception while receiving message) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment