java.net.SocketException: Connection reset

Jenkins JIRA | Peter Lillevold | 4 years ago
  1. 0

    UnknownHost Exception with Linux master and window slave

    Google Groups | 4 years ago | Varghese Renny
    java.net.SocketException: Connection reset
  2. 0

    I have a JNLP slave running on a remote Windows server. Due to the fact that communication goes over the internet, at times the connectivity between the master and the slave will be broken. When connectivity is reestablished though the slave will not try to reconnect with the master. A reset of the Windows service hosting the slave re-established connection and the slave becomes available in the master. An error message is recorded here. This error as far as I can see occurs at the time network connectivity is lost, and the "INFO: Terminated" shows that slave indeed have "died". NOTE: even though the Java code has terminated, the Windows service is still running. feb 17, 2013 3:33:18 AM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Hudson agent is running in headless mode. feb 17, 2013 3:33:18 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [https://externalyavailabledomain/build/, http://internalmasterserver:8080/build/] feb 17, 2013 3:33:19 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to externalyavailabledomain:50456 feb 17, 2013 3:33:19 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking feb 17, 2013 3:33:19 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected feb 17, 2013 1:59:20 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel channel java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) feb 17, 2013 1:59:20 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated

    Jenkins JIRA | 4 years ago | Peter Lillevold
    java.net.SocketException: Connection reset
  3. 0

    Jenkins users - UnknownHost Exception with Linux master and window slave

    nabble.com | 8 months ago
    java.net.SocketException: Connection reset
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have a JNLP slave running on a remote Windows server. Due to the fact that communication goes over the internet, at times the connectivity between the master and the slave will be broken. When connectivity is reestablished though the slave will not try to reconnect with the master. A reset of the Windows service hosting the slave re-established connection and the slave becomes available in the master. An error message is recorded here. This error as far as I can see occurs at the time network connectivity is lost, and the "INFO: Terminated" shows that slave indeed have "died". NOTE: even though the Java code has terminated, the Windows service is still running. feb 17, 2013 3:33:18 AM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Hudson agent is running in headless mode. feb 17, 2013 3:33:18 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [https://externalyavailabledomain/build/, http://internalmasterserver:8080/build/] feb 17, 2013 3:33:19 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to externalyavailabledomain:50456 feb 17, 2013 3:33:19 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking feb 17, 2013 3:33:19 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected feb 17, 2013 1:59:20 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel channel java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) feb 17, 2013 1:59:20 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated

    Jenkins JIRA | 4 years ago | Peter Lillevold
    java.net.SocketException: Connection reset
  6. 0

    How to overcome node’s networking problem

    Google Groups | 4 years ago | Gal Netanel
    hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.call(Request.java:174) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request.call&entity=method> at hudson.remoting.Channel.call(Channel.java:663) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.call&entity=method>

    4 unregistered visitors
    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 reset

      at java.net.SocketInputStream.read()
    2. Java RT
      ObjectInputStream.readObject
      1. java.net.SocketInputStream.read(Unknown Source)
      2. java.net.SocketInputStream.read(Unknown Source)
      3. java.io.BufferedInputStream.fill(Unknown Source)
      4. java.io.BufferedInputStream.read(Unknown Source)
      5. java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
      6. java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
      7. java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
      8. java.io.ObjectInputStream.readObject0(Unknown Source)
      9. java.io.ObjectInputStream.readObject(Unknown Source)
      9 frames
    3. Hudson :: Remoting Layer
      SynchronousCommandTransport$ReaderThread.run
      1. hudson.remoting.Command.readFrom(Command.java:90)
      2. hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
      3. hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
      3 frames