Windows 7 slave-agent.jnlp error: "Unable to launch application" ( FailedDownloadException: Unable to load resource ) ?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Windows 7 slave-agent.jnlp error: "Unable to launch application" ( FailedDownloadException: Unable to load resource ) ?

Ed of the Mountain
I am setting up a new Jenkins build server and slaves at my new company.  I tried three different methods to launch from slave.  I tried disabling Windows 7 firewall.

When I use the "Launch" button from browser on slave I get an "Application Error" saying "Unable to launch the application". See details below.  

<jnlp spec="1.0+" codebase="http://127.0.0.1:8080/computer/esuttonwin7x32/">
  <information>
    <title>Slave Agent for esuttonwin7x32</title>
    <vendor>Jenkins project</vendor>
    <homepage href="https://jenkins-ci.org/"/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.5+"/>
    <jar href="http://127.0.0.1:8080/jnlpJars/remoting.jar"/>
    <property name="hudson.showWindowsServiceInstallLink" value="true"/>
  </resources>
  <application-desc main-class="hudson.remoting.jnlp.Main">
    <argument>b87430ff884367f280e63836f435e157657555ae6fb465483001a0e3a8679d6a</argument>
    <argument>esuttonwin7x32</argument>
    <argument>-url</argument>
    <argument>http://127.0.0.1:8080/</argument>
    <argument>-url</argument>
    <argument>http://172.17.144.33:8080/</argument>
  </application-desc>
</jnlp>

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://127.0.0.1:8080/jnlpJars/remoting.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Everything is running in a VM including the Jenkins master and slave:
  • Master: Jenkins 1.576 ( Ubuntu 14.04 LTS)
  • Master: java version "1.7.0_65"

  • Slave: Windows 7 x32
  • Slave: java version "1.8.0_05"
The following two commands fail to connect to server from slave:
  • javaws http://127.0.0.1:8080/computer/esuttonwin7x32/slave-agent.jnlp
  • java -jar slave.jar -jnlpUrl http://127.0.0.1:8080/computer/esuttonwin7x32/slave-agent.jnlp
Any tips or suggestions are much appreciated,

-Ed

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Windows 7 slave-agent.jnlp error: "Unable to launch application" ( FailedDownloadException: Unable to load resource ) ?

Scott Evans
Ed,

