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

broken HTTP_PROXY handling on jenkins-slave (JNLP)

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      broken HTTP_PROXY handling on jenkins-slave (JNLP)
      The proxy exclusion list (http.nonProxyHosts, no_proxy) is not taken into account on the jenkins-slave side.
      This has been observed in our jenkins master/slave environment which uses JNLP.

      Support for HTTP_PROXY handling on jenkins-slave side has been added with jenkins version 1.606.
      Unfortunately that does not take the proxy exclusion list into account (e.g. defined by no_proxy env variable on linux).
      This forces the slave to always use the proxy. Even for destinations which would be excluded by no_proxy.

      Jenkins uses org.jenkins-ci.main:remoting for handling http proxy functionality.
      Jenkins includes version 2.53.2 of org.jenkins-ci.main:remoting which contains the error described above.

      possible solution:
      1.) create new release of org.jenkins-ci.main:remoting which already contains the fix in it's master branch.
      2.) update jenkins' to use this new version of org.jenkins-ci.main:remoting

      see also:

        Attachments

          Issue Links

            Activity

            maecval Valentin Maechler created issue -
            maecval Valentin Maechler made changes -
            Field Original Value New Value
            Description *broken HTTP_PROXY handling on jenkins-slave (JNLP)*
            The proxy exclusion list (http.nonProxyHosts, no_proxy) is not taken into account on the jenkins-slave side.
            This has been observed in our jenkins master/slave environment which uses JNLP.

            Support for HTTP_PROXY handling on jenkins-slave side has been added with jenkins version 1.606.
            Unfortunately that does not take the proxy exclusion list into account (e.g. defined by no_proxy env variable on linux).
            This forces the slave to always use the proxy. Even for destinations which would be excluded by no_proxy.

            Jenkins uses [org.jenkins-ci.main:remoting|https://github.com/jenkinsci/remoting] for handling http proxy functionality.
            Jenkins includes version 2.53.2 of [org.jenkins-ci.main:remoting|https://github.com/jenkinsci/remoting] which contains the error described above.

            possible solution:
            1.) create new release of [org.jenkins-ci.main:remoting|https://github.com/jenkinsci/remoting] which *already *contains the fix in it's master branch.
            2.) update jenkins' to use this new version of [org.jenkins-ci.main:remoting|https://github.com/jenkinsci/remoting]

            see also:
            - commit of fix in master branch of org.jenkins-ci.main:remoting
                [https://github.com/jenkinsci/remoting/commit/56d30acb89f5626320d6b47585053674a5fdfb78]
                
            *broken HTTP_PROXY handling on jenkins-slave (JNLP)*
            The proxy exclusion list (http.nonProxyHosts, no_proxy) is not taken into account on the jenkins-slave side.
            This has been observed in our jenkins master/slave environment which uses JNLP.

            Support for HTTP_PROXY handling on jenkins-slave side has been added with jenkins version 1.606.
            Unfortunately that does not take the proxy exclusion list into account (e.g. defined by no_proxy env variable on linux).
            This forces the slave to always use the proxy. Even for destinations which would be excluded by no_proxy.

            Jenkins uses [org.jenkins-ci.main:remoting|https://github.com/jenkinsci/remoting] for handling http proxy functionality.
            Jenkins includes version 2.53.2 of [org.jenkins-ci.main:remoting|https://github.com/jenkinsci/remoting] which contains the error described above.

            possible solution:
            1.) create new release of [org.jenkins-ci.main:remoting|https://github.com/jenkinsci/remoting] which *already* contains the fix in it's master branch.
            2.) update jenkins' to use this new version of [org.jenkins-ci.main:remoting|https://github.com/jenkinsci/remoting]

            see also:
            - commit of fix in master branch of org.jenkins-ci.main:remoting
                [https://github.com/jenkinsci/remoting/commit/56d30acb89f5626320d6b47585053674a5fdfb78]
                
            danielbeck Daniel Beck made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            etiennebec Etienne Bec made changes -
            Remote Link This issue links to "PR#84 (Web Link)" [ 14348 ]
            etiennebec Etienne Bec made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            etiennebec Etienne Bec made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ] Etienne Bec [ etiennebec ]
            etiennebec Etienne Bec made changes -
            Assignee Etienne Bec [ etiennebec ] Oleg Nenashev [ oleg_nenashev ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            aheritier Arnaud Héritier made changes -
            Labels lts-candidate
            olivergondza Oliver Gondža made changes -
            Labels lts-candidate 2.7.2-fixed lts-candidate
            olivergondza Oliver Gondža made changes -
            Labels 2.7.2-fixed lts-candidate 2.7.2-fixed
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 167935 ] JNJira + In-Review [ 198313 ]
            johey Johan Smolinski made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            johey Johan Smolinski made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            johey Johan Smolinski made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            ajhodges Adam Hodges made changes -
            Link This issue is related to JENKINS-48778 [ JENKINS-48778 ]

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                maecval Valentin Maechler
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: