question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUERY] AmqpEventHubConsumer.IdleTimerExpired in Java EventHubConsumer SDK

See original GitHub issue

Query/Question I am getting ERRORS of the type

The link 'G17:0000000:15_b00c67_1589608397028' is force detached. Code: ServerError. Details: AmqpEventHubConsumer.IdleTimerExpired: Idle timeout: 00:30:00.
  • This ERROR is not thrown back to the application. Does this mean I am not supposed to handle it? Along with this, a few other ERRORS are also popping up.
05:32:17 [single-1] ERROR c.a.c.a.i.ReactorReceiver - connectionId[MF_2e3c67_1589612249281] linkName[15_b00c67_1589608397028] entityPath[click/ConsumerGroups/eventhub-sdk-test/Partitions/15] Error occurred in link.
The link 'G17:6442759:15_b00c67_1589608397028' is force detached. Code: ServerError. Details: AmqpEventHubConsumer.IdleTimerExpired: Idle timeout: 00:30:00. TrackingId:af954c3400018d94002b871e5ec0c559_G17_B5, SystemTracker:some-namespace:eventhub:click~16383|eventhub-sdk-test, Timestamp:2020-05-17T05:32:17, errorContext[NAMESPACE: some-namespace.servicebus.windows.net, PATH: click/ConsumerGroups/eventhub-sdk-test/Partitions/15, REFERENCE_ID: 15_b00c67_1589608397028, LINK_CREDIT: 0]
05:48:39 [single-1] WARN  c.a.c.a.i.h.ConnectionHandler - onTransportError hostname[some-namespace.servicebus.windows.net:5671], connectionId[MF_2d05f1_1589608387087], error[Connection timed out]
05:48:39 [single-1] ERROR c.a.c.a.i.ReactorConnection - connectionId[MF_2d05f1_1589608387087] Error occurred in connection handler.
Connection timed out, errorContext[NAMESPACE: some-namespace.servicebus.windows.net]
05:49:39 [single-1] WARN  c.a.c.a.i.h.ConnectionHandler - onTransportError hostname[some-namespace.servicebus.windows.net:5671], connectionId[MF_3e0104_1589608297028], error[Connection timed out]
05:49:39 [single-1] ERROR c.a.c.a.i.ReactorConnection - connectionId[MF_3e0104_1589608297028] Error occurred in connection handler.
Connection timed out, errorContext[NAMESPACE: some-namespace.servicebus.windows.net]
05:49:41 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:49:41 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:49:51 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:49:51 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:50:01 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:50:01 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:50:11 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:50:11 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:50:21 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:50:21 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:50:31 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:50:31 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:50:39 [single-1] WARN  c.a.c.a.i.h.ConnectionHandler - onTransportError hostname[some-namespace.servicebus.windows.net:5671], connectionId[MF_5b49bb_1589694519655], error[org.apache.qpid.proton.engine.TransportException: connection aborted]
05:50:39 [single-1] ERROR c.a.c.a.i.ReactorConnection - connectionId[MF_5b49bb_1589694519655] Error occurred in connection handler.
errorCondition[amqp:connection:framing-error]. description[org.apache.qpid.proton.engine.TransportException: connection aborted], errorContext[NAMESPACE: some-namespace.servicebus.windows.net]
05:50:41 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:50:41 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:50:51 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:50:51 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:51:01 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:51:01 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:51:11 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:51:11 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:51:21 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:51:21 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:51:31 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:51:31 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:51:39 [single-1] WARN  c.a.c.a.i.h.ConnectionHandler - onTransportError hostname[some-namespace.servicebus.windows.net:5671], connectionId[MF_84186c_1589694579804], error[org.apache.qpid.proton.engine.TransportException: connection aborted]
05:51:39 [single-1] ERROR c.a.c.a.i.ReactorConnection - connectionId[MF_84186c_1589694579804] Error occurred in connection handler.
errorCondition[amqp:connection:framing-error]. description[org.apache.qpid.proton.engine.TransportException: connection aborted], errorContext[NAMESPACE: some-namespace.servicebus.windows.net]
05:51:41 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:51:41 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:51:51 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:51:51 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:52:01 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:52:01 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:52:11 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:52:11 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:52:21 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:52:21 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:52:31 [parallel-1] ERROR c.a.m.e.PartitionBasedLoadBalancer - There are no partitions in Event Hub click
05:52:31 [parallel-1] ERROR a.e.h.Error - There are no partitions in Event Hub click
05:53:50 [parallel-1] WARN  c.a.c.a.i.RetryUtil - Retry attempts are exhausted. Current: 3. Max: 4.
05:53:50 [elastic-20] ERROR r.c.p.Operators - Operator called default onErrorDropped
java.util.concurrent.TimeoutException: Did not observe any item or terminal signal within 60000ms in 'takeUntil' (and no fallback has been configured)
	at reactor.core.publisher.FluxTimeout$TimeoutMainSubscriber.handleTimeout(FluxTimeout.java:289)
	at reactor.core.publisher.FluxTimeout$TimeoutMainSubscriber.doTimeout(FluxTimeout.java:274)
	at reactor.core.publisher.FluxTimeout$TimeoutTimeoutSubscriber.onNext(FluxTimeout.java:396)
	at reactor.core.publisher.StrictSubscriber.onNext(StrictSubscriber.java:89)
	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:73)
	at reactor.core.publisher.MonoDelay$MonoDelayRunnable.run(MonoDelay.java:117)
	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68)
	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
