java.io.EOFException: Received -1 when reading from channel, socket has likely been closed.

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

Solutions on the web

via kafka-users by Jun Rao, 5 months ago
Received -1 when reading from channel, socket has likely been closed.
via kafka-users by Jun Rao, 5 months ago
Received -1 when reading from channel, socket has likely been closed.
via GitHub by tymofii-polekhin
, 2 years ago
Received -1 when reading from channel, socket has likely been closed.
via chinahadoop.cn by Unknown author, 1 year ago
via GitHub by jarretraim
, 8 months ago
Received -1 when reading from channel, socket has likely been closed.
via Google Groups by Unknown author, 6 months ago
Received -1 when reading from channel, socket has likely been closed.
java.io.EOFException: Received -1 when reading from channel, socket has likely been closed.
at kafka.utils.Utils$.read(Utils.scala:381)
at kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54)
at kafka.network.Receive$class.readCompletely(Transmission.scala:56)
at kafka.network.BoundedByteBufferReceive.readCompletely(BoundedByteBufferReceive.scala:29)
at kafka.network.BlockingChannel.receive(BlockingChannel.scala:108)
at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:146)
at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:60)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.