Hello Priyanka Chadha,
The error you’re seeing means that the connection to Azure Service Bus was reset by the remote host. In most cases this is a transient network issue and can be resolved with the following steps:
Enable retries: The SDK has built-in retry policies to handle these transient errors automatically.
Check network access: Make sure outbound traffic on ports 5671 (AMQP over TLS) or 443 (WebSockets) is allowed and not blocked by a firewall, proxy, or NSG.
Reuse connections: Create and reuse a single ServiceBusClient
instead of opening many new connections, as too many concurrent connections can cause resets.
Stay updated: Use the latest Azure.Messaging.ServiceBus
SDK and supported .NET runtime.
Check Azure status & logs: Confirm there are no service issues in your region and use Azure Monitor logs/metrics to see if resets follow a pattern.
This exception doesn’t mean your Service Bus is broken—it’s a common, expected transient error. The best fix is retry logic + stable network configuration.
For your reference, please follow the documentation provided below.
Handle Service Bus Exceptions
Troubleshooting guide for Azure Service Bus
Best Practices for performance improvements using Service Bus Messaging
Hope this helps!