05:53:50 [elastic-20] ERROR r.c.s.Schedulers - Scheduler worker in group main failed with an uncaught exception
java.util.concurrent.TimeoutException: Did not observe any item or terminal signal within 60000ms in 'takeUntil' (and no fallback has been configured)
	at reactor.core.publisher.FluxTimeout$TimeoutMainSubscriber.handleTimeout(FluxTimeout.java:289)
	at reactor.core.publisher.FluxTimeout$TimeoutMainSubscriber.doTimeout(FluxTimeout.java:274)
	at reactor.core.publisher.FluxTimeout$TimeoutTimeoutSubscriber.onNext(FluxTimeout.java:396)
	at reactor.core.publisher.StrictSubscriber.onNext(StrictSubscriber.java:89)
	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:73)
	at reactor.core.publisher.MonoDelay$MonoDelayRunnable.run(MonoDelay.java:117)
	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68)
	at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

I am unable to reproduce it on my own and the issue seems to be happening intermittently with no pattern (or atleast I haven’t been able to recognize it).

What am I supposed to do for these ERRORs?

Why is this not a Bug or a feature Request? Couldn’t reproduce it on my own.

Setup (please complete the following information if applicable):

  • Version of the Library used: 5.1.0

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Query Added
  • Setup information Added

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
srnagarcommented, Jun 3, 2020

@shubhambhattar The new version is expected to be released next week. I will update this issue when it’s released.

1reaction
srnagarcommented, May 26, 2020

@shubhambhattar The error seems to happen when the network connection is lost temporarily and the receiver fails to recover even after the connection is restored. I have a PR open to fix this issue. https://github.com/Azure/azure-sdk-for-java/pull/11432

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Event Hubs client library for Java - Microsoft Learn
Azure SDK for Java supports an Azure Identity package, making it easy to get credentials from Microsoft identity platform.
Read more >
Programmatically query Event Hub Consumer Group (and ...
Does anyone know how to query and create consumer groups in Azure Event Hubs using the .NET SDK. You could try to install...
Read more >
【事件中心Azure Event Hub】Event Hub Java SDK的消费端 ...
AmqpEventHubConsumer.IdleTimerExpired in Java EventHubConsumer SDK:https://github.com/Azure/azure-sdk-for-java/issues/11233.
Read more >
[QUERY] AmqpEventHubConsumer ... - GitCodeAsk
Query /QuestionI am getting ERRORS of the typeThe link ... IdleTimerExpired in Java EventHubConsumer SDK - azure-sdk-for-java.
Read more >
Azure Event Hubs - Apache Camel
with the following path and query parameters: ... control the number of events the Event Hub consumer will actively receive and queue locally...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found