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.

Kafka Manager API timing out

See original GitHub issue

I have deployed kafka manager in several environments, while it works in all non production environments it keeps timing out when we try to access any topic level information in the production environment.

2015-10-21 17:16:46,276 - [ERROR] - from kafka.manager.ApiError in pool-3-thread-2 
error : Ask timed out on [ActorSelection[Anchor(akka://kafka-manager-system/), Path(/user/kafka-manager)]] after [90000 ms]
akka.pattern.AskTimeoutException: Ask timed out on [ActorSelection[Anchor(akka://kafka-manager-system/), Path(/user/kafka-manager)]] after [90000 ms]
        at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:334) ~[com.typesafe.akka.akka-actor_2.11-2.3.10.jar:na]
        at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:117) ~[com.typesafe.akka.akka-actor_2.11-2.3.10.jar:na]
        at scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:599) ~[org.scala-lang.scala-library-2.11.7.jar:na]
        at scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109) ~[org.scala-lang.scala-library-2.11.7.jar:na]
        at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:597) ~[org.scala-lang.scala-library-2.11.7.jar:na]
        at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(Scheduler.scala:467) ~[com.typesafe.akka.akka-actor_2.11-2.3.10.jar:na]
        at akka.actor.LightArrayRevolverScheduler$$anon$8.executeBucket$1(Scheduler.scala:419) ~[com.typesafe.akka.akka-actor_2.11-2.3.10.jar:na]
        at akka.actor.LightArrayRevolverScheduler$$anon$8.nextTick(Scheduler.scala:423) ~[com.typesafe.akka.akka-actor_2.11-2.3.10.jar:na]
        at akka.actor.LightArrayRevolverScheduler$$anon$8.run(Scheduler.scala:375) ~[com.typesafe.akka.akka-actor_2.11-2.3.10.jar:na]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]

  • I can manually connect to kafka and zookeeper fine from the box where kafka manager is installed. I have also seen kafka manager to work a couple of times without timeouts.
  • I’m trying to connect to a 10 node kafka cluster + 5 node zookeeper cluster.
  • Kafka manager also gets into a stuck state if I try to update the cluster information.
  • Also tried with a timeout of 2 mins as against the default 5 secs, but no joy.

I can’t seem to understand why there would be timeouts especially since the kafka manager and kafka nodes are all in the same internal network. Any pointers in finding the root cause?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6

github_iconTop GitHub Comments

11reactions
radutanasacommented, Jan 27, 2016

I’m experiencing the exact same problem and unfortunately enabling the active offsetcache doesn’t fix it. Is there another workaround?

2reactions
josephfranciscommented, Nov 9, 2015

screen shot 2015-11-09 at 15 22 44

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Timeout Error When Using kafka-console-consumer ...
Solved: I recently installed Kafka onto an already secured cluster. I've configured Kafka to use Kerberos and - 58061.
Read more >
Introduction to librdkafka - the Apache Kafka C/C++ client library
Same reasons as for Timed out in transmission queue above, with the difference that the message may have been sent to the broker...
Read more >
Documentation - Apache Kafka
The socket timeout for commands from the partition management controller to the replicas. controller.message.queue.size, 10, The buffer size for controller-to- ...
Read more >
Yahoo manager error using Docker Ask timed out on ...
I am setting ´Yikes! Ask timed out on [ActorSelection[Anchor(akka://kafka-manager-system/), Path(/user/kafka-manager/test_cluster/kafka- ...
Read more >
Kafka Connector | Increasing Maximum Wait timeout
Kafka Batch Listener needs to have a long maximum wait period but stops processing after 10 minutes.
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