java.io.IOException: Connection reset by peer

Google Groups | Naveen C N | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to manager 10-continue server response in asynchttpclient?

    Google Groups | 2 years ago | Naveen C N
    java.io.IOException: Connection reset by peer
  2. 0

    Exceptions i loggen i forbindelse med hentning af oplysninger om SIP konto

    GitHub | 2 years ago | michaelkrog
    org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer
  3. 0

    java.io.IOException: Connection reset by peer

    Oracle Community | 3 years ago | rade.todorovich
    java.io.IOException: Connection reset by peer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Dealing with Cometd exceptions

    Stack Overflow | 2 years ago
    java.io.IOException: Connection reset by peer
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.write0()
  2. Java RT
    SocketChannelImpl.write
    1. sun.nio.ch.FileDispatcherImpl.write0(Native Method)[na:1.8.0_25]
    2. sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)[na:1.8.0_25]
    3. sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)[na:1.8.0_25]
    4. sun.nio.ch.IOUtil.write(IOUtil.java:65)[na:1.8.0_25]
    5. sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:470)[na:1.8.0_25]
    5 frames
  3. Asynchronous Http Client
    BodyFileRegion.transferTo
    1. com.ning.http.client.multipart.MultipartUtils.writeBytesToChannel(MultipartUtils.java:130)[async-http-client-1.9.19.jar:na]
    2. com.ning.http.client.multipart.ByteArrayPart.write(ByteArrayPart.java:75)[async-http-client-1.9.19.jar:na]
    3. com.ning.http.client.multipart.MultipartBody.transferTo(MultipartBody.java:86)[async-http-client-1.9.19.jar:na]
    4. com.ning.http.client.providers.netty.request.body.BodyFileRegion.transferTo(BodyFileRegion.java:47)[async-http-client-1.9.19.jar:na]
    4 frames
  4. Netty
    AbstractChannel.write
    1. org.jboss.netty.channel.socket.nio.SocketSendBufferPool$FileSendBuffer.transferTo(SocketSendBufferPool.java:331)[netty-3.10.1.Final.jar:na]
    2. org.jboss.netty.channel.socket.nio.AbstractNioWorker.write0(AbstractNioWorker.java:201)[netty-3.10.1.Final.jar:na]
    3. org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:146)[netty-3.10.1.Final.jar:na]
    4. org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:84)[netty-3.10.1.Final.jar:na]
    5. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)[netty-3.10.1.Final.jar:na]
    6. org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:60)[netty-3.10.1.Final.jar:na]
    7. org.jboss.netty.handler.codec.http.HttpClientCodec.handleDownstream(HttpClientCodec.java:97)[netty-3.10.1.Final.jar:na]
    8. org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)[netty-3.10.1.Final.jar:na]
    9. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:784)[netty-3.10.1.Final.jar:na]
    10. org.jboss.netty.handler.stream.ChunkedWriteHandler.flush(ChunkedWriteHandler.java:280)[netty-3.10.1.Final.jar:na]
    11. org.jboss.netty.handler.stream.ChunkedWriteHandler.handleDownstream(ChunkedWriteHandler.java:121)[netty-3.10.1.Final.jar:na]
    12. org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)[netty-3.10.1.Final.jar:na]
    13. org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)[netty-3.10.1.Final.jar:na]
    14. org.jboss.netty.channel.Channels.write(Channels.java:704)[netty-3.10.1.Final.jar:na]
    15. org.jboss.netty.channel.Channels.write(Channels.java:671)[netty-3.10.1.Final.jar:na]
    16. org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)[netty-3.10.1.Final.jar:na]
    16 frames
  5. Asynchronous Http Client
    Processor.messageReceived
    1. com.ning.http.client.providers.netty.request.body.NettyBodyBody.write(NettyBodyBody.java:79)[async-http-client-1.9.19.jar:na]
    2. com.ning.http.client.providers.netty.request.NettyRequestSender.writeRequest(NettyRequestSender.java:338)[async-http-client-1.9.19.jar:na]
    3. com.ning.http.client.providers.netty.handler.HttpProtocol.exitAfterHandling100(HttpProtocol.java:279)[async-http-client-1.9.19.jar:na]
    4. com.ning.http.client.providers.netty.handler.HttpProtocol.handleHttpResponse(HttpProtocol.java:433)[async-http-client-1.9.19.jar:na]
    5. com.ning.http.client.providers.netty.handler.HttpProtocol.handle(HttpProtocol.java:480)[async-http-client-1.9.19.jar:na]
    6. com.ning.http.client.providers.netty.handler.Processor.messageReceived(Processor.java:89)[async-http-client-1.9.19.jar:na]
    6 frames
  6. Netty
    DeadLockProofWorker$1.run
    1. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.10.1.Final.jar:na]
    2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.10.1.Final.jar:na]
    3. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.10.1.Final.jar:na]
    4. org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:142)[netty-3.10.1.Final.jar:na]
    5. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.10.1.Final.jar:na]
    6. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.10.1.Final.jar:na]
    7. org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:63)[netty-3.10.1.Final.jar:na]
    8. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.10.1.Final.jar:na]
    9. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.10.1.Final.jar:na]
    10. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.10.1.Final.jar:na]
    11. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)[netty-3.10.1.Final.jar:na]
    12. org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)[netty-3.10.1.Final.jar:na]
    13. org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)[netty-3.10.1.Final.jar:na]
    14. org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)[netty-3.10.1.Final.jar:na]
    15. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.10.1.Final.jar:na]
    16. org.jboss.netty.handler.codec.http.HttpClientCodec.handleUpstream(HttpClientCodec.java:92)[netty-3.10.1.Final.jar:na]
    17. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.10.1.Final.jar:na]
    18. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)[netty-3.10.1.Final.jar:na]
    19. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)[netty-3.10.1.Final.jar:na]
    20. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)[netty-3.10.1.Final.jar:na]
    21. org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)[netty-3.10.1.Final.jar:na]
    22. org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)[netty-3.10.1.Final.jar:na]
    23. org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)[netty-3.10.1.Final.jar:na]
    24. org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)[netty-3.10.1.Final.jar:na]
    25. org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)[netty-3.10.1.Final.jar:na]
    26. org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)[netty-3.10.1.Final.jar:na]
    27. org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)[netty-3.10.1.Final.jar:na]
    27 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_25]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_25]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_25]
    3 frames