Andrew this is the trace I'm getting:
2012-02-16 16:11:55,388 (GMT-3) [8] ERROR DotNetOpenAuth.Http -
WebException from
http://localhost:50172/OAuth/Token:
<html>
<head>
<title>This message has already been processed. This
could indicate a replay attack in progress.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .
7em;color:black;}
p {font-family:"Verdana";font-
weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-
top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:
18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:
14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration:
none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold;
color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/' Application.<hr width=100%
size=1 color=silver></H1>
<h2> <i>This message has already been processed.
This could indicate a replay attack in progress.</i> </h2></
span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular,
sans-serif ">
<b> Description: </b>An unhandled exception occurred
during the execution of the current web request. Please review the
stack trace for more information about the error and where it
originated in the code.
<br><br>
<b> Exception Details: </
b>DotNetOpenAuth.Messaging.Bindings.ReplayedMessageException: This
message has already been processed. This could indicate a replay
attack in progress.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
Line 243: if (!this.decodeOnceOnly.StoreNonce(context,
Convert.ToBase64String(message.Nonce), message.UtcCreationDate)) {
Line 244: Logger.OpenId.ErrorFormat("Replayed nonce detected
({0} {1}). Rejecting message.", message.Nonce,
message.UtcCreationDate);
<font color=red>Line 245: throw new
ReplayedMessageException(containingMessage);
</font>Line 246: }
Line 247: }</pre></code>
</td>
</tr>
</table>
<br>
<b> Source File: </b> C:\Users\Downloads\SourceCode
\AArnott-dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging
\DataBagFormatterBase.cs<b> Line: </b> 245
<br><br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[ReplayedMessageException: This message has already been processed.
This could indicate a replay attack in progress.]
DotNetOpenAuth.Messaging.DataBagFormatterBase`1.Deserialize(IProtocolMessage
containingMessage, String value) in C:\Users\Downloads\SourceCode
\AArnott-dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging
\DataBagFormatterBase.cs:245
DotNetOpenAuth.OAuth2.ChannelElements.AccessRequestBindingElement.ProcessIncomingMessage(IProtocolMessage
message) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.OAuth2\OAuth2\ChannelElements
\AccessRequestBindingElement.cs:121
DotNetOpenAuth.Messaging.Channel.ProcessIncomingMessage(IProtocolMessage
message) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging\Channel.cs:1218
DotNetOpenAuth.Messaging.Channel.ReadFromRequest(HttpRequestInfo
httpRequest) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging\Channel.cs:478
DotNetOpenAuth.Messaging.Channel.TryReadFromRequest(HttpRequestInfo
httpRequest, TRequest& request) in C:\Users\Downloads\SourceCode
\AArnott-dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging
\Channel.cs:417
DotNetOpenAuth.OAuth2.AuthorizationServer.ReadAccessTokenRequest(HttpRequestInfo
requestInfo) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.OAuth2.AuthorizationServer
\OAuth2\AuthorizationServer.cs:152
OAuthAuthorizationServer.Controllers.OAuthController.Token() in C:
\Users\Downloads\SourceCode\AArnott-dotnetopenid-7bf6304\samples
\OAuthAuthorizationServer\Controllers\OAuthController.cs:24
lambda_method(Closure , ControllerBase , Object[] ) +62
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase
controller, Object[] parameters) +17
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext
controllerContext, IDictionary`2 parameters) +199
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext
controllerContext, ActionDescriptor actionDescriptor, IDictionary`2
parameters) +27
System.Web.Mvc.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a()
+56
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter
filter, ActionExecutingContext preContext, Func`1 continuation) +267
System.Web.Mvc.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c()
+20
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext
controllerContext, IList`1 filters, ActionDescriptor actionDescriptor,
IDictionary`2 parameters) +190
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext
controllerContext, String actionName) +345
System.Web.Mvc.Controller.ExecuteCore() +115
System.Web.Mvc.ControllerBase.Execute(RequestContext
requestContext) +42
System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext
requestContext) +10
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__4()
+34
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
+21
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult
_) +12
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult
asyncResult) +43
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult
result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+8969117
System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +184
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework
Version:4.0.30319;
ASP.NET Version:4.0.30319.272
</font>
</body>
</html>
<!--
[ReplayedMessageException]: This message has already been processed.
This could indicate a replay attack in progress.
at
DotNetOpenAuth.Messaging.DataBagFormatterBase`1.Deserialize(IProtocolMessage
containingMessage, String value) in C:\Users\Downloads\SourceCode
\AArnott-dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging
\DataBagFormatterBase.cs:line 245
at
DotNetOpenAuth.OAuth2.ChannelElements.AccessRequestBindingElement.ProcessIncomingMessage(IProtocolMessage
message) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.OAuth2\OAuth2\ChannelElements
\AccessRequestBindingElement.cs:line 121
at
DotNetOpenAuth.Messaging.Channel.ProcessIncomingMessage(IProtocolMessage
message) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging\Channel.cs:line
1218
at DotNetOpenAuth.Messaging.Channel.ReadFromRequest(HttpRequestInfo
httpRequest) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging\Channel.cs:line
478
at DotNetOpenAuth.Messaging.Channel.TryReadFromRequest[TRequest]
(HttpRequestInfo httpRequest, TRequest& request) in C:\Users\Downloads
\SourceCode\AArnott-dotnetopenid-7bf6304\src\DotNetOpenAuth.Core
\Messaging\Channel.cs:line 417
at
DotNetOpenAuth.OAuth2.AuthorizationServer.ReadAccessTokenRequest(HttpRequestInfo
requestInfo) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.OAuth2.AuthorizationServer
\OAuth2\AuthorizationServer.cs:line 152
at OAuthAuthorizationServer.Controllers.OAuthController.Token() in
C:\Users\Downloads\SourceCode\AArnott-dotnetopenid-7bf6304\samples
\OAuthAuthorizationServer\Controllers\OAuthController.cs:line 24
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase
controller, Object[] parameters)
at
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext
controllerContext, IDictionary`2 parameters)
at
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext
controllerContext, ActionDescriptor actionDescriptor, IDictionary`2
parameters)
at
System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a()
at
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter
filter, ActionExecutingContext preContext, Func`1 continuation)
at
System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassd.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c()
at
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext
controllerContext, IList`1 filters, ActionDescriptor actionDescriptor,
IDictionary`2 parameters)
at
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext
controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext
requestContext)
at
System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext
requestContext)
at
System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__4()
at
System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
at
System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult
_)
at
System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult
asyncResult)
at
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult
result)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
-->
2012-02-16 16:12:23,137 (GMT-3) [8] ERROR DotNetOpenAuth.OAuthClient -
An unhandled exception was raised. Details follow:
System.Web.HttpUnhandledException: Exception of type
'System.Web.HttpUnhandledException' was thrown. --->
DotNetOpenAuth.Messaging.ProtocolException: Error occurred while
sending a direct message or getting the response. --->
System.Net.WebException: The remote server returned an error: (500)
Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at
DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebRequest
request, DirectWebRequestOptions options) in C:\Users\Downloads
\SourceCode\AArnott-dotnetopenid-7bf6304\src\DotNetOpenAuth.Core
\Messaging\StandardWebRequestHandler.cs:line 127
--- End of inner exception stack trace ---
at
DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebRequest
request, DirectWebRequestOptions options) in C:\Users\Downloads
\SourceCode\AArnott-dotnetopenid-7bf6304\src\DotNetOpenAuth.Core
\Messaging\StandardWebRequestHandler.cs:line 173
at
DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebRequest
request) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging
\StandardWebRequestHandler.cs:line 101
at
DotNetOpenAuth.Messaging.Channel.GetDirectResponse(HttpWebRequest
webRequest) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging\Channel.cs:line
676
at
DotNetOpenAuth.Messaging.Channel.RequestCore(IDirectedProtocolMessage
request) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging\Channel.cs:line
697
at
DotNetOpenAuth.Messaging.Channel.Request(IDirectedProtocolMessage
requestMessage) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.Core\Messaging\Channel.cs:line
520
at
DotNetOpenAuth.OAuth2.ClientBase.UpdateAuthorizationWithResponse(IAuthorizationState
authorizationState, EndUserAuthorizationSuccessAuthCodeResponse
authorizationSuccess) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.OAuth2.Client
\OAuth2\ClientBase.cs:line 227
at
DotNetOpenAuth.OAuth2.WebServerClient.ProcessUserAuthorization(HttpRequestInfo
request) in C:\Users\Downloads\SourceCode\AArnott-
dotnetopenid-7bf6304\src\DotNetOpenAuth.OAuth2.Client
\OAuth2\WebServerClient.cs:line 121
at OAuthClient.SampleWcf2.Page_Load(Object sender, EventArgs e) in
C:\Users\Downloads\SourceCode\AArnott-dotnetopenid-7bf6304\samples
\OAuthClient\SampleWcf2.aspx.cs:line 54
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp,
Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object
sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext
context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.samplewcf2_aspx.ProcessRequest(HttpContext context) in c:
\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files
\root\853feb29\cec7eb81\App_Web_zfbu800c.2.cs:line 0
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
I had read in stackoverflow that some has solved this by incrementing
the maxAuthorizationTime, and I had tray it but the error persits.
Thanks, in advanced.
Matias.