• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Jenkins latest + reverse proxy

      If you setup a Jenkins instance behind a proxy, the configuration from Manage Jenkins > Manage Plugins > Advanced tab are ignored and are not correctly being used. The documentation in the proxy configuration help option states:

      The value you submit here will be set as http.proxyHost system property.
      

      Looking quickly at the source code I was unable to locate references to the http.proxyHost property being set.

      I was able to workaround the issue by setting up the proxy settings manually via the startup arguments:

      -Dhttp.proxyHost= 
      -Dhttp.proxyPort= 
      -Dhttp.nonProxyHosts=
      -Dhttp.proxyUser=
      -Dhttp.proxyPassword=
      

          [JENKINS-31915] Proxy settings in plugins page are ignored

          Daniel Beck added a comment -

          The value you submit here will be set as http.proxyHost system property.

          The documentation on this is long obsolete, it was changed deliberately some years ago.

          Daniel Beck added a comment - The value you submit here will be set as http.proxyHost system property. The documentation on this is long obsolete, it was changed deliberately some years ago.

          I think the issue you are talking about is not related to Jenkins core but to the async-http-client-plugin

          It was already fixed https://github.com/jenkinsci/async-http-client-plugin/pull/4

          Félix Belzunce Arcos added a comment - I think the issue you are talking about is not related to Jenkins core but to the async-http-client-plugin It was already fixed https://github.com/jenkinsci/async-http-client-plugin/pull/4

          Only noProxyHost is ignored when validate proxy. async-http-client-plugin is not involved when validating proxy settings, so is not solved.

          Emilio Escobar added a comment - Only noProxyHost is ignored when validate proxy. async-http-client-plugin is not involved when validating proxy settings, so is not solved.

          Code changed in jenkins
          User: Emilio Escobar
          Path:
          core/src/main/java/hudson/ProxyConfiguration.java
          core/src/main/resources/hudson/Messages.properties
          core/src/main/resources/hudson/ProxyConfiguration/help-name.html
          http://jenkins-ci.org/commit/jenkins/81e00cc67957018b0d355740a1eeb2bcd21c0609
          Log:
          [FIXED JENKINS-31915] Proxy settings in plugins page are ignored (#1955)

          [FIXED JENKINS-31915] Proxy settings in plugins page are ignored

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Emilio Escobar Path: core/src/main/java/hudson/ProxyConfiguration.java core/src/main/resources/hudson/Messages.properties core/src/main/resources/hudson/ProxyConfiguration/help-name.html http://jenkins-ci.org/commit/jenkins/81e00cc67957018b0d355740a1eeb2bcd21c0609 Log: [FIXED JENKINS-31915] Proxy settings in plugins page are ignored (#1955) [FIXED JENKINS-31915] Proxy settings in plugins page are ignored

          Code changed in jenkins
          User: Emilio Escobar
          Path:
          core/src/main/java/hudson/ProxyConfiguration.java
          core/src/main/resources/hudson/Messages.properties
          core/src/main/resources/hudson/ProxyConfiguration/help-name.html
          http://jenkins-ci.org/commit/jenkins/95c3f27e261bed384c3f96cc616cb7b1ee096cbf
          Log:
          [FIXED JENKINS-31915] Proxy settings in plugins page are ignored (#1955)

          [FIXED JENKINS-31915] Proxy settings in plugins page are ignored
          (cherry picked from commit 81e00cc67957018b0d355740a1eeb2bcd21c0609)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Emilio Escobar Path: core/src/main/java/hudson/ProxyConfiguration.java core/src/main/resources/hudson/Messages.properties core/src/main/resources/hudson/ProxyConfiguration/help-name.html http://jenkins-ci.org/commit/jenkins/95c3f27e261bed384c3f96cc616cb7b1ee096cbf Log: [FIXED JENKINS-31915] Proxy settings in plugins page are ignored (#1955) [FIXED JENKINS-31915] Proxy settings in plugins page are ignored (cherry picked from commit 81e00cc67957018b0d355740a1eeb2bcd21c0609)

            escoem Emilio Escobar
            schristou Steven Christou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: