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

Google Groups | Unknown author | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Try to query against Kafka Topic and get "socket has likely been closed."

    Google Groups | 8 months ago | Unknown author
    java.io.EOFException: Received -1 when reading from channel, socket has likely been closed.
  2. 0

    Unable to enable TLS using LDAPConnection

    netiq.com | 2 years ago
    java.io.EOFException: BERDecoder: decode: EOF in Identifier at com.novell.ldap.Connection$ReaderThread.run(Unknow n Source)
  3. 0

    Re: Map Reduce Error

    apache.org | 2 years ago
    java.io.EOFException: Premature EOF: no length prefix available at > org.apache.hadoop.hdfs.protocolPB.PBHelper.vintPrefixed(PBHelper.java:1492) at > org.apache.hadoop.hdfs.server.datanode.DataXceiver.writeBlock(DataXceiver.java:511) at > org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opWriteBlock(Receiver.java:115) at > org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp(Receiver.java:68) at > org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:221)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat NIO broken connections

    apache.org | 2 years ago
    java.io.EOFException: Unexpected EOF read on the socket at org.apache.coyote.http11.InternalNioInputBuffer.readSocket(InternalNioInputBuffer.java:447) ~[tomcat-coyote.jar:7.0.55] at org.apache.coyote.http11.InternalNioInputBuffer.fill(InternalNioInputBuffer.java:795) ~[tomcat-coyote.jar:7.0.55] at org.apache.coyote.http11.InternalNioInputBuffer.parseRequestLine(InternalNioInputBuffer.java:227) ~[tomcat-coyote.jar:7.0.55] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:984) ~[tomcat-coyote.jar:7.0.55] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) [tomcat-coyote.jar:7.0.55] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) [tomcat-coyote.jar:7.0.55] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695) [tomcat-coyote.jar:7.0.55] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_67] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.55]
  6. 0

    java and more more more: TimerService - java.io.NotSerializableException

    blogspot.com | 1 year ago
    java.io.EOFException: Read past end of file at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:126) [jboss-marshalling-1.3.11.GA.jar: ] at org.jboss.marshalling.SimpleDataInput.readUnsignedByteDirect(SimpleDataInput.java:263) [jboss-marshalling-1.3.11.GA.jar: ] at org.jboss.marshalling.SimpleDataInput.readIntDirect(SimpleDataInput.java:306) [jboss-marshalling-1.3.11.GA.jar: ] at org.jboss.marshalling.SimpleDataInput.readLongDirect(SimpleDataInput.java:294) [jboss-marshalling-1.3.11.GA.jar: ] at org.jboss.marshalling.SimpleDataInput.readLong(SimpleDataInput.java:289) [jboss-marshalling-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:891) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:905) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1204) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1677) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1593) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1557) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1235) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1677) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1593) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1235) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1677) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1593) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1235) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1677) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1593) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1235) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209) [jboss-marshalling-river-1.3.11.GA.jar: ] at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:72) [jboss-marshalling-1.3.11.GA.jar: ] at org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.loadTimersFromFile(FileTimerPersistence.java:319) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.getTimers(FileTimerPersistence.java:296) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.loadActiveTimers(FileTimerPersistence.java:236) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.loadActiveTimers(FileTimerPersistence.java:253) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3.timerservice.TimerServiceImpl.getActivePersistentTimers(TimerServiceImpl.java:893) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3.timerservice.TimerServiceImpl.restoreTimers(TimerServiceImpl.java:633) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3.timerservice.TimerServiceImpl.start(TimerServiceImpl.java:190) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar: ] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar: ] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_03] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]

    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.io.EOFException

      Received -1 when reading from channel, socket has likely been closed.

      at kafka.utils.Utils$.read()
    2. Apache Kafka
      SimpleConsumer.send
      1. kafka.utils.Utils$.read(Utils.scala:381)
      2. kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54)
      3. kafka.network.Receive$class.readCompletely(Transmission.scala:56)
      4. kafka.network.BoundedByteBufferReceive.readCompletely(BoundedByteBufferReceive.scala:29)
      5. kafka.network.BlockingChannel.receive(BlockingChannel.scala:111)
      6. kafka.consumer.SimpleConsumer.liftedTree1$1(SimpleConsumer.scala:79)
      7. kafka.consumer.SimpleConsumer.kafka$consumer$SimpleConsumer$$sendRequest(SimpleConsumer.scala:68)
      8. kafka.consumer.SimpleConsumer.send(SimpleConsumer.scala:91)
      9. kafka.javaapi.consumer.SimpleConsumer.send(SimpleConsumer.scala:68)
      9 frames
    3. com.facebook.presto
      KafkaSplitManager.getSplits
      1. com.facebook.presto.kafka.KafkaSplitManager.getSplits(KafkaSplitManager.java:83)
      1 frame
    4. presto-main
      QueuedExecution.lambda$start$1
      1. com.facebook.presto.split.SplitManager.getSplits(SplitManager.java:45)
      2. com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitTableScan(DistributedExecutionPlanner.java:112)
      3. com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitTableScan(DistributedExecutionPlanner.java:92)
      4. com.facebook.presto.sql.planner.plan.TableScanNode.accept(TableScanNode.java:135)
      5. com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitAggregation(DistributedExecutionPlanner.java:192)
      6. com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitAggregation(DistributedExecutionPlanner.java:92)
      7. com.facebook.presto.sql.planner.plan.AggregationNode.accept(AggregationNode.java:189)
      8. com.facebook.presto.sql.planner.DistributedExecutionPlanner.plan(DistributedExecutionPlanner.java:78)
      9. com.facebook.presto.sql.planner.DistributedExecutionPlanner.plan(DistributedExecutionPlanner.java:83)
      10. com.facebook.presto.execution.SqlQueryExecution.planDistribution(SqlQueryExecution.java:303)
      11. com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:226)
      12. com.facebook.presto.execution.QueuedExecution.lambda$start$1(QueuedExecution.java:62)
      12 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames