java.io.IOException

Connection reset by peer

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5005

  • Connection reset by peer
  • via GitHub by stringpeng
    , 3 months ago
    Connection reset by peer
  • Connection reset by peer
  • Stack trace

    • java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method)[na:1.8.0_66] at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)[na:1.8.0_66] at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)[na:1.8.0_66] at sun.nio.ch.IOUtil.read(IOUtil.java:192)[na:1.8.0_66] at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)[na:1.8.0_66] at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:357)[netty-buffer-4.0.34.Final.jar:4.0.34.Final] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:898)[netty-buffer-4.0.34.Final.jar:4.0.34.Final] at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242)[netty-all-4.0.34.Final.jar:4.0.34.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119)[netty-all-4.0.34.Final.jar:4.0.34.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[netty-all-4.0.34.Final.jar:4.0.34.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[netty-all-4.0.34.Final.jar:4.0.34.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[netty-all-4.0.34.Final.jar:4.0.34.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[netty-all-4.0.34.Final.jar:4.0.34.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[netty-all-4.0.34.Final.jar:4.0.34.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[netty-all-4.0.34.Final.jar:4.0.34.Final] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_66]

    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

    Unknown user
    Once, 10 months ago
    6813 times, 2 days ago
    4 times, 6 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    146 more bugmates