java.net.ConnectException: Connection timed out

Jenkins JIRA | vst simon | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Server (debian 64 bits) can connect to slave (VM Windows 8 64 bits, on a Windows Server 2012), manages to launch and run the service, but get stopped. VM Windows 8 32 bits working fine, with the same jenkins configuration. Connecting to 192.168.1.31 Checking if Java exists java -version returned 1.7.0. Copying jenkins-slave.xml Copying slave.jar Starting the service Waiting for the service to become ready Connecting to port 54,365 ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385) at java.net.Socket.connect(Socket.java:546) at java.net.Socket.connect(Socket.java:495) at java.net.Socket.<init>(Socket.java:392) at java.net.Socket.<init>(Socket.java:206) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:362) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)

    Jenkins JIRA | 4 years ago | vst simon
    java.net.ConnectException: Connection timed out
  2. 0

    Server (debian 64 bits) can connect to slave (VM Windows 8 64 bits, on a Windows Server 2012), manages to launch and run the service, but get stopped. VM Windows 8 32 bits working fine, with the same jenkins configuration. Connecting to 192.168.1.31 Checking if Java exists java -version returned 1.7.0. Copying jenkins-slave.xml Copying slave.jar Starting the service Waiting for the service to become ready Connecting to port 54,365 ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385) at java.net.Socket.connect(Socket.java:546) at java.net.Socket.connect(Socket.java:495) at java.net.Socket.<init>(Socket.java:392) at java.net.Socket.<init>(Socket.java:206) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:362) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)

    Jenkins JIRA | 4 years ago | vst simon
    java.net.ConnectException: Connection timed out
  3. 0

    Setting up windows 7 slave 32 bit to run as windows service fails with: Waiting for the service to become ready Checking if Java exists java -version returned 1.7.0. Copying jenkins-slave.xml Copying slave.jar Starting the service Connecting to port 64,323 ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) at java.net.Socket.connect(Socket.java:546) at java.net.Socket.connect(Socket.java:495) at java.net.Socket.<init>(Socket.java:392) at java.net.Socket.<init>(Socket.java:206) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:362) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Same set is ok when running as web start service..

    Jenkins JIRA | 3 years ago | Sajajd Rehman
    java.net.ConnectException: Connection timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Setting up windows 7 slave 32 bit to run as windows service fails with: Waiting for the service to become ready Checking if Java exists java -version returned 1.7.0. Copying jenkins-slave.xml Copying slave.jar Starting the service Connecting to port 64,323 ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) at java.net.Socket.connect(Socket.java:546) at java.net.Socket.connect(Socket.java:495) at java.net.Socket.<init>(Socket.java:392) at java.net.Socket.<init>(Socket.java:206) at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:362) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Same set is ok when running as web start service..

    Jenkins JIRA | 3 years ago | Sajajd Rehman
    java.net.ConnectException: Connection timed out
  6. 0

    [JIRA] (JENKINS-41572) ERROR: Unexpected error in launching an agent. This is probably a bug in Jenkins

    Google Groups | 4 weeks ago | travis...@ngc.com (JIRA)
    java.net.ConnectException: Connection timed out

  1. andyglick 56 times, last 3 weeks ago
  2. tomthomas 1 times, last 1 month ago
  3. stigkj 4 times, last 1 month ago
  4. michallos 1 times, last 2 months ago
  5. mauritius 3 times, last 2 months ago
26 more registered users
65 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.ConnectException

    Connection timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
    6. java.net.Socket.connect(Socket.java:546)
    7. java.net.Socket.connect(Socket.java:495)
    8. java.net.Socket.<init>(Socket.java:392)
    9. java.net.Socket.<init>(Socket.java:206)
    9 frames
  3. hudson.os.windows
    ManagedWindowsServiceLauncher.launch
    1. hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:362)
    1 frame
  4. Hudson
    SlaveComputer$1.call
    1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230)
    1 frame
  5. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:679)
    5 frames