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

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

,

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 Stack Overflow by Felipe Gutierrez
, 1 year ago
An existing connection was forcibly closed by the remote host
via Google Groups by fadi saoudi, 1 year ago
An existing connection was forcibly closed by the remote host
via nabble.com by Unknown author, 2 years ago
An existing connection was forcibly closed by the remote host
via Google Groups by wezzax, 5 months ago
An existing connection was forcibly closed by the > > remote host
via igniterealtime.org by Unknown author, 2 years ago
An existing connection was forcibly closed by the remote host
via blackberry.com by Unknown author, 2 years 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:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
at org.jscsi.parser.ProtocolDataUnit.read(ProtocolDataUnit.java:417)
at org.jscsi.target.connection.TargetSenderWorker.receiveFromWire(TargetSenderWorker.java:145)
at org.jscsi.target.connection.Connection$TargetConnection.receivePdu(Connection.java:217)
at org.jscsi.target.connection.phase.TargetFullFeaturePhase.execute(TargetFullFeaturePhase.java:96)
at org.jscsi.target.connection.Connection$TargetConnection.call(Connection.java:264)
at org.jscsi.target.connection.Connection$TargetConnection.call(Connection.java:79)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

13 times, 1 week ago
6948 times, 1 month ago
Once, 1 month ago
3 times, 5 months ago
15 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.