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

VirtualBox windows VM Build Agent cannot connect to master with agent/master access control disabled



    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Duplicate
    • core, virtualbox-plugin
    • Jenkins version 2.51 running on debian jessie. The VM is running Windows Server 2008 R2 SP1 64-bit via VirtualBox. Both are running the latest Java.


      I've looked through many seemingly-related issues regarding a slave not being able to connect to a master. However, after hours of attempting different fixes (disabling security, attemtping to pass -jnlpCredentials of an existing jenkins user); nothing seems to work but downgrading to <2.7. The slave reports a 403 Forbidden error when attempting to access build-agent.jnlp

      The following is what appears on the master log:

      INFO: Accepted connection #8 from /
      Mar 22, 2017 1:48:29 PM jenkins.slaves.DefaultJnlpSlaveReceiver afterProperties
      WARNING: Rejecting connection to win2k8 from / as a JNLP 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.
      Mar 22, 2017 1:49:22 PM hudson.slaves.RetentionStrategy$Demand check
      INFO: Launching computer win2k8 as it has been in demand for 13 hr



        Issue Links


            kslice Kevin McHale created issue -
            kslice Kevin McHale made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-41384 [ JENKINS-41384 ]
            kslice Kevin McHale made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]


              godin godin
              kslice Kevin McHale
              0 Vote for this issue
              1 Start watching this issue