Unable to connect to Operations Center

Issue

  • The Client Masters take too long to connect to the Operations Center instance
  • The Client Masters Cann’t connect to the Operations Center instance

Environment

  • CloudBees Jenkins Operations Center
  • CloudBees Jenkins Enterprise

Resolution

  • Set TCP port for JNLP slave agents to Fixed in Configure Global Security page
  1. Go to CloudBees Jenkins Operations Center
  2. Click on Manage Jenkins on the left side of the navigator
  3. Click on Configure Global Security in Manage Jenkins page
  4. Select Enable security check box and set the TCP port for JNLP slave agents to Fixed with port number
Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Mark Weisser

    Does the fixed port number matter? When there is more than one master does each master need a unique fixed port number or should all of the fixed port numbers be the same. Is the fixed port number used in HA setups?

  • 0
    Avatar
    Denys Digtiar

    Hi Mark,

    No, it should not, unless it conflicts with any other service on the host.

    We recommend unique ports.

    Fixed port is necessary largely to support firewalls. In HA setup we recommend avoiding proxying the JNLP port with a reverse proxy but configure Jenkins in such way that enables direct communication of agents to the primary node. Please refer to How to set-up a CJP HA environment with HA Proxy.

    If you experience any issues with connection between Operations Center and Client Master please consult the Troubleshooting section of the knowledgebase

    Best regards,

    Denys

Please sign in to leave a comment.