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

Proxy settings in plugins page are ignored

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • core
    • Jenkins latest + reverse proxy

    Description

      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=
      

      Attachments

        Issue Links

          Activity

            danielbeck 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.

            danielbeck 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

            fbelzunc 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.

            escoem 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_issue_link 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_issue_link 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)

            People

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

              Dates

                Created:
                Updated:
                Resolved: