-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The operation was canceled #6097
Comments
Thank you for opening this issue! We are routing it to the appropriate team for follow up. |
@kurtzeborn In this case, it would be @jsquire and @AlexGhiondea :) |
Any update @jsquire and @AlexGhiondea ? |
@ocengiz0 from looking at the callstack there isn't sufficient information to try and figure out the root cause. Would you happen to have a repro that we can look at? |
The only way I can reproduce is that while in a long debug session, I receive this error in my ExceptionReceivedEvent method in which implemented to MessageHandlerOptions var messageHandlerOptions = new MessageHandlerOptions(ExceptionReceivedHandler)
{
MaxConcurrentCalls = 1,
AutoComplete = false
};
_subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync, messageHandlerOptions);
private Task ExceptionReceivedHandler(ExceptionReceivedEventArgs exceptionReceivedEventArgs)
{
var context = exceptionReceivedEventArgs.ExceptionReceivedContext;
var exception = exceptionReceivedEventArgs.Exception;
_logger.LogError(exception, $"Message handler encountered an exception: {exception.Message}, Endpoint: {context.Endpoint}, Entity Path: {context.EntityPath}, Executing Action: {context.Action}");
return Task.CompletedTask;
} |
We are getting this exception too in our production. However its difficult to repro locally
|
Our callstack is |
Get similar error and new stacktrace:
|
Hello, any update? |
I started a long running instance which captures the state when we run into this issue. Waiting for the bug to reproduce.. |
Multiple errors can happen when link/session is closing. Throw ServiceBusCommunicationException instead of ServiceBusException. Fixes #6097
I have the same #16975 |
Describe the bug
I often get this error even I updated the nuget package to latest
(regarding similar issue -> Azure/azure-service-bus-dotnet#639)
Exception or Stack Trace
The text was updated successfully, but these errors were encountered: