Azure / Azure/azure-sdk-for-java
[BUG] Azure Service Bus: com.azure.core.http.policy.RetryPolicy: {"az.sdk.message":"Retry attempts have been exhausted.","exception":"io.netty.channel.ConnectTimeoutException: connection timed out after 10000 ms}
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 199
Description
**Describe the bug**
spring cloud stream binder service bus failing after upgrading to 5.19.0 from 5.17.0
***Exception or Stack Trace***
```
WARN 2025-07-31 03:29:39,829 com.azure.core.amqp.implementation.RequestResponseChannel: {"az.sdk.message":"Error in SendLinkHandler. Disposing unconfirmed sends.","exception":"The connection was closed by container 'xxxx' because it did not have any active links in the past 60000 milliseconds. }
WARN 2025-07-31 03:29:39,829 com.azure.core.amqp.implementation.ReactorSession: {"az.sdk.message":"Session endpoint state signaled error.","exception":"onSessionRemoteClose connectionId[MF_3ec778_1753932518912], entityName[cbs-session] condition[Error{condition=amqp:connection:forced, description='The connection was closed by container 'xxx' because it did not have any active links in the past 60000 milliseconds }
ERROR 2025-07-31 03:29:51,301 com.azure.core.http.netty.NettyAsyncHttpClient: io.netty.channel.ConnectTimeoutException: connection timed out after 10000 ms
ERROR 2025-07-31 03:29:51,302 com.azure.core.http.policy.RetryPolicy: {"az.sdk.message":"Retry attempts have been exhausted.","exception":"io.netty.channel.ConnectTimeoutException: connection timed out after 10000 ms","tryCount":3}
ERROR 2025-07-31 03:29:51,302 com.azure.core.http.policy.RetryPolicy: io.netty.channel.ConnectTimeoutException: connection timed out after 10000 ms
ERROR 2025-07-31 03:29:52,758 com.azure.core.http.netty.NettyAsyncHttpClient: io.netty.channel.ConnectTimeoutException: connection timed out after 10000 ms
ERROR 2025-07-31 03:29:56,197 com.azure.core.http.netty.NettyAsyncHttpClient: io.netty.channel.ConnectTimeoutException: connection timed out after 10000 ms
WARN 2025-07-31 03:29:58,914 com.azure.core.amqp.implementation.MessageFlux: {"az.sdk.message":"Downstream cancellation signal arrived at MessageFlux.","messageFlux":"xxxxx"}
```
***Libraries Installed***
- spring-cloud-azure-stream-binder-servicebus:5.19.0
- spring-cloud-azure-stream-binder-eventhubs:5.19.0
- spring-cloud-stream-binder-kafka:4.1.0
**Setup (please complete the following information):**
- Library/Libraries: spring-cloud-azure-stream-binder-servicebus
- Java version: 21
- Frameworks: SpringBoot 3.4.8
Contributor guide
Assessment
This issue has not been assessed yet.