Bug Report
Periodically (every few months), we see the following error in one of our services.
Error{Condition: amqp:not-allowed, Description: The AMQP object in-connection656105([SERVER NAME REDACTED]) is closing. Operation 'begin' cannot be performed., Info: map[]}
We get this error in both our receive loop and when sending a message. The receive loop seems to recover on the next iteration of the loop. Sending doesn't recover - we don't see any successful sends from the service instance until it's restarted.
- What did you expect or want to happen?
SDK either shouldn't error in this situation or should successfully recover/retry.
Unfortunately, we've not been able to reliably reproduce.
- Anything we should know about your environment.
This is a microservice running in Kubernetes (AKS). Container image has debian:12 as a base image. Each service opens a single connection (azservicebus.NewClientFromConnectionString), then one Sender per topic/queue and one Receiver per topic subscription/queue. These all have a lifetime of the whole service process.
Bug Report
import path of package in question:
"github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus"SDK version:
v1.8.1output of
go version:go version go1.26.1What happened?
Periodically (every few months), we see the following error in one of our services.
We get this error in both our receive loop and when sending a message. The receive loop seems to recover on the next iteration of the loop. Sending doesn't recover - we don't see any successful sends from the service instance until it's restarted.
SDK either shouldn't error in this situation or should successfully recover/retry.
Unfortunately, we've not been able to reliably reproduce.
This is a microservice running in Kubernetes (AKS). Container image has
debian:12as a base image. Each service opens a single connection (azservicebus.NewClientFromConnectionString), then oneSenderper topic/queue and oneReceiverper topic subscription/queue. These all have a lifetime of the whole service process.