java.io.IOException: An existing connection was forcibly closed by the remote host


Solutions on the web

Solution icon of github
via GitHub by Prateek218
, 4 months ago
An existing connection was forcibly closed by the remote host

Solution icon of github
An existing connection was forcibly closed by the remote host

Solution icon of googlegroups
via Google Groups by Shanzs, 8 months ago
An existing connection was forcibly closed by the remote host

Solution icon of github
via GitHub by Prateek218
, 4 months ago
An existing connection was forcibly closed by the remote host

Solution icon of github
via GitHub by Prateek218
, 4 months ago
An existing connection was forcibly closed by the remote host

Solution icon of stackoverflow
An existing connection was forcibly closed by the remote host

Solution icon of stackoverflow
An existing connection was forcibly closed by the remote host

Solution icon of github
via GitHub by jsomerville
, 1 year ago
An existing connection was forcibly closed by the remote host

Solution icon of github
via GitHub by tormodu
, 1 year ago
An existing connection was forcibly closed by the remote host

Solution icon of github
via GitHub by Jerry996666
, 1 year ago
An existing connection was forcibly closed by the remote host

Stack trace

java.io.IOException: An existing connection was forcibly closed by the 
 remote host
	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:379)
	at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
	at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100)
	at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:367)
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:118)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:610)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:551)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:465)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:437)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
	at java.lang.Thread.run(Thread.java:745)

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

Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
361 more bugmates