java.io.IOException: Connection to Broker 1:9092 (id: 1 rack: null) failed


Solutions on the web

Solution icon of googlegroups
Connection to Broker 1:9092 (id: 1 rack: null) failed

Solution icon of stackoverflow
Connection to ef447651b07a:9092 (id: 1 rack: null) failed

Solution icon of stackoverflow
via Stack Overflow by user1578872
, 3 months ago
Connection to <HOST:PORT> (id: 1 rack: null) failed

Solution icon of googlegroups
via Google Groups by Tianxiang Xiong, 6 months ago
Connection to 192.168.10.103:9092 (id: 0 rack: null) failed

Solution icon of stackoverflow
Connection to host2:9093 (id: 1 rack: null) failed

Solution icon of googlegroups
via Google Groups by Tianxiang Xiong, 5 months ago
Connection to localhost:9094 (id: 2 rack: null) failed

Solution icon of googlegroups
via Google Groups by Simon Frey, 9 months ago
Connection to [myhost]:9093 (id: 0 rack: null) failed

Stack trace

java.io.IOException: Connection to Broker 1:9092 (id: 1 rack: null) failed
	at kafka.utils.NetworkClientBlockingOps$.awaitReady$1(NetworkClientBlockingOps.scala:83)
	at kafka.utils.NetworkClientBlockingOps$.blockingReady$extension(NetworkClientBlockingOps.scala:93)
	at kafka.server.ReplicaFetcherThread.sendRequest(ReplicaFetcherThread.scala:248)
	at kafka.server.ReplicaFetcherThread.fetch(ReplicaFetcherThread.scala:238)
	at kafka.server.ReplicaFetcherThread.fetch(ReplicaFetcherThread.scala:42)
	at kafka.server.AbstractFetcherThread.processFetchRequest(AbstractFetcherThread.scala:118)
	at kafka.server.AbstractFetcherThread.doWork(AbstractFetcherThread.scala:103)
	at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:63)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

20 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
125 times, 8 months ago