java.io.IOException: Connection reset by peer

GitHub | stevej | 2 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

    Netty Channel fail when write and flush too many and too fast

    Stack Overflow | 2 years ago | Saboteur Kid
    java.io.IOException: Connection reset by peer
  2. 0

    Netty 4.0 Client/Server Freezes on Connection

    Stack Overflow | 2 years ago | TheCheatgamer1
    java.io.IOException: Connection reset by peer
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    HDFS corrupted on a newly installed cluster - Hortonworks

    hortonworks.com | 6 months ago
    java.io.IOException: Connection reset by peer

  1. Hronom 4 times, last 1 month ago
  2. SteVio1989 2691 times, last 3 weeks ago
  3. Alireza Mohamadi 11 times, last 1 month ago
  4. RoiOtero 1 times, last 2 months ago
  5. chenjunjun 3 times, last 1 month ago
12 more registered users
83 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.io.IOException

    Connection reset by peer

    at sun.nio.ch.FileDispatcherImpl.read0()
  2. Java RT
    SocketChannelImpl.read
    1. sun.nio.ch.FileDispatcherImpl.read0(Native Method)
    2. sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
    3. sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    4. sun.nio.ch.IOUtil.read(IOUtil.java:192)
    5. sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    5 frames
  3. Netty
    SingleThreadEventExecutor$5.run
    1. io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:423)
    2. io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100)
    3. io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:343)
    4. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:118)
    5. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:571)
    6. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:512)
    7. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:426)
    8. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:398)
    9. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)
    9 frames
  4. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  5. finagle-core
    ProxyThreadFactory$$anonfun$newProxiedRunnable$1$$anon$1.run
    1. com.twitter.finagle.util.ProxyThreadFactory$$anonfun$newProxiedRunnable$1$$anon$1.run(ProxyThreadFactory.scala:19)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame