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

provided port:50000 is not reachable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • kubernetes-plugin
    • None

      Kuberntes plugin unable to connect the internal port via cluster dns, it is trying to connect public dns with internal port.

      Using latest LTS jenkins with latest  kuberntes plugins.

       

      Oct 01, 2020 5:19:35 PM hudson.remoting.jnlp.Main$CuiListener error
      SEVERE: https://jenkins-evt.sps-ci.xxx.com/ provided port:50000 is not reachable
      java.io.IOException: https://jenkins-evt.sps-ci.xxx.com/ provided port:50000 is not reachable
       at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:314)
       at hudson.remoting.Engine.innerRun(Engine.java:694)
       at hudson.remoting.Engine.run(Engine.java:519)

       

      Configured below in kuberntes plugin.

       

      While it is trying to connect the jenkins it showing below  URL
      INFO: Locating server among https://jenkins-evt.sps-ci.xxx.com/
      InstedOf http://jenkins-evt-svc.ci-cd.svc.cluster.local:8080
      
      ERROR
      Oct 01, 2020 5:57:06 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver openURLConnection
      WARNING: HTTPs certificate check is disabled for the endpoint.
      Oct 01, 2020 5:57:06 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
      INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
      Oct 01, 2020 5:57:06 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver isPortVisible
      WARNING: Connection refused (Connection refused)
      Oct 01, 2020 5:57:06 PM hudson.remoting.jnlp.Main$CuiListener error
      SEVERE: https://jenkins-evt.sps-ci.xxx.com/ provided port:50000 is not reachable
      java.io.IOException: https://jenkins-evt.sps-ci.xxx.com/ provided port:50000 is not reachable
              at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:314)
              at hudson.remoting.Engine.innerRun(Engine.java:694)
              at hudson.remoting.Engine.run(Engine.java:519)
      

            carlos_dev Carlos Sanchez
            pradeepgudipudi pradeep gudipudi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: