I'm glad to see you were able to resolve your issue. Thanks for posting your solution so that others experiencing the same thing can easily reference this.
Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.
Issue: You observed communication issue with azure service bus from your application and observed below error. om.azure.messaging.servicebus.ServiceBusException: Retries exhausted: 3/3 at com.azure.messaging.servicebus.ServiceBusSenderAsyncClient.mapError(ServiceBusSenderAsyncClient.java:823)
Resolve: Suggested to review the below
- Check if there are any network issues or firewall settings that might be blocking the connection. You can try to connect to the Service Bus from a different network or machine to see if the problem persists. It might be your client network blocking the connection to the service bus
- Check if there are any server-side issues with the Service Bus. You can check the Service Bus status page to see if there are any known issues or outages.
Suggested to review it with your networking team to confirm if there is any networking causing this behavior using the network traces.
You found that there was a firewall rule that was missing and blocking the connectivity from our client app to Azure service bus.