• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • remoting
    • all
    • 3159.vb_8c0ef2b_55a_f as included in Jenkins 2.428 and 2.426.1

      agent.jar 4.3 does not work behind a firewall.  The last release that I can successfully get to connect is 3.17.  I am using -Dhttps.proxyHost and -Dhttps.proxyPort - with no success with the newer release, but it does work successfully with the old release

          [JENKINS-65368] Remoting agent.jar does not work behind proxy

          Annette created issue -

          Annette added a comment - - edited

          getting can't connect to port 49187.

          Annette added a comment - - edited getting can't connect to port 49187.
          Annette made changes -
          Description Original: agent.jar 4.3 does not work behind a firewall.  The last release that I can successfully get to connect is 3.17.  I am using -Dhttps.proxyHost and -Dhttps.proxyPort - with not success. New: agent.jar 4.3 does not work behind a firewall.  The last release that I can successfully get to connect is 3.17.  I am using -Dhttps.proxyHost and -Dhttps.proxyPort - with no success.
          Annette made changes -
          Description Original: agent.jar 4.3 does not work behind a firewall.  The last release that I can successfully get to connect is 3.17.  I am using -Dhttps.proxyHost and -Dhttps.proxyPort - with no success. New: agent.jar 4.3 does not work behind a firewall.  The last release that I can successfully get to connect is 3.17.  I am using -Dhttps.proxyHost and -Dhttps.proxyPort - with no success with the newer release, but it does work successfully with the old release

          Annette added a comment -

          jenkins log reports - SEVERE: HTTPS://Jenkins.server/ provided port:49187 is not reachable

           

          Annette added a comment - jenkins log reports - SEVERE: HTTPS://Jenkins.server/ provided port:49187 is not reachable  
          Sun WeiSheng made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Sun WeiSheng added a comment -

          System management interface, select the global security configuration, modify the TCP port for inbound agents to be selected randomly, and click save.

          Sun WeiSheng added a comment - System management interface, select the global security configuration, modify the TCP port for inbound agents to be selected randomly, and click save.

          Sun WeiSheng added a comment -

          If you can’t solve it, please provide more detailed information and environmental instructions, thank you

          Sun WeiSheng added a comment - If you can’t solve it, please provide more detailed information and environmental instructions, thank you

          Annette added a comment -

          thanks for your input...so this is a jenkins server that is supporting many slaves..all operational.  This is the only slave that is behind a proxy server... adding startup parameters.

          Annette added a comment - thanks for your input...so this is a jenkins server that is supporting many slaves..all operational.  This is the only slave that is behind a proxy server... adding startup parameters.

          Annette added a comment -

          I am a little hesitant to change ..

          here is more infor...

          java -Djavax.net.ssl.keystore=/usr/local./share/certs/dev-03.p12 -Djavax.net.ssl.keyStorePassword=password -Djava.net.ssl.trustStore=/usr/local/share/certs/trust.jks -Djavax.new.ssl.trustStorePassword=password -Djava.io.tmpdir=/data/1/jenkins/tmp -Dhttps.Host=proxy.server -Dhttps.proxyPort=1234 -jar /usr/local/share/applications/slave.jar -jnlpUrl https://jenkins.server.jenkins.computer.dev-03/slave-agent.jnlp -loggingConfig /usr/local/share/applications/logging.properties

          These are the parameters that I am specifying......if I use the older slave.jar mentioned above, it works and conects...if I new the newer one it does not with the error listed above.

          I hope this helps.

           

           

          Annette added a comment - I am a little hesitant to change .. here is more infor... java -Djavax.net.ssl.keystore=/usr/local./share/certs/dev-03.p12 -Djavax.net.ssl.keyStorePassword=password -Djava.net.ssl.trustStore=/usr/local/share/certs/trust.jks -Djavax.new.ssl.trustStorePassword=password -Djava.io.tmpdir=/data/1/jenkins/tmp -Dhttps.Host=proxy.server -Dhttps.proxyPort=1234 -jar /usr/local/share/applications/slave.jar -jnlpUrl https://jenkins.server.jenkins.computer.dev-03/slave-agent.jnlp -loggingConfig /usr/local/share/applications/logging.properties These are the parameters that I am specifying......if I use the older slave.jar mentioned above, it works and conects...if I new the newer one it does not with the error listed above. I hope this helps.    

            bluersw Sun WeiSheng
            annette Annette
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: