Jenkins windows slave unable to connect The 2019 Stack Overflow Developer Survey Results Are...

"as much details as you can remember"

Why do UK politicians seemingly ignore opinion polls on Brexit?

What is the closest word meaning "respect for time / mindful"

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

How to save as into a customized destination on macOS?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

How to deal with fear of taking dependencies

Are there incongruent pythagorean triangles with the same perimeter and same area?

What did it mean to "align" a radio?

Where to refill my bottle in India?

Why not take a picture of a closer black hole?

Why can Shazam fly?

What do hard-Brexiteers want with respect to the Irish border?

Resizing object distorts it (Illustrator CC 2018)

Are spiders unable to hurt humans, especially very small spiders?

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

Origin of "cooter" meaning "vagina"

Shouldn't "much" here be used instead of "more"?

Is this app Icon Browser Safe/Legit?

Apparent duplicates between Haynes service instructions and MOT

Does the shape of a die affect the probability of a number being rolled?

Delete all lines which don't have n characters before delimiter

slides for 30min~1hr skype tenure track application interview

Aging parents with no investments



Jenkins windows slave unable to connect



The 2019 Stack Overflow Developer Survey Results Are InJenkins slave fails handshaking on windowsTell Jenkins to run a specific project on a particular slave nodeCannot connect with slave from Jenkins master. Connection brokenShutdown Jenkins slave from MasterHow to choose a label for Jenkins slave dynamicallyAutomate jenkins slave node cleanupJenkins build happening on master instead of slaveMultiple Java installations on the same Jenkins slaveHow to troubleshoot “Failed to fetch slave info from Jenkins”indefinite connection from Windows Jenkins slave to Jenkins





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







3















Trying to start Jenkins slave on Windows with Java Web start gives me this:



>java -jar agent.jar -jnlpUrl https://jenkins.example.com/computer/slave-office/slave-agent.jnlp -secret 74aebde5a38c4f19b0b6c64ee9d3d75571d6cd666e67ebae7d39d8b259d39a0f -workDir C:Jenkins
ш■э 26, 2018 5:15:49 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using C:Jenkinsremoting as a remoting work directory
Both error and output logs will be printed to C:Jenkinsremoting
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up agent: slave-office
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
ш■э 26, 2018 5:15:50 PM hudson.remoting.Engine startEngine
INFO: Using Remoting version: 3.22
ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using C:Jenkinsremoting as a remoting work directory
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [https://jenkins.example.com/]
ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Agent discovery successful
Agent address: jenkins.example.com
Agent port: 50000
Identity: 62:e9:82:de:8b:ae:cf:6d:ea:9e:0b:cf:5c:ad:bb:10
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to jenkins.example.com:50000
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP4-connect
ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.protocol.impl.AckFilterLayer abort
WARNING: [JNLP4-connect connection to jenkins.example.com/11.22.33.44:50000] Incorrect acknowledgement sequence, expected 0x000341434b got 0x485454502f
ш■э 26, 2018 5:15:50 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: Connection closed before acknowledgement sent
at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223)
at hudson.remoting.Engine.innerRun(Engine.java:609)
at hudson.remoting.Engine.run(Engine.java:469)
Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent
at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecvClosed(AckFilterLayer.java:280)
at org.jenkinsci.remoting.protocol.FilterLayer.abort(FilterLayer.java:164)
at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.abort(AckFilterLayer.java:130)
at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecv(AckFilterLayer.java:258)
at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecv(ProtocolStack.java:669)
at org.jenkinsci.remoting.protocol.NetworkLayer.onRead(NetworkLayer.java:136)
at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$2200(BIONetworkLayer.java:48)
at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:283)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
at java.lang.Thread.run(Unknown Source)

ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to jenkins.example.com:50000
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Server reports protocol JNLP4-plaintext not supported, skipping
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Server reports protocol JNLP3-connect not supported, skipping
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Server reports protocol JNLP2-connect not supported, skipping
ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Server reports protocol JNLP-connect not supported, skipping
ш■э 26, 2018 5:15:50 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:670)
at hudson.remoting.Engine.innerRun(Engine.java:634)
at hudson.remoting.Engine.run(Engine.java:469)


TCP port for JNLP agents seems to be correctly configured for 50000



Java Web Start Agent Protocol/4 (TLS encryption) is enabled



Https certificate is correct & curl confirms that the server is available



curl https://jenkins.example.com:50000
Jenkins-Agent-Protocols: JNLP4-connect, Ping
Jenkins-Version: 2.129
Jenkins-Session: 9ab0885c
Client: 10.42.24.96
Server: 10.42.7.42
Remoting-Minimum-Version: 3.4









share|improve this question





























    3















    Trying to start Jenkins slave on Windows with Java Web start gives me this:



    >java -jar agent.jar -jnlpUrl https://jenkins.example.com/computer/slave-office/slave-agent.jnlp -secret 74aebde5a38c4f19b0b6c64ee9d3d75571d6cd666e67ebae7d39d8b259d39a0f -workDir C:Jenkins
    ш■э 26, 2018 5:15:49 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
    INFO: Using C:Jenkinsremoting as a remoting work directory
    Both error and output logs will be printed to C:Jenkinsremoting
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main createEngine
    INFO: Setting up agent: slave-office
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener <init>
    INFO: Jenkins agent is running in headless mode.
    ш■э 26, 2018 5:15:50 PM hudson.remoting.Engine startEngine
    INFO: Using Remoting version: 3.22
    ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
    INFO: Using C:Jenkinsremoting as a remoting work directory
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Locating server among [https://jenkins.example.com/]
    ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
    INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Agent discovery successful
    Agent address: jenkins.example.com
    Agent port: 50000
    Identity: 62:e9:82:de:8b:ae:cf:6d:ea:9e:0b:cf:5c:ad:bb:10
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Handshaking
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Connecting to jenkins.example.com:50000
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Trying protocol: JNLP4-connect
    ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.protocol.impl.AckFilterLayer abort
    WARNING: [JNLP4-connect connection to jenkins.example.com/11.22.33.44:50000] Incorrect acknowledgement sequence, expected 0x000341434b got 0x485454502f
    ш■э 26, 2018 5:15:50 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: Connection closed before acknowledgement sent
    at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223)
    at hudson.remoting.Engine.innerRun(Engine.java:609)
    at hudson.remoting.Engine.run(Engine.java:469)
    Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent
    at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecvClosed(AckFilterLayer.java:280)
    at org.jenkinsci.remoting.protocol.FilterLayer.abort(FilterLayer.java:164)
    at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.abort(AckFilterLayer.java:130)
    at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecv(AckFilterLayer.java:258)
    at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecv(ProtocolStack.java:669)
    at org.jenkinsci.remoting.protocol.NetworkLayer.onRead(NetworkLayer.java:136)
    at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$2200(BIONetworkLayer.java:48)
    at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:283)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
    at java.lang.Thread.run(Unknown Source)

    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Connecting to jenkins.example.com:50000
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Server reports protocol JNLP4-plaintext not supported, skipping
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Server reports protocol JNLP3-connect not supported, skipping
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Server reports protocol JNLP2-connect not supported, skipping
    ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
    INFO: Server reports protocol JNLP-connect not supported, skipping
    ш■э 26, 2018 5:15:50 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:670)
    at hudson.remoting.Engine.innerRun(Engine.java:634)
    at hudson.remoting.Engine.run(Engine.java:469)


    TCP port for JNLP agents seems to be correctly configured for 50000



    Java Web Start Agent Protocol/4 (TLS encryption) is enabled



    Https certificate is correct & curl confirms that the server is available



    curl https://jenkins.example.com:50000
    Jenkins-Agent-Protocols: JNLP4-connect, Ping
    Jenkins-Version: 2.129
    Jenkins-Session: 9ab0885c
    Client: 10.42.24.96
    Server: 10.42.7.42
    Remoting-Minimum-Version: 3.4









    share|improve this question

























      3












      3








      3








      Trying to start Jenkins slave on Windows with Java Web start gives me this:



      >java -jar agent.jar -jnlpUrl https://jenkins.example.com/computer/slave-office/slave-agent.jnlp -secret 74aebde5a38c4f19b0b6c64ee9d3d75571d6cd666e67ebae7d39d8b259d39a0f -workDir C:Jenkins
      ш■э 26, 2018 5:15:49 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
      INFO: Using C:Jenkinsremoting as a remoting work directory
      Both error and output logs will be printed to C:Jenkinsremoting
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main createEngine
      INFO: Setting up agent: slave-office
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener <init>
      INFO: Jenkins agent is running in headless mode.
      ш■э 26, 2018 5:15:50 PM hudson.remoting.Engine startEngine
      INFO: Using Remoting version: 3.22
      ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
      INFO: Using C:Jenkinsremoting as a remoting work directory
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Locating server among [https://jenkins.example.com/]
      ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
      INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Agent discovery successful
      Agent address: jenkins.example.com
      Agent port: 50000
      Identity: 62:e9:82:de:8b:ae:cf:6d:ea:9e:0b:cf:5c:ad:bb:10
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Handshaking
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connecting to jenkins.example.com:50000
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Trying protocol: JNLP4-connect
      ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.protocol.impl.AckFilterLayer abort
      WARNING: [JNLP4-connect connection to jenkins.example.com/11.22.33.44:50000] Incorrect acknowledgement sequence, expected 0x000341434b got 0x485454502f
      ш■э 26, 2018 5:15:50 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: Connection closed before acknowledgement sent
      at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223)
      at hudson.remoting.Engine.innerRun(Engine.java:609)
      at hudson.remoting.Engine.run(Engine.java:469)
      Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent
      at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecvClosed(AckFilterLayer.java:280)
      at org.jenkinsci.remoting.protocol.FilterLayer.abort(FilterLayer.java:164)
      at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.abort(AckFilterLayer.java:130)
      at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecv(AckFilterLayer.java:258)
      at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecv(ProtocolStack.java:669)
      at org.jenkinsci.remoting.protocol.NetworkLayer.onRead(NetworkLayer.java:136)
      at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$2200(BIONetworkLayer.java:48)
      at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:283)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
      at java.lang.Thread.run(Unknown Source)

      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connecting to jenkins.example.com:50000
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Server reports protocol JNLP4-plaintext not supported, skipping
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Server reports protocol JNLP3-connect not supported, skipping
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Server reports protocol JNLP2-connect not supported, skipping
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Server reports protocol JNLP-connect not supported, skipping
      ш■э 26, 2018 5:15:50 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:670)
      at hudson.remoting.Engine.innerRun(Engine.java:634)
      at hudson.remoting.Engine.run(Engine.java:469)


      TCP port for JNLP agents seems to be correctly configured for 50000



      Java Web Start Agent Protocol/4 (TLS encryption) is enabled



      Https certificate is correct & curl confirms that the server is available



      curl https://jenkins.example.com:50000
      Jenkins-Agent-Protocols: JNLP4-connect, Ping
      Jenkins-Version: 2.129
      Jenkins-Session: 9ab0885c
      Client: 10.42.24.96
      Server: 10.42.7.42
      Remoting-Minimum-Version: 3.4









      share|improve this question














      Trying to start Jenkins slave on Windows with Java Web start gives me this:



      >java -jar agent.jar -jnlpUrl https://jenkins.example.com/computer/slave-office/slave-agent.jnlp -secret 74aebde5a38c4f19b0b6c64ee9d3d75571d6cd666e67ebae7d39d8b259d39a0f -workDir C:Jenkins
      ш■э 26, 2018 5:15:49 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
      INFO: Using C:Jenkinsremoting as a remoting work directory
      Both error and output logs will be printed to C:Jenkinsremoting
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main createEngine
      INFO: Setting up agent: slave-office
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener <init>
      INFO: Jenkins agent is running in headless mode.
      ш■э 26, 2018 5:15:50 PM hudson.remoting.Engine startEngine
      INFO: Using Remoting version: 3.22
      ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
      INFO: Using C:Jenkinsremoting as a remoting work directory
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Locating server among [https://jenkins.example.com/]
      ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
      INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Agent discovery successful
      Agent address: jenkins.example.com
      Agent port: 50000
      Identity: 62:e9:82:de:8b:ae:cf:6d:ea:9e:0b:cf:5c:ad:bb:10
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Handshaking
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connecting to jenkins.example.com:50000
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Trying protocol: JNLP4-connect
      ш■э 26, 2018 5:15:50 PM org.jenkinsci.remoting.protocol.impl.AckFilterLayer abort
      WARNING: [JNLP4-connect connection to jenkins.example.com/11.22.33.44:50000] Incorrect acknowledgement sequence, expected 0x000341434b got 0x485454502f
      ш■э 26, 2018 5:15:50 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: Connection closed before acknowledgement sent
      at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223)
      at hudson.remoting.Engine.innerRun(Engine.java:609)
      at hudson.remoting.Engine.run(Engine.java:469)
      Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent
      at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecvClosed(AckFilterLayer.java:280)
      at org.jenkinsci.remoting.protocol.FilterLayer.abort(FilterLayer.java:164)
      at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.abort(AckFilterLayer.java:130)
      at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecv(AckFilterLayer.java:258)
      at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecv(ProtocolStack.java:669)
      at org.jenkinsci.remoting.protocol.NetworkLayer.onRead(NetworkLayer.java:136)
      at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$2200(BIONetworkLayer.java:48)
      at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:283)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
      at java.lang.Thread.run(Unknown Source)

      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connecting to jenkins.example.com:50000
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Server reports protocol JNLP4-plaintext not supported, skipping
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Server reports protocol JNLP3-connect not supported, skipping
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Server reports protocol JNLP2-connect not supported, skipping
      ш■э 26, 2018 5:15:50 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Server reports protocol JNLP-connect not supported, skipping
      ш■э 26, 2018 5:15:50 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:670)
      at hudson.remoting.Engine.innerRun(Engine.java:634)
      at hudson.remoting.Engine.run(Engine.java:469)


      TCP port for JNLP agents seems to be correctly configured for 50000



      Java Web Start Agent Protocol/4 (TLS encryption) is enabled



      Https certificate is correct & curl confirms that the server is available



      curl https://jenkins.example.com:50000
      Jenkins-Agent-Protocols: JNLP4-connect, Ping
      Jenkins-Version: 2.129
      Jenkins-Session: 9ab0885c
      Client: 10.42.24.96
      Server: 10.42.7.42
      Remoting-Minimum-Version: 3.4






      windows java jenkins master-slave






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 26 '18 at 14:22









      GTXBxaKgCANmT9D9GTXBxaKgCANmT9D9

      83210




      83210






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I encountered the same problem. In my case, connecting directly to the host over a private network worked fine, but connecting through a load balancer resulted in the same exception.



          I ran Wireshark and determined that our load balancer was not letting some of the TCP traffic through. I was able to disable HTTP-specific configuration on the load balancer and set it up as a raw TCP pass-through. This was all I needed to fix the connection issues.






          share|improve this answer








          New contributor




          Stephen Rudolph is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "2"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f918311%2fjenkins-windows-slave-unable-to-connect%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I encountered the same problem. In my case, connecting directly to the host over a private network worked fine, but connecting through a load balancer resulted in the same exception.



            I ran Wireshark and determined that our load balancer was not letting some of the TCP traffic through. I was able to disable HTTP-specific configuration on the load balancer and set it up as a raw TCP pass-through. This was all I needed to fix the connection issues.






            share|improve this answer








            New contributor




            Stephen Rudolph is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              I encountered the same problem. In my case, connecting directly to the host over a private network worked fine, but connecting through a load balancer resulted in the same exception.



              I ran Wireshark and determined that our load balancer was not letting some of the TCP traffic through. I was able to disable HTTP-specific configuration on the load balancer and set it up as a raw TCP pass-through. This was all I needed to fix the connection issues.






              share|improve this answer








              New contributor




              Stephen Rudolph is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                I encountered the same problem. In my case, connecting directly to the host over a private network worked fine, but connecting through a load balancer resulted in the same exception.



                I ran Wireshark and determined that our load balancer was not letting some of the TCP traffic through. I was able to disable HTTP-specific configuration on the load balancer and set it up as a raw TCP pass-through. This was all I needed to fix the connection issues.






                share|improve this answer








                New contributor




                Stephen Rudolph is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                I encountered the same problem. In my case, connecting directly to the host over a private network worked fine, but connecting through a load balancer resulted in the same exception.



                I ran Wireshark and determined that our load balancer was not letting some of the TCP traffic through. I was able to disable HTTP-specific configuration on the load balancer and set it up as a raw TCP pass-through. This was all I needed to fix the connection issues.







                share|improve this answer








                New contributor




                Stephen Rudolph is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Stephen Rudolph is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 10 mins ago









                Stephen RudolphStephen Rudolph

                1011




                1011




                New contributor




                Stephen Rudolph is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Stephen Rudolph is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Stephen Rudolph is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f918311%2fjenkins-windows-slave-unable-to-connect%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                    Список ссавців Італії Природоохоронні статуси | Список |...

                    Українські прізвища Зміст Історичні відомості |...