java.io.IOException: Une connexion existante a dû être fermée par l’hôte distant at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch. SocketDispatcher.read(SocketDispatcher.java:43) at sun.nio.ch.IOUtil. readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java: 192) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at io. netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf. java:288) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java :1054) at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes( NioSocketChannel.java:245) at io.netty.channel.nio. AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:106)

Google Groups | Unknown author | 10 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

    Simple Sample, bu "An existing connection was forcibly closed by the remote host"

    Google Groups | 10 months ago | Unknown author
    java.io.IOException: Une connexion existante a dû être fermée par l’hôte distant at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch. SocketDispatcher.read(SocketDispatcher.java:43) at sun.nio.ch.IOUtil. readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java: 192) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at io. netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf. java:288) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java :1054) at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes( NioSocketChannel.java:245) at io.netty.channel.nio. AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:106)

    Root Cause Analysis

    1. java.io.IOException

      Une connexion existante a dû être fermée par l’hôte distant at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch. SocketDispatcher.read(SocketDispatcher.java:43) at sun.nio.ch.IOUtil. readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java: 192) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at io. netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf. java:288) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java :1054) at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes( NioSocketChannel.java:245) at io.netty.channel.nio. AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:106)

      at io.netty.channel.nio.NioEventLoop.processSelectedKey()
    2. Netty
      NioEventLoop.processSelectedKeysOptimized
      1. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:527)
      2. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:484)
      2 frames