Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39596

JNLPSlave fails to connect with Java WebStart call



      jnlp windows slave won't start using the gui launch button.

        1. screenshot-2.png
          15 kB
          marlene cote
        2. screenshot-1.png
          15 kB
          marlene cote

          [JENKINS-39596] JNLPSlave fails to connect with Java WebStart call

          marlene cote created issue -
          marlene cote made changes -
          Attachment New: screenshot-1.png [ 34768 ]

          marlene cote added a comment -

          marlene cote added a comment -
          marlene cote made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]

          Oleg Nenashev added a comment -

          Please provide....
          1) You current Jenkins version
          2) List of enabled remoting protocols
          3) Agent configuration

          Oleg Nenashev added a comment - Please provide.... 1) You current Jenkins version 2) List of enabled remoting protocols 3) Agent configuration

          Oleg Nenashev added a comment - - edited

          I see the failure with the following error in the Jenkins startup log. Not sure if it's the same issue (running on Mac), but the behavior is the same

          <===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 3.0
          This is a Unix agent
          java.net.MalformedURLException: no protocol: jnlpJars/slave.jar
          	at java.net.URL.<init>(URL.java:593)
          	at java.net.URL.<init>(URL.java:490)
          	at org.jenkinsci.modules.slave_installer.impl.InstallerGui.call(InstallerGui.java:65)
          	at org.jenkinsci.modules.slave_installer.impl.InstallerGui.call(InstallerGui.java:34)
          	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
          	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
          	at hudson.remoting.Request$2.run(Request.java:332)
          	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
          	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          	at hudson.remoting.Engine$1$1.run(Engine.java:94)
          	at java.lang.Thread.run(Thread.java:745)
          	at ......remote call to Channel to /127.0.0.1(Native Method)
          	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1435)
          	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
          	at hudson.remoting.Channel.call(Channel.java:795)
          	at org.jenkinsci.modules.slave_installer.impl.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:32)
          	at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:581)
          	at jenkins.slaves.DefaultJnlpSlaveReceiver.afterChannel(DefaultJnlpSlaveReceiver.java:171)
          	at org.jenkinsci.remoting.engine.JnlpConnectionState$4.invoke(JnlpConnectionState.java:421)
          	at org.jenkinsci.remoting.engine.JnlpConnectionState.fire(JnlpConnectionState.java:312)
          	at org.jenkinsci.remoting.engine.JnlpConnectionState.fireAfterChannel(JnlpConnectionState.java:418)
          	at org.jenkinsci.remoting.engine.LegacyJnlpProtocolHandler$1.call(LegacyJnlpProtocolHandler.java:113)
          	at org.jenkinsci.remoting.engine.LegacyJnlpProtocolHandler$1.call(LegacyJnlpProtocolHandler.java:104)
          	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
          	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          	at java.lang.Thread.run(Thread.java:745)
          

          System log:

          Nov 09, 2016 12:51:57 PM hudson.TcpSlaveAgentListener$ConnectionHandler run
          INFO: Accepted connection #28 from /127.0.0.1:61584
          Nov 09, 2016 12:52:02 PM hudson.node_monitors.ResponseTimeMonitor$1 monitor
          WARNING: Making DumbJNLPAgent offline because it’s not responding
          

          Oleg Nenashev added a comment - - edited I see the failure with the following error in the Jenkins startup log. Not sure if it's the same issue (running on Mac), but the behavior is the same <===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 3.0 This is a Unix agent java.net.MalformedURLException: no protocol: jnlpJars/slave.jar at java.net.URL.<init>(URL.java:593) at java.net.URL.<init>(URL.java:490) at org.jenkinsci.modules.slave_installer.impl.InstallerGui.call(InstallerGui.java:65) at org.jenkinsci.modules.slave_installer.impl.InstallerGui.call(InstallerGui.java:34) at hudson.remoting.UserRequest.perform(UserRequest.java:153) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:332) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at hudson.remoting.Engine$1$1.run(Engine.java:94) at java.lang.Thread.run(Thread.java:745) at ......remote call to Channel to /127.0.0.1(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1435) at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) at hudson.remoting.Channel.call(Channel.java:795) at org.jenkinsci.modules.slave_installer.impl.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:32) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:581) at jenkins.slaves.DefaultJnlpSlaveReceiver.afterChannel(DefaultJnlpSlaveReceiver.java:171) at org.jenkinsci.remoting.engine.JnlpConnectionState$4.invoke(JnlpConnectionState.java:421) at org.jenkinsci.remoting.engine.JnlpConnectionState.fire(JnlpConnectionState.java:312) at org.jenkinsci.remoting.engine.JnlpConnectionState.fireAfterChannel(JnlpConnectionState.java:418) at org.jenkinsci.remoting.engine.LegacyJnlpProtocolHandler$1.call(LegacyJnlpProtocolHandler.java:113) at org.jenkinsci.remoting.engine.LegacyJnlpProtocolHandler$1.call(LegacyJnlpProtocolHandler.java:104) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) System log: Nov 09, 2016 12:51:57 PM hudson.TcpSlaveAgentListener$ConnectionHandler run INFO: Accepted connection #28 from /127.0.0.1:61584 Nov 09, 2016 12:52:02 PM hudson.node_monitors.ResponseTimeMonitor$1 monitor WARNING: Making DumbJNLPAgent offline because it’s not responding
          Oleg Nenashev made changes -
          Summary Original: jnlp missing security New: JNLPSlave fails to connect with Java WebStart call
          Oleg Nenashev made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]

          Oleg Nenashev added a comment -

          Confirmed the bug. remoting Engine class does not set up hudsonUrl starting from remoting 3.0

          Oleg Nenashev added a comment - Confirmed the bug. remoting Engine class does not set up hudsonUrl starting from remoting 3.0
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            oleg_nenashev Oleg Nenashev
            funeeldy marlene cote
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: