This project is read-only.
1

Closed

Stale messages lead to endless retry-loop

description

If client sends a notification that is stale, the server detects that using its "MessageStalenessCheck"
It then throws a "StaleMessageException" which causes the execution of the steps to stop.
Unfortunately it does not just swallow these messages but throw an "ApplicationException" that is received by the client as a completely uninterpretable "CommunicationException".
For this reason it keeps the notification in its queue and retries sending that stale message.

see:

2015-01-28 13:42:09,985 [8] INFO Wolfpack [(null)] - Received Notification (HealthCheck) 083c55cc-f5f8-4eac-8886-7797ac026133

2015-01-28 13:42:09,992 [8] INFO Wolfpack [(null)] - Message '083c55cc-f5f8-4eac-8886-7797ac026133' is stale (668.481770856667 minutes old), discarding it!

2015-01-28 13:42:09,992 [8] ERROR Wolfpack [(null)] - IncidentId:e3872945-88c9-43c1-a7f3-6f91e0d5824e; Encountered 'ApplicationException' during 'WebService Call: http://web02.intercom.at:802/api/notification/notify'; Message:=System.ApplicationException: Step failure ---> Wolfpack.Core.WebServices.Interfaces.Exceptions.StaleMessageException: Message '083c55cc-f5f8-4eac-8886-7797ac026133' is stale

bei Wolfpack.Core.WebServices.Strategies.Steps.MessageStalenessCheckStep.Execute(WebServiceReceiverContext context) in d:\Code\Wolfpack_debug\Solutions\Wolfpack.Core.WebServices\Strategies\Steps\MessageStalenessCheckStep.cs:Zeile 23.

bei Wolfpack.Core.Pipeline.DefaultPipeline1.Execute(T context) in d:\Code\Wolfpack_debug\Solutions\Wolfpack.Core\Pipeline\DefaultPipeline.cs:Zeile 38.

--- Ende der internen Ausnahmestapelüberwachung ---

bei Wolfpack.Core.WebServices.Strategies.WebServiceReceiverStrategy.Execute(NotificationEvent notification) in d:\Code\Wolfpack_debug\Solutions\Wolfpack.Core.WebServices\Strategies\WebServiceReceiverStrategy.cs:Zeile 35.

bei Wolfpack.Core.WebServices.Modules.NotificationModule.<.ctor>b__1(Object request) in d:\Code\Wolfpack_debug\Solutions\Wolfpack.Core.WebServices\Modules\NotificationModule.cs:Zeile 33.

bei CallSite.Target(Closure , CallSite , Func
2 , Object )

bei Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context)
Closed Feb 17, 2015 at 12:54 PM by gentledepp

comments

gentledepp wrote Feb 17, 2015 at 12:53 PM

Resolved withmerging of branch "ContinuationOptions"