java.net.ConnectException: Connection timed out

rssing.com | 5 months ago
  1. 0

    Kafka Timeline

    rssing.com | 5 months ago
    java.net.ConnectException: Connection timed out
  2. 0

    GitHub comment 48#32747118

    GitHub | 3 years ago | xianping
    java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 48#32619534

    GitHub | 3 years ago | junrao
    java.net.ConnectException: Connection refused
  5. 0

    kafka consumer and producer - Error connecting to default topics - Hortonworks

    hortonworks.com | 5 months ago
    kafka.common.KafkaException: fetching topic metadata for topics [Set(test)] from broker [ArrayBuffer(id:0,host:losandbox.hortwonworks.com,port:9092)] failed

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ConnectException

      Connection timed out

      at sun.nio.ch.Net.connect()
    2. Java RT
      SocketChannelImpl.connect
      1. sun.nio.ch.Net.connect(Native Method)
      2. sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:525)
      2 frames
    3. Apache Kafka
      ProducerSendThread$$anonfun$processEvents$3.apply
      1. kafka.network.BlockingChannel.connect(BlockingChannel.scala:57)
      2. kafka.producer.SyncProducer.connect(SyncProducer.scala:146)
      3. kafka.producer.SyncProducer.getOrMakeConnection(SyncProducer.scala:161)
      4. kafka.producer.SyncProducer.kafka$producer$SyncProducer$$doSend(SyncProducer.scala:68)
      5. kafka.producer.SyncProducer.send(SyncProducer.scala:112)
      6. kafka.client.ClientUtils$.fetchTopicMetadata(ClientUtils.scala:53)
      7. kafka.producer.BrokerPartitionInfo.updateInfo(BrokerPartitionInfo.scala:82)
      8. kafka.producer.async.DefaultEventHandler$$anonfun$handle$1.apply$mcV$sp(DefaultEventHandler.scala:67)
      9. kafka.utils.Utils$.swallow(Utils.scala:187)
      10. kafka.utils.Logging$class.swallowError(Logging.scala:105)
      11. kafka.utils.Utils$.swallowError(Utils.scala:46)
      12. kafka.producer.async.DefaultEventHandler.handle(DefaultEventHandler.scala:67)
      13. kafka.producer.async.ProducerSendThread.tryToHandle(ProducerSendThread.scala:104)
      14. kafka.producer.async.ProducerSendThread$$anonfun$processEvents$3.apply(ProducerSendThread.scala:87)
      15. kafka.producer.async.ProducerSendThread$$anonfun$processEvents$3.apply(ProducerSendThread.scala:67)
      15 frames
    4. Scala
      Stream.foreach
      1. scala.collection.immutable.Stream.foreach(Stream.scala:548)
      1 frame
    5. Apache Kafka
      ProducerSendThread.run
      1. kafka.producer.async.ProducerSendThread.processEvents(ProducerSendThread.scala:66)
      2. kafka.producer.async.ProducerSendThread.run(ProducerSendThread.scala:44)
      2 frames