Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Error during communication with Service Bus. Check the connection information, then retry.Messages are going to Deadletter Queue or going to Deadletter queue to get deleted

$
0
0

Hello All , I am getting the error in subject line and also sometimes get
The
request was aborted: The request was canceled. Why is it happening ,sometimes the messages are being received properly.


I am calling a method XYZ in a loop till a certain count of messages .In XYz method below code is written to receive message..

Dim message AsBrokeredMessage= queueClient.Receive(TimeSpan.FromSeconds(0))

Error :Error during communication with Service Bus. Check the connection information, then retry

or

The request was aborted: Therequest was canceled.

Details:

StackTrace:atMicrosoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResultresult)
atMicrosoft.ServiceBus.Messaging.IteratorAsyncResult`1.RunSynchronously()
atMicrosoft.ServiceBus.Messaging.MessageReceiver.OnTryReceive(TrackingContexttrackingContext,Int32messageCount, TimeSpanserverWaitTime,IEnumerable`1& messages)
atMicrosoft.ServiceBus.Messaging.MessageReceiver.TryReceive(TrackingContexttrackingContext,Int32messageCount, TimeSpanserverWaitTime,IEnumerable`1& messages)
atMicrosoft.ServiceBus.Messaging.MessageReceiver.TryReceive(TimeSpanserverWaitTime,BrokeredMessage& message)
atMicrosoft.ServiceBus.Messaging.QueueClient.Receive(TimeSpanserverWaitTime)

                  

Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>