Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Normally, the connection to an HTTP server is closed after each response. Change the network connection and make sure the network is stable when making the request. When the server closes such a connection the client usually reopens it again.

Solutions on the web

via GitHub by Prateek218
, 10 months ago
An existing connection was forcibly closed by the remote host
via Stack Overflow by RO_engineer
, 1 year ago
An existing connection was forcibly closed by the remote host
via Stack Overflow by jiayuqicz
, 8 months ago
via GitHub by Prateek218
, 10 months ago
An existing connection was forcibly closed by the remote host
via GitHub by ctatineni
, 1 year ago
An existing connection was forcibly closed by the remote host
via Google Groups by Shanzs, 1 year ago
An existing connection was forcibly closed by the remote host
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:380)	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:343)	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:118)	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:571)	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:512)	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:426)	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:398)	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)	at java.lang.Thread.run(Thread.java:745)