Skip to content

Pending notification is deleted while it is never sent #25

@besteg

Description

@besteg

We found next exception:

{ [-]
Exception: Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (500) Internal Server Error. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand1 cmd, IRetryPolicy policy, OperationContext operationContext) in c:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\ClassLibraryCommon\Core\Executor\Executor.cs:line 677 --- End of inner exception stack trace --- at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand1 cmd, IRetryPolicy policy, OperationContext operationContext) in c:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\ClassLibraryCommon\Core\Executor\Executor.cs:line 604
at Microsoft.WindowsAzure.Storage.Queue.CloudQueue.CreateIfNotExists(QueueRequestOptions options, OperationContext operationContext) in c:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\ClassLibraryCommon\Queue\CloudQueue.cs:line 162
at Journalist.WindowsAzure.Storage.StorageFactory.<>c__DisplayClass6_0.b__0()
at System.Lazy1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy1.get_Value()
at Journalist.WindowsAzure.Storage.Queues.CloudQueueAdapter.AddMessageAsync(Byte[] content)
at Journalist.EventStore.Notifications.Channels.NotificationsChannel.d__17.MoveNext()
Request Information
RequestID:2cd0c103-9003-003b-6c87-9b36ee000000
RequestDate:Mon, 24 Dec 2018 12:52:16 GMT
StatusMessage:Operation could not be completed within the specified time.

 Level:	 Error	
 MachineName:	 RD0003FF2CD2C1	
 MessageTemplate:	 Notification sending failed. Notification: {@Notification}.	
 Notification:	{	[-]	
	 DeliveryCount:	 0	
	 FromVersion:	{	[-]	
  	 _typeTag:	 StreamVersion	
	}	
	 IsAddressed:	 false	
	 NotificationId:	{	[-]	
  	 _typeTag:	 NotificationId	
	}	
	 NotificationType:	 Journalist.EventStore.Notifications.Types.EventStreamUpdated	
	 StreamName:	 somestream-41abfe87-0915-4b13-beac-28b72a5892c8	
	 ToVersion:	{	[-]	
  	 _typeTag:	 StreamVersion	
	}	
	 _typeTag:	 EventStreamUpdated	
}	
 SourceContext:	 Journalist.EventStore.Notifications.Channels.NotificationsChannel	
 Timestamp:	 2018-12-27T15:40:23.2052697+03:00	

}

NotificationsChannel swallowed the exception and the notification was deleted in PendingNotificationsChaser.ProcessStreamNotificationAsync and was never sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions