So i have noticed over the last few days that some of my Jenkins slaves are 
continually reporting in the Windows Event Log the following:

*(Information) **Service started successfully *
>
> 8:44:04
>
> 8:43:58
>
> 8:43:51
>
> 8:43:44… and so on
>
>  
>
> *(Information) **Starting C:\Program Files 
> (x86)\Java\jre1.8.0_91\bin\java.exe -Xrs -jar "c:\Jenkins\slave.jar" 
> -noCertificateCheck -jnlpUrl 
> https://---------------------------/computer/D----------------------/slave-agent.jnlp
>  
> -secret *
>
> 8:44:04
>
> 8:43:58
>
> 8:43:51
>
> 8:43:44… and so on
>
>  
>
> *(Warning) **Child process [5188 - C:\Program Files 
> (x86)\Java\jre1.8.0_91\bin\java.exe -Xrs -jar "c:\Jenkins\slave.jar" 
> -noCertificateCheck -jnlpUrl https://**---------------------**/computer/*
> *---------------------**/slave-agent.jnlp -secret **---------------------** 
> finished 
> with -1*
>
> 8:44:04
>
> 8:43:58
>
> 8:43:51
>
> 8:43:44… and so on
>

 As you can see this is happening every 20 - 40 seconds.  

As far as I can tell Jenkins is working properly and contacting the slaves, 
as well as running the jobs.  

Jenkins Slave log shows the following:

> INFO: Connecting to 
>
> Jan 19, 2017 5:41:32 AM 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:366)
>
> at hudson.remoting.Engine.run(Engine.java:338)
>
>
>> Jan 19, 2017 5:41:38 AM hudson.remoting.jnlp.Main createEngine
>
> INFO: Setting up slave: 
>
> Jan 19, 2017 5:41:38 AM hudson.remoting.jnlp.Main$CuiListener <init>
>
> INFO: Jenkins agent is running in headless mode.
>
> Jan 19, 2017 5:41:38 AM hudson.remoting.jnlp.Main$CuiListener status
>
> INFO: Locating server among [https://]
>
> Jan 19, 2017 5:41:38 AM hudson.remoting.jnlp.Main$CuiListener status
>
> INFO: Handshaking
>
> Jan 19, 2017 5:41:38 AM hudson.remoting.jnlp.Main$CuiListener status
>
> INFO: Connecting to jenkins.
>
> Jan 19, 2017 5:41:38 AM hudson.remoting.jnlp.Main$CuiListener status
>
> INFO: Trying protocol: JNLP3-connect
>
> Jan 19, 2017 5:41:38 AM hudson.remoting.jnlp.Main$CuiListener status
>
> INFO: Server didn't accept the handshake: Disabled 
>> protocol:Protocol:JNLP3-connect
>
> Jan 19, 2017 5:41:38 AM hudson.remoting.jnlp.Main$CuiListener status
>
> INFO: Connecting to jenkins.
>
> Jan 19, 2017 5:41:38 AM hudson.remoting.jnlp.Main$CuiListener status
>
>
 Some information has been edited, i have removed server names, ports, and 
URL's

*What does it mean to be running in headless mode?*
*Yes, i can read that protocols where rejected, how do i fix that?*

Any help would be appreciated, 

Thanks.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8f3f3c65-8f26-474e-8fa5-af7cdd6fc23e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to