Warning: JnlpProtocol3 is disabled by default, use JNLP_PROTOCOL_OPTS to alter the behavior Warning: SECRET is defined twice in command-line arguments and the environment variable Warning: AGENT_NAME is defined twice in command-line arguments and the environment variable Dec 10, 2017 6:21:03 PM hudson.remoting.jnlp.Main createEngine INFO: Setting up slave: mypod-2fm2d-h2rt0 Dec 10, 2017 6:21:03 PM hudson.remoting.jnlp.Main$CuiListener INFO: Jenkins agent is running in headless mode. Dec 10, 2017 6:21:03 PM hudson.remoting.Engine startEngine WARNING: No Working Directory. Using the legacy JAR Cache location: /home/jenkins/.jenkins/cache/jars Dec 10, 2017 6:21:03 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [https://adajenkins.westeurope.cloudapp.azure.com/] Dec 10, 2017 6:21:03 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping] Dec 10, 2017 6:21:03 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Agent discovery successful Agent address: adajenkins.westeurope.cloudapp.azure.com Agent port: 8443 Identity: 0e:2e:57:fc:e1:5e:df:1a:f9:38:b0:e7:b5:b1:ae:3e Dec 10, 2017 6:21:03 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking Dec 10, 2017 6:21:03 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to adajenkins.westeurope.cloudapp.azure.com:8443 Dec 10, 2017 6:21:03 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Trying protocol: JNLP4-connect Dec 10, 2017 6:21:03 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Remote identity confirmed: 0e:2e:57:fc:e1:5e:df:1a:f9:38:b0:e7:b5:b1:ae:3e Dec 10, 2017 6:21:04 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected Dec 10, 2017 6:21:07 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated Dec 10, 2017 6:21:17 PM jenkins.slaves.restarter.JnlpSlaveRestarterInstaller$2$1 onReconnect INFO: Restarting agent via jenkins.slaves.restarter.UnixSlaveRestarter@666e042 Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main createEngine INFO: Setting up slave: mypod-2fm2d-h2rt0 Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener INFO: Jenkins agent is running in headless mode. Dec 10, 2017 6:21:19 PM hudson.remoting.Engine startEngine WARNING: No Working Directory. Using the legacy JAR Cache location: /home/jenkins/.jenkins/cache/jars Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [https://adajenkins.westeurope.cloudapp.azure.com/] Dec 10, 2017 6:21:19 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping] Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Agent discovery successful Agent address: adajenkins.westeurope.cloudapp.azure.com Agent port: 8443 Identity: 0e:2e:57:fc:e1:5e:df:1a:f9:38:b0:e7:b5:b1:ae:3e Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to adajenkins.westeurope.cloudapp.azure.com:8443 Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Trying protocol: JNLP4-connect Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Remote identity confirmed: 0e:2e:57:fc:e1:5e:df:1a:f9:38:b0:e7:b5:b1:ae:3e Dec 10, 2017 6:21:19 PM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecv INFO: [JNLP4-connect connection to adajenkins.westeurope.cloudapp.azure.com/52.166.190.122:8443] Local headers refused by remote: Unknown client name: mypod-2fm2d-h2rt0 Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Protocol JNLP4-connect encountered an unexpected exception java.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Unknown client name: mypod-2fm2d-h2rt0 at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223) at hudson.remoting.Engine.innerRun(Engine.java:583) at hudson.remoting.Engine.run(Engine.java:447) Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Unknown client name: mypod-2fm2d-h2rt0 at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.newAbortCause(ConnectionHeadersFilterLayer.java:377) at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecvClosed(ConnectionHeadersFilterLayer.java:432) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$1500(BIONetworkLayer.java:48) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:247) 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:98) at java.lang.Thread.run(Thread.java:748) Suppressed: java.nio.channels.ClosedChannelException ... 7 more Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to adajenkins.westeurope.cloudapp.azure.com:8443 Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Server reports protocol JNLP4-plaintext not supported, skipping Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Protocol JNLP3-connect is not enabled, skipping Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Server reports protocol JNLP2-connect not supported, skipping Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Server reports protocol JNLP-connect not supported, skipping Dec 10, 2017 6:21:19 PM hudson.remoting.jnlp.Main$CuiListener error SEVERE: The server rejected the connection: None of the protocols were accepted java.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:644) at hudson.remoting.Engine.innerRun(Engine.java:608) at hudson.remoting.Engine.run(Engine.java:447)