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

Proxy settings in plugins page are ignored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins latest + reverse proxy
    • Similar Issues:

      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

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

            Show
            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.
            Hide
            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

            Show
            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
            Hide
            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.

            Show
            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.
            Hide
            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

            Show
            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
            Hide
            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)

            Show
            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

              • Assignee:
                escoem Emilio Escobar
                Reporter:
                schristou Steven Christou
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: