The error message java.lang.Exception: Timed out waiting on license to install occurs when connecting a client master to a CJOC

Issue

java.lang.Exception: Timed out waiting on license to install occurs when attempting to push a license to a client master from a CJOC.

Environment

  • CloudBees Jenkins Enterprise
  • CloudBees Jenkins Operations Center

Resolution

Verify that the hostname for the client master is correct by navigating to Manage Jenkins.  Verify that there is not an error saying the HA proxy setup is broken at the top of the screen.

If not, continue to Configure System and look at the **Jenkins URL **under the section **Jenkins Location**.  If running HA, make sure this URL is pointing the HA frontend.  If running SSL, make sure it includes https, otherwise it should include http.  

If all of this looks correct, and the JOC server can access the client master server(via curl -v from command line), please create a logger for com.cloudbees.opscenter.server.properties.ConnectedMasterLicenseServerProperty on the JOC.  Attach a new support bundle from the JOC to the ticket after attempting to push the license.

Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Balaji Muthuvarathan

    Experienced this very issue. In short, JOC was able to connect to JE, but JE couldn't connect back to JOC due to a load-balancer/DNS issue.

  • 0
    Avatar
    Victoria Lin

    What changes were made on the load balancer/DNS to make this work? I am having the same issue and my network team can't seem to figure out what is being blocked and how to unblock the connection going back.  Please help!

    Thank you.

Please sign in to leave a comment.