java.net.SocketException: Connection closed by remote host

Jenkins JIRA | Markus Haas | 6 years 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

    Hello, I tried to configure the jabber-notification-plugin for jenkins. The configuration (account) itself works very well (tested with another jabber-client). If the jabber-plugin tries to connect with our jabber-server following exception occurs: Oct 31, 2011 5:37:37 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Reconnect failed. Next connection attempt in 16 minutes java.net.SocketException: Connection closed by remote host at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1307) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:43) 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) at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76) java.io.EOFException: no more data available - expected end tag </stream:stream> to close start tag <stream:stream> from line 1, parser stopped on END_TAG seen ...ailable xmlns=\'urn:ietf:params:xml:ns:xmpp-stanzas\'/></error></iq>... @1:581 at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:325) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)

    Jenkins JIRA | 6 years ago | Markus Haas
    java.net.SocketException: Connection closed by remote host
  2. 0

    Hello, I tried to configure the jabber-notification-plugin for jenkins. The configuration (account) itself works very well (tested with another jabber-client). If the jabber-plugin tries to connect with our jabber-server following exception occurs: Oct 31, 2011 5:37:37 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Reconnect failed. Next connection attempt in 16 minutes java.net.SocketException: Connection closed by remote host at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1307) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:43) 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) at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76) java.io.EOFException: no more data available - expected end tag </stream:stream> to close start tag <stream:stream> from line 1, parser stopped on END_TAG seen ...ailable xmlns=\'urn:ietf:params:xml:ns:xmpp-stanzas\'/></error></iq>... @1:581 at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:325) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)

    Jenkins JIRA | 6 years ago | Markus Haas
    java.net.SocketException: Connection closed by remote host
  3. 0

    Hotmail SMTP not working with javamail

    Stack Overflow | 5 years ago | yashdosi
    java.lang.RuntimeException: javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: java.net.SocketException: Connection closed by remote host
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am getting "554 Transaction failed" response

    Stack Overflow | 4 years ago | user2903482
    java.net.SocketException: Connection closed by remote host
  6. 0

    Servoy Talk • View topic - Windows Client Disconnecting

    servoy.com | 2 years ago
    java.net.SocketException: Connection closed by remote host

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketException

      Connection closed by remote host

      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite()
    2. Java JSSE
      AppOutputStream.write
      1. com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1307)
      2. com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:43)
      2 frames
    3. Java RT
      FilterWriter.flush
      1. sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
      2. sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
      3. sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
      4. sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
      5. java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
      6. java.io.BufferedWriter.flush(BufferedWriter.java:236)
      7. java.io.FilterWriter.flush(FilterWriter.java:83)
      7 frames
    4. Smack
      PacketWriter$1.run
      1. org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)
      2. org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)
      3. org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76)
      3 frames