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

HTTP Request plugin does not work behind a proxy

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • http-request-plugin
    • None
    • Jenkins 1.590, http_request 1.8.5

      HTP Request plugin can not connect if the Jenkins is behind a proxy.
      I attached a patch that solves this bug. This solution uses the http client SystemDefaultHttpClient instead of using the DefaultHttpClient. This class use the system properties to configure a proxy as described in https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html.

          [JENKINS-25801] HTTP Request plugin does not work behind a proxy

          Thanks for the patch.

          Released in 1.8.6

          Janario Oliveira added a comment - Thanks for the patch. Released in 1.8.6

          Code changed in jenkins
          User: Janario Oliveira
          Path:
          src/main/java/jenkins/plugins/http_request/HttpRequest.java
          http://jenkins-ci.org/commit/http-request-plugin/4644139cdfc3417377aca30c5a704b88d9492397
          Log:
          JENKINS-25801 - Patch sent from Angel López Cima. Support to proxy

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Janario Oliveira Path: src/main/java/jenkins/plugins/http_request/HttpRequest.java http://jenkins-ci.org/commit/http-request-plugin/4644139cdfc3417377aca30c5a704b88d9492397 Log: JENKINS-25801 - Patch sent from Angel López Cima. Support to proxy

            janario Janario Oliveira
            anloci Angel López Cima
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: