Message signature was incorrect
在 DotNetOpenAuth.Messaging.Channel.ProcessIncomingMessage(IProtocolMessage message)
在 DotNetOpenAuth.OpenId.ChannelElements.OpenIdChannel.ProcessIncomingMessage(IProtocolMessage message)
在 DotNetOpenAuth.Messaging.Channel.ReadFromRequest(HttpRequestBase httpRequest)
在 DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.GetResponse(HttpRequestBase httpRequestInfo)}
Hi everybody.. I randomly get this error:
DotNetOpenAuth.Messaging.ProtocolException: Error occurred while sending a direct message or getting the response. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
It doesn't happy all the time (maybe twice a day). I've confirmed with the OAUTH server provider they are not dropping the connection. Is there anything I can do from this end to try and get this more stable?
Hello... Anyone can help me with dotnetopenauth.oauth.client version 5.0.0alpha. I am getting below error message while was working fine with version 2 of dotnetopenauth.oauth2.client Attempt by security transparent method 'DotNetOpenAuth.OAuth2.ClientCredentialApplicator.NetworkCredential(System.String)' to access security critical method 'Validation.Requires.NotNullOrEmpty(System.String, System.String)' failed.
Assembly 'DotNetOpenAuth.OAuth2.Client, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d0acff3d13b42a9d' is marked with the AllowPartiallyTrustedCallersAttribute, and uses the level 2 security transparency model. Level 2 transparency causes all methods in AllowPartiallyTrustedCallers assemblies to become security transparent by default, which may be the cause of this exception.
private void HandleRelyingPartyRequest(int office)
{
try
{
using (var openid = new OpenIdRelyingParty())
{
var request = openid.CreateRequest("http://auth.example.com/identity/" + office);
var fetchRequest = new FetchRequest();
fetchRequest.Attributes.AddRequired("http://axschema.org/userkey");
request.AddExtension(fetchRequest);
request.RedirectToProvider();
}
}
catch (ProtocolException pExp)
{
}
catch (WebException ex)
{
}
}