I would guess you have your Jenkins server configured to be considered at 127.0.0.1 (i.e. loopback) and so any referece to it from other machine (i.e. slaves) are trying to hit 127.0.0.1 for the URL which (since it's the loopback address) is trying to contact to itself rather than the master.  I'd suggest looking in your jenkins master configuration and looking at the Jenkins Location URL.  My guess is that it's pointing to 127.0.0.1.  Change that to the actual ip/name of your Jenkins server and then the launch urls should be correct. 

Scott


On Mon, Aug 25, 2014 at 9:42 AM, Ed of the Mountain <[hidden email]> wrote:
I am setting up a new Jenkins build server and slaves at my new company.  I tried three different methods to launch from slave.  I tried disabling Windows 7 firewall.

When I use the "Launch" button from browser on slave I get an "Application Error" saying "Unable to launch the application". See details below.  

  <information>
    <title>Slave Agent for esuttonwin7x32</title>
    <vendor>Jenkins project</vendor>
    <homepage href="https://jenkins-ci.org/"/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.5+"/>
    <property name="hudson.showWindowsServiceInstallLink" value="true"/>
  </resources>
  <application-desc main-class="hudson.remoting.jnlp.Main">
    <argument>b87430ff884367f280e63836f435e157657555ae6fb465483001a0e3a8679d6a</argument>
    <argument>esuttonwin7x32</argument>
    <argument>-url</argument>
    <argument>http://127.0.0.1:8080/</argument>
    <argument>-url</argument>
    <argument>http://172.17.144.33:8080/</argument>
  </application-desc>
</jnlp>

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://127.0.0.1:8080/jnlpJars/remoting.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Everything is running in a VM including the Jenkins master and slave:
  • Master: Jenkins 1.576 ( Ubuntu 14.04 LTS)
  • Master: java version "1.7.0_65"

  • Slave: Windows 7 x32
  • Slave: java version "1.8.0_05"
The following two commands fail to connect to server from slave:

-Ed

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Windows 7 slave-agent.jnlp error: "Unable to launch application" ( FailedDownloadException: Unable to load resource ) ?

Ed of the Mountain
In reply to this post by Ed of the Mountain
Never mind. Sorry for the noise.

Go to Jenkins->Manage Jenkins->Configure System

Search page for 127 and replace 127.0.0.1 with server's actual IP address.

-Ed


On Mon, Aug 25, 2014 at 9:42 AM, Ed of the Mountain <[hidden email]> wrote:
I am setting up a new Jenkins build server and slaves at my new company.  I tried three different methods to launch from slave.  I tried disabling Windows 7 firewall.

When I use the "Launch" button from browser on slave I get an "Application Error" saying "Unable to launch the application". See details below.  

  <information>
    <title>Slave Agent for esuttonwin7x32</title>
    <vendor>Jenkins project</vendor>
    <homepage href="https://jenkins-ci.org/"/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.5+"/>
    <property name="hudson.showWindowsServiceInstallLink" value="true"/>
  </resources>
  <application-desc main-class="hudson.remoting.jnlp.Main">
    <argument>b87430ff884367f280e63836f435e157657555ae6fb465483001a0e3a8679d6a</argument>
    <argument>esuttonwin7x32</argument>
    <argument>-url</argument>
    <argument>http://127.0.0.1:8080/</argument>
    <argument>-url</argument>
    <argument>http://172.17.144.33:8080/</argument>
  </application-desc>
</jnlp>

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://127.0.0.1:8080/jnlpJars/remoting.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Everything is running in a VM including the Jenkins master and slave:
  • Master: Jenkins 1.576 ( Ubuntu 14.04 LTS)
  • Master: java version "1.7.0_65"

  • Slave: Windows 7 x32
  • Slave: java version "1.8.0_05"
The following two commands fail to connect to server from slave:

-Ed

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/ct7TvG14yNs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Windows 7 slave-agent.jnlp error: "Unable to launch application" ( FailedDownloadException: Unable to load resource ) ?

Ed of the Mountain
In reply to this post by Scott Evans
Thank you Scott.  Your guess was correct. 

Thank you for your patient and informative reply!

-Ed


On Mon, Aug 25, 2014 at 9:53 AM, Scott Evans <[hidden email]> wrote:
Ed,

I would guess you have your Jenkins server configured to be considered at 127.0.0.1 (i.e. loopback) and so any referece to it from other machine (i.e. slaves) are trying to hit 127.0.0.1 for the URL which (since it's the loopback address) is trying to contact to itself rather than the master.  I'd suggest looking in your jenkins master configuration and looking at the Jenkins Location URL.  My guess is that it's pointing to 127.0.0.1.  Change that to the actual ip/name of your Jenkins server and then the launch urls should be correct. 

Scott


On Mon, Aug 25, 2014 at 9:42 AM, Ed of the Mountain <[hidden email]> wrote:
I am setting up a new Jenkins build server and slaves at my new company.  I tried three different methods to launch from slave.  I tried disabling Windows 7 firewall.

When I use the "Launch" button from browser on slave I get an "Application Error" saying "Unable to launch the application". See details below.  

  <information>
    <title>Slave Agent for esuttonwin7x32</title>
    <vendor>Jenkins project</vendor>
    <homepage href="https://jenkins-ci.org/"/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.5+"/>
    <property name="hudson.showWindowsServiceInstallLink" value="true"/>
  </resources>
  <application-desc main-class="hudson.remoting.jnlp.Main">
    <argument>b87430ff884367f280e63836f435e157657555ae6fb465483001a0e3a8679d6a</argument>
    <argument>esuttonwin7x32</argument>
    <argument>-url</argument>
    <argument>http://127.0.0.1:8080/</argument>
    <argument>-url</argument>
    <argument>http://172.17.144.33:8080/</argument>
  </application-desc>
</jnlp>

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://127.0.0.1:8080/jnlpJars/remoting.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Everything is running in a VM including the Jenkins master and slave:
  • Master: Jenkins 1.576 ( Ubuntu 14.04 LTS)
  • Master: java version "1.7.0_65"

  • Slave: Windows 7 x32
  • Slave: java version "1.8.0_05"
The following two commands fail to connect to server from slave:

-Ed

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/ct7TvG14yNs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Windows 7 slave-agent.jnlp error: "Unable to launch application" ( FailedDownloadException: Unable to load resource ) ?

arun@1
This post has NOT been accepted by the mailing list yet.
This post was updated on .
In reply to this post by Ed of the Mountain
Thanks a lot this post works for me ...
Reply | Threaded
Open this post in threaded view
|

Re: Windows 7 slave-agent.jnlp error: "Unable to launch application" ( FailedDownloadException: Unable to load resource ) ?

olivier Noumbi
In reply to this post by Ed of the Mountain
Hey Ed

I change the master ip address in the config but I am still getting this error:

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://11.16.114.193:31763/jnlpJars/remoting.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Note that 11.16.114.193 is my master IP address. Any suggestions please?


Le lundi 25 août 2014 10:55:46 UTC-4, Ed of the Mountain a écrit :
Thank you Scott.  Your guess was correct. 

Thank you for your patient and informative reply!

-Ed


On Mon, Aug 25, 2014 at 9:53 AM, Scott Evans <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="d7otJHEfpWAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">milw...@...> wrote:
Ed,

I would guess you have your Jenkins server configured to be considered at 127.0.0.1 (i.e. loopback) and so any referece to it from other machine (i.e. slaves) are trying to hit 127.0.0.1 for the URL which (since it's the loopback address) is trying to contact to itself rather than the master.  I'd suggest looking in your jenkins master configuration and looking at the Jenkins Location URL.  My guess is that it's pointing to 127.0.0.1.  Change that to the actual ip/name of your Jenkins server and then the launch urls should be correct. 

Scott


On Mon, Aug 25, 2014 at 9:42 AM, Ed of the Mountain <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="d7otJHEfpWAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">edsu...@...> wrote:
I am setting up a new Jenkins build server and slaves at my new company.  I tried three different methods to launch from slave.  I tried disabling Windows 7 firewall.

When I use the "Launch" button from browser on slave I get an "Application Error" saying "Unable to launch the application". See details below.  

<jnlp spec="1.0+" codebase="<a href="http://127.0.0.1:8080/computer/esuttonwin7x32/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2Fcomputer%2Fesuttonwin7x32%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGuYsUzusYeIfviZjMP0Pj1Net4cg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2Fcomputer%2Fesuttonwin7x32%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGuYsUzusYeIfviZjMP0Pj1Net4cg&#39;;return true;">http://127.0.0.1:8080/computer/esuttonwin7x32/">
  <information>
    <title>Slave Agent for esuttonwin7x32</title>
    <vendor>Jenkins project</vendor>
    <homepage href="<a href="https://jenkins-ci.org/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins-ci.org%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGqYWv2Ut5FuwrOOHimM0aOOLtM-A&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins-ci.org%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGqYWv2Ut5FuwrOOHimM0aOOLtM-A&#39;;return true;">https://jenkins-ci.org/"/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.5+"/>
    <jar href="<a href="http://127.0.0.1:8080/jnlpJars/remoting.jar" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2FjnlpJars%2Fremoting.jar\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGv2kaP5TZEE6u8U_GG_Hz4lh954g&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2FjnlpJars%2Fremoting.jar\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGv2kaP5TZEE6u8U_GG_Hz4lh954g&#39;;return true;">http://127.0.0.1:8080/jnlpJars/remoting.jar"/>
    <property name="hudson.showWindowsServiceInstallLink" value="true"/>
  </resources>
  <application-desc main-class="hudson.remoting.jnlp.Main">
    <argument>b87430ff884367f280e63836f435e157657555ae6fb465483001a0e3a8679d6a</argument>
    <argument>esuttonwin7x32</argument>
    <argument>-url</argument>
    <argument><a href="http://127.0.0.1:8080/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNESqqXBB-8ZOA3oQHQikMlCJ1EGSw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNESqqXBB-8ZOA3oQHQikMlCJ1EGSw&#39;;return true;">http://127.0.0.1:8080/</argument>
    <argument>-url</argument>
    <argument><a href="http://172.17.144.33:8080/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F172.17.144.33%3A8080%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHOyKCCTLLKWxzJuztmoWQJeP4JEg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F172.17.144.33%3A8080%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHOyKCCTLLKWxzJuztmoWQJeP4JEg&#39;;return true;">http://172.17.144.33:8080/</argument>
  </application-desc>
</jnlp>

com.sun.deploy.net.FailedDownloadException: Unable to load resource: <a href="http://127.0.0.1:8080/jnlpJars/remoting.jar" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2FjnlpJars%2Fremoting.jar\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGv2kaP5TZEE6u8U_GG_Hz4lh954g&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2FjnlpJars%2Fremoting.jar\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGv2kaP5TZEE6u8U_GG_Hz4lh954g&#39;;return true;">http://127.0.0.1:8080/jnlpJars/remoting.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Everything is running in a VM including the Jenkins master and slave:
  • Master: Jenkins 1.576 ( Ubuntu 14.04 LTS)
  • Master: java version "1.7.0_65"

  • Slave: Windows 7 x32
  • Slave: java version "1.8.0_05"
The following two commands fail to connect to server from slave:
  • javaws <a href="http://127.0.0.1:8080/computer/esuttonwin7x32/slave-agent.jnlp" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2Fcomputer%2Fesuttonwin7x32%2Fslave-agent.jnlp\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH5-57Q_KrxnSNzlb2awSJ-JVZL0Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2Fcomputer%2Fesuttonwin7x32%2Fslave-agent.jnlp\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH5-57Q_KrxnSNzlb2awSJ-JVZL0Q&#39;;return true;">http://127.0.0.1:8080/computer/esuttonwin7x32/slave-agent.jnlp
  • java -jar slave.jar -jnlpUrl <a href="http://127.0.0.1:8080/computer/esuttonwin7x32/slave-agent.jnlp" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2Fcomputer%2Fesuttonwin7x32%2Fslave-agent.jnlp\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH5-57Q_KrxnSNzlb2awSJ-JVZL0Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F127.0.0.1%3A8080%2Fcomputer%2Fesuttonwin7x32%2Fslave-agent.jnlp\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH5-57Q_KrxnSNzlb2awSJ-JVZL0Q&#39;;return true;">http://127.0.0.1:8080/computer/esuttonwin7x32/slave-agent.jnlp
Any tips or suggestions are much appreciated,

-Ed

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="d7otJHEfpWAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/jenkinsci-users/ct7TvG14yNs/unsubscribe" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/topic/jenkinsci-users/ct7TvG14yNs/unsubscribe&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/topic/jenkinsci-users/ct7TvG14yNs/unsubscribe&#39;;return true;">https://groups.google.com/d/topic/jenkinsci-users/ct7TvG14yNs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="d7otJHEfpWAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9cc97f21-20db-4bd2-889a-645fd6f4efb7%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Windows 7 slave-agent.jnlp error: "Unable to launch application" ( FailedDownloadException: Unable to load resource ) ?

makafui cudjoe
On Wednesday, May 20, 2020 at 6:35:16 AM UTC+10, olivier Noumbi wrote:

> Hey Ed
>
>
> I change the master ip address in the config but I am still getting this error:
>
>
>
> com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://11.16.114.193:31763/jnlpJars/remoting.jar
> at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
> at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
> at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> Note that 11.16.114.193 is my master IP address. Any suggestions please?
>
>
> Le lundi 25 août 2014 10:55:46 UTC-4, Ed of the Mountain a écrit :
> Thank you Scott.  Your guess was correct. 
>
>
> Thank you for your patient and informative reply!
>
>
>
> -Ed
>
>
>
>
> On Mon, Aug 25, 2014 at 9:53 AM, Scott Evans <[hidden email]> wrote:
>
>
> Ed,
>
> I would guess you have your Jenkins server configured to be considered at 127.0.0.1 (i.e. loopback) and so any referece to it from other machine (i.e. slaves) are trying to hit 127.0.0.1 for the URL which (since it's the loopback address) is trying to contact to itself rather than the master.  I'd suggest looking in your jenkins master configuration and looking at the Jenkins Location URL.  My guess is that it's pointing to 127.0.0.1.  Change that to the actual ip/name of your Jenkins server and then the launch urls should be correct. 
>
>
>
> Scott
>
>
>
>
> On Mon, Aug 25, 2014 at 9:42 AM, Ed of the Mountain <[hidden email]> wrote:
>
>
>
>
> I am setting up a new Jenkins build server and slaves at my new company.  I tried three different methods to launch from slave.  I tried disabling Windows 7 firewall.
>
>
>
>
>
> When I use the "Launch" button from browser on slave I get an "Application Error" saying "Unable to launch the application". See details below.  
>
>
>
>
>
> <jnlp spec="1.0+" codebase="http://127.0.0.1:8080/computer/esuttonwin7x32/">
>   <information>
>
>
>     <title>Slave Agent for esuttonwin7x32</title>
>     <vendor>Jenkins project</vendor>
>     <homepage href="https://jenkins-ci.org/"/>
>
>
>   </information>
>   <security>
>     <all-permissions/>
>   </security>
>   <resources>
>     <j2se version="1.5+"/>
>     <jar href="http://127.0.0.1:8080/jnlpJars/remoting.jar"/>
>
>
>     <property name="hudson.showWindowsServiceInstallLink" value="true"/>
>   </resources>
>   <application-desc main-class="hudson.remoting.jnlp.Main">
>
>
>     <argument>b87430ff884367f280e63836f435e157657555ae6fb465483001a0e3a8679d6a</argument>
>     <argument>esuttonwin7x32</argument>
>     <argument>-url</argument>
>
>
>     <argument>http://127.0.0.1:8080/</argument>
>     <argument>-url</argument>
>     <argument>http://172.17.144.33:8080/</argument>
>
>
>   </application-desc>
> </jnlp>
>
>
>
> com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://127.0.0.1:8080/jnlpJars/remoting.jar
>
>
> at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
> at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
>
>
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
>
>
> at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
>
>
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>
>
> at java.lang.Thread.run(Unknown Source)
>
>
>
> java.net.ConnectException: Connection refused: connect
> at java.net.DualStackPlainSocketImpl.connect0(Native Method)
>
>
> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
> at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
>
>
> at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
> at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
>
>
> at java.net.PlainSocketImpl.connect(Unknown Source)
> at java.net.SocksSocketImpl.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
>
>
> at java.net.Socket.connect(Unknown Source)
> at sun.net.NetworkClient.doConnect(Unknown Source)
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
>
>
> at sun.net.www.http.HttpClient.openServer(Unknown Source)
> at sun.net.www.http.HttpClient.<init>(Unknown Source)
>
>
> at sun.net.www.http.HttpClient.New(Unknown Source)
> at sun.net.www.http.HttpClient.New(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
>
>
> at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
>
>
> at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
>
>
> at java.security.AccessController.doPrivileged(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
>
>
> at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
>
>
> at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
>
>
> at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
>
>
> at java.security.AccessController.doPrivileged(Unknown Source)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
>
>
> at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
> at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
>
>
> at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
> at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
>
>
> at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
> at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
>
>
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
>
>
> at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
>
>
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>
>
> at java.lang.Thread.run(Unknown Source)
>
>
>
>
>
> Everything is running in a VM including the Jenkins master and slave:
>
>
> Master: Jenkins 1.576 ( Ubuntu 14.04 LTS)
> Master: java version "1.7.0_65"
>
> Slave: Windows 7 x32
> Slave: java version "1.8.0_05"
>
>
> The following two commands fail to connect to server from slave:
>
>
>
> javaws http://127.0.0.1:8080/computer/esuttonwin7x32/slave-agent.jnlp
> java -jar slave.jar -jnlpUrl http://127.0.0.1:8080/computer/esuttonwin7x32/slave-agent.jnlp
>
>
> Any tips or suggestions are much appreciated,
>
>
> -Ed
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
>
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/ct7TvG14yNs/unsubscribe.
>
>
> To unsubscribe from this group and all its topics, send an email to [hidden email].
>
> For more options, visit https://groups.google.com/d/optout.
Hi Olivier,

Can you confirm the port number 31763 is what Jenkins is configured to listen on ?

You also need to check if you are able to reach the master IP from the agent node. You can perform some ping test.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c31485af-af6e-4c40-a12b-2427b0966cba%40googlegroups.com.