-
Notifications
You must be signed in to change notification settings - Fork 72
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
Unable to cast object of type 'Microsoft.Azure.Amqp.Framing.Accepted' #262
Comments
Additional comment from @JoeGaggler:
|
//fyi: @EldertGrootenboer |
We have seen this too. We have a very similar set up to the original post. We are using scheduled messages, session state & deferred messages to power a retry mechanism. As such, we are using a We have seen this happen 7-8 times when processing a batch of 50,000 messages, some of which will have invoked this retry mechanism, likely creating the conditions for this error to occur. Another similar issue - Azure/azure-sdk-for-net#14836 |
The Service Bus service team is investigating this issue. |
@xinchen10 any updates for this issue? |
@vinaysurya may have more information on this issue. |
Checking in as it has been a few months. We still observe this error in Production a few times per day. It is recoverable, but would be great to have this fully resolved. If there is any diagnostic information that we can provide, please let me know. Thanks! |
Apologies @JoeGaggler was a bit backlogged with other issues. Will look into this and reply this week. |
Hi @vinaysurya - any luck tracking this down last week? |
Issue Transfer
This issue has been transferred from the Azure SDK for .NET repository, #45055.
Please be aware that @JoeGaggler is the author of the original issue and include them for any questions or replies.
@xinchen10: From what I can see, it doesn't look like there's any client logic in play here - it just calls
DeclareAsync
on the transaction controller. (src) This follows the same pattern that the T1 library used. (src)Details
Describe the bug
I am experiencing the same issue as reported in #14836 - however that issue is locked, and so I am refiling this bug.
Stacktrace:
Expected behavior
App code appears to be correct and is not throwing exceptions, so the expectation is that the ServiceBus library not throw either.
Actual behavior
Exception is thrown and caught internally, but operations might not be succeeding.
Reproduction Steps
Environment
Azure Container App
Base Image: mcr.microsoft.com/dotnet/aspnet:8.0
The text was updated successfully, but these errors were encountered: