java.net.SocketException: Connection closed by 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

Solutions on the web

via Jenkins JIRA by Markus Haas, 1 year ago
Connection closed by remote host
via Jenkins JIRA by Markus Haas, 1 year ago
Connection closed by remote host
via derekwilliams.us by Unknown author, 1 year ago
Connection closed by remote host
via derekwilliams.us by Unknown author, 2 years ago
Connection closed by remote host
via derekwilliams.us by Unknown author, 2 years ago
Connection closed by remote host
via derekwilliams.us by Unknown author, 2 years ago
Connection closed by remote host
java.net.SocketException: Connection closed by remote host
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1307)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
at java.io.BufferedWriter.flush(BufferedWriter.java:236)
at java.io.FilterWriter.flush(FilterWriter.java:83)
at org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)
at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)

Users with the same issue

You are the first who have seen this exception.

Write tip

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