-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Jenkins Version 2.195, Remoting Version 3.35
When trying to connect the slave (run in a virtualbox environment) to the jenkins master, i encountered the following error:
java.util.concurrent.ExecutionException:org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: MYNODE is not an inbound agent.
It is able to discover the agent successfully but failed at JNLP4-connect.
May i know how can i set MYNODE to be an inbound agent?
Update on 19-Sep
Have checked the Master log, it stated the following:
"WARNING j.s.DefaultJnlpSlaveReceiver#afterProperties : Rejecting connection to MYNODE from XXXX/168.172.100.2:XXXX as an inbound agent as the launcher class hudson.plugins.virtualbox.VirtualBoxComputerLauncher does not extend JNLPLauncher or does not implement DelegatingComputerLauncher with a delegation chain leading to a JNLPLauncher. Set system property jenkins.slaves.DefaultJnlpSlaveReceiver.disableStrictVerification=true to allowconnections until the plugin has been fixed."
The problem still persists with the above error message even after I have added the property -Djenkins.slaves.DefaultJnlpSlaveReceiver.disableStrictVerification=true into the <arguments> before -jar in jenkins.xml. Furthermore, i have verified inside "Manage Jenkins">"System Properties" that "jenkins.slaves.DefaultJnlpSlaveReceiver.disableStrictVerification" has indeed been set to "true".
Thanks.