java.io.IOException: Connection reset by peer

GitHub | lijunyong | 11 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

    Closed Channel Exception with valid p12

    GitHub | 2 years ago | tonicebrian
    java.io.IOException: Connection reset by peer
  2. 0

    部署在linux时,netty会一直抛出一个warn

    GitHub | 11 months ago | lijunyong
    java.io.IOException: Connection reset by peer
  3. 0

    When I deployed to linux and start, after a while netty throws a warn

    GitHub | 11 months ago | lijunyong
    java.io.IOException: Connection reset by peer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    部署在linux时,netty会一直抛出一个warn

    GitHub | 11 months ago | lijunyong
    java.io.IOException: Connection reset by peer
  6. 0

    Netty 4.0 Client/Server Freezes on Connection

    Stack Overflow | 3 years ago | TheCheatgamer1
    java.io.IOException: Connection reset by peer

  1. Hronom 4 times, last 4 months ago
  2. SteVio1989 6005 times, last 4 weeks ago
  3. ivanszkypeter 11 times, last 2 weeks ago
  4. olle.hallin 22 times, last 3 weeks ago
  5. tzrlk 2 times, last 2 months ago
16 more registered users
79 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
    DefaultThreadFactory$DefaultRunnableDecorator.run
    1. io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:311)
    2. io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881)
    3. io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:241)
    4. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119)
    5. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
    6. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
    7. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
    8. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
    9. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
    10. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
    10 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame