Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,

    Check if your MariaDB is running and available.

Solutions on the web

via Google Groups by Hagen Rother, 1 year ago
via Google Groups by Jithin Thomas, 1 year ago
java.net.ConnectException: Connection refused at com.google.common.base.Throwables.propagate(Throwables.java:160)[druid-services-0.9.1.1-selfcontained.jar:0.9.1.1] at io.druid.indexing.kafka.KafkaIndexTaskClient.submitRequest(KafkaIndexTaskClient.java:328)[druid-kafka-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.kafka.KafkaIndexTaskClient.submitRequest(KafkaIndexTaskClient.java:233)[druid-kafka-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.kafka.KafkaIndexTaskClient.getStartTime(KafkaIndexTaskClient.java:156)[druid-kafka-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.kafka.supervisor.KafkaSupervisor.getTaskStartTime(KafkaSupervisor.java:1218)[druid-kafka-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.kafka.supervisor.KafkaSupervisor.updateTaskStatus(KafkaSupervisor.java:708)[druid-kafka-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.kafka.supervisor.KafkaSupervisor.runInternal(KafkaSupervisor.java:457)[druid-kafka-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.kafka.supervisor.KafkaSupervisor$RunNotice.handle(KafkaSupervisor.java:409)[druid-kafka-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.kafka.supervisor.KafkaSupervisor$2.run(KafkaSupervisor.java:261)[druid-kafka-indexing-service-0.9.1.1.jar:0.9.1.1] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_45] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_45]Caused by: java.net.ConnectException: Connectionrefused at java.net.PlainSocketImpl.socketConnect(NativeMethod)[?:1.8.0_45] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)[?:1.8.0_45] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[?:1.8.0_45] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[?:1.8.0_45] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[?:1.8.0_45] at java.net.Socket.connect(Socket.java:589)[?:1.8.0_45] at java.net.Socket.connect(Socket.java:538)[?:1.8.0_45] at java.net.Socket.<init>(Socket.java:434)[?:1.8.0_45] at java.net.Socket.<init>(Socket.java:211)[?:1.8.0_45] at io.druid.indexing.kafka.KafkaIndexTaskClient.checkConnection(KafkaIndexTaskClient.java:228)[?:?] at io.druid.indexing.kafka.KafkaIndexTaskClient.submitRequest(KafkaIndexTaskClient.java:264)[?:?] ... 12 more