Skip to content

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

Closed

Description

@jenkins-infra-bot

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=


Originally reported by schristou, imported from: Proxy settings in plugins page are ignored
  • assignee: escoem
  • status: Resolved
  • priority: Minor
  • component(s): core
  • label(s): 2.7.1-fixed
  • resolution: Fixed
  • resolved: 2016-06-02T17:58:01+00:00
  • votes: 0
  • watchers: 4
  • imported: 2025-11-24
Raw content of original issue

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=
  • environment: Jenkins latest + reverse proxy

Activity

  1. jenkins-infra-bot commented on Dec 4, 2015

    @jenkins-infra-bot
    Author
    • Remote link associated with this issue:

  2. jenkins-infra-bot commented on Dec 6, 2015

    @jenkins-infra-bot
    Author
    danielbeck:
    • Original comment link
    • Raw content of original 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.

    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.

  3. jenkins-infra-bot commented on Dec 9, 2015

    @jenkins-infra-bot
    Author
    fbelzunc:

    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 jenkinsci/async-http-client-plugin#4

  4. jenkins-infra-bot commented on Dec 11, 2015

    @jenkins-infra-bot
    Author
    escoem:
    • Original comment link
    • Raw content of original comment:

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

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

  5. jenkins-infra-bot commented on Jun 2, 2016

    @jenkins-infra-bot
    Author
    scm_issue_link:
    • Original comment link
    • Raw content of original 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/81e00cc67957018b0d355740a1eeb2bcd21c0609
    Log:
    [FIXED JENKINS-31915] Proxy settings in plugins page are ignored (#1955)

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

  6. jenkins-infra-bot commented on Feb 17, 2017

    @jenkins-infra-bot
    Author
    scm_issue_link:
    • Original comment link
    • Raw content of original 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)

    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 81e00cc)

  7. jenkins-infra-bot commented on Nov 24, 2025

    @jenkins-infra-bot
    Author

    [Original duplicates from Jira: JENKINS-22928]

  8. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions