Azure / Azure/azure-service-bus-java

Error in logs while using QueueClient

Open
#268 2 comments 4 reactions 1 assignee Claimed by @yvgopal View on GitHub
enhancement
Dominant language
Java
Stars
62
Forks
63
PR merge metrics
No merged PRs in 30d

Description

**Focus on exceptions**
I have created an instance of QueueClient. In running server application.
After some time I get several errors in logs. While doing nothing with QueueClient.
Error message:

c.m.a.s.primitives.RequestResponseLink : Internal receive link of requestresponselink to '$cbs' closed with error.

```
com.microsoft.azure.servicebus.primitives.ServiceBusException: Error{condition=amqp:connection:forced, description='The connection was inactive for more than the allowed 60000 milliseconds and is closed by container 'LinkTracker'. #########, Timestamp:8/22/2018 12:13:51 PM', info=null}
at com.microsoft.azure.servicebus.primitives.ExceptionUtil.toException(ExceptionUtil.java:113)
at com.microsoft.azure.servicebus.primitives.RequestResponseLink$InternalReceiver.onClose(RequestResponseLink.java:636)
at com.microsoft.azure.servicebus.amqp.BaseLinkHandler.processOnClose(BaseLinkHandler.java:68)
at com.microsoft.azure.servicebus.amqp.BaseLinkHandler.onLinkRemoteClose(BaseLinkHandler.java:42)
at org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:176)
at org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108)
at org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:309)
at org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:276)
at com.microsoft.azure.servicebus.primitives.MessagingFactory$RunReactor.run(MessagingFactory.java:481)
at java.lang.Thread.run(Thread.java:748)

```

**Describe the bug**
In issue #86 it described as "normal behavior".
There should NO error messages if it is normal case and I don't need to perform any actions from my side.

**To Reproduce**
Just create QueueClient instance and wait for error in logs.

**Expected behavior**
No errors should be in logs, unless something wrong happen and I need to change implementation/configuration.

**Environment (please complete the following information):**
- SDK Version 1.2.7
- Java 8

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.