Skip to content

[JENKINS-6167] JNLP slave should support a connection via HTTP proxy #19480

Open

Description

@jenkins-infra-bot

It's possible to use the standard HTTP proxy to bridge arbitrary TCP/IP connection — the CONNECT command.

JNLP slaves should support this.


Originally reported by kohsuke, imported from: JNLP slave should support a connection via HTTP proxy
  • assignee: shirosaki
  • status: In Progress
  • priority: Major
  • component(s): core
  • resolution: Unresolved
  • votes: 2
  • watchers: 5
  • imported: 2025-11-24
Raw content of original issue

It's possible to use the standard HTTP proxy to bridge arbitrary TCP/IP connection — the CONNECT command.

JNLP slaves should support this.

2 attachments

Activity

  1. jenkins-infra-bot commented on Aug 4, 2010

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

      This patch shows how to do it by hard coding my proxy settings... hopefully this solves half the problem (the other half being how to not hard code my settings)

    This patch shows how to do it by hard coding my proxy settings... hopefully this solves half the problem (the other half being how to not hard code my settings)

  2. jenkins-infra-bot commented on Oct 2, 2012

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

      Slave behind http proxy works with this patch. Use http_proxy environment variable.

    Slave behind http proxy works with this patch.
    Use http_proxy environment variable.

  3. jenkins-infra-bot commented on Oct 17, 2014

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

      shirosaki: Please submit patches as pull requests on GitHub.

    shirosaki: Please submit patches as pull requests on GitHub.

  4. jenkins-infra-bot commented on Oct 18, 2014

    @jenkins-infra-bot
    Author
    shirosaki:

    I've submitted a patch on GitHub.
    jenkinsci/remoting#27

  5. jenkins-infra-bot commented on Mar 20, 2015

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Hiroshi Shirosaki
    Path:
    src/main/java/hudson/remoting/Engine.java
    src/main/java/hudson/remoting/Launcher.java
    src/main/java/hudson/remoting/Util.java
    http://jenkins-ci.org/commit/remoting/8c875cbc81d22df898a57ef86e833b41c50470cb
    Log:
    JENKINS-6167 Support JNLP slave connection via HTTP proxy

    We get proxy setting from http.proxyHost property or http_proxy
    environment variable.

  6. jenkins-infra-bot commented on Mar 20, 2015

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Kohsuke Kawaguchi
    Path:
    changelog.html
    core/pom.xml
    pom.xml
    http://jenkins-ci.org/commit/jenkins/72e0b9c53a15306e0a7b7117100f4d1b7ec250b8
    Log:
    [FIXED JENKINS-6167 JENKINS-21251 JENKINS-21160]

    Integrated a newer version of remoting & args4j

  7. jenkins-infra-bot commented on Mar 27, 2015

    @jenkins-infra-bot
    Author
  8. jenkins-infra-bot commented on Jun 9, 2016

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

      Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/remoting/Engine.java src/main/java/hudson/remoting/Util.java http://jenkins-ci.org/commit/remoting/fbb9aff7cf0f9acbba6e97c923efd640b5537c90 Log: JENKINS-31256 Use credentials in waitForServerToBack (#87)

      • JENKINS-31256 Use credentials in waitForServerToBack This address three regressions introduced with HUDSON-4071, 662b0f and JENKINS-6167 as these only modified run() resulting in no proxy and no authorization support in waitForServerToBack()
      • Move authorization code to openURLConnection()
      • Factored out sslSocketFactory creation and use sslSocketFactory also in waitForServerToBack()

    Code changed in jenkins
    User: Oleg Nenashev
    Path:
    src/main/java/hudson/remoting/Engine.java
    src/main/java/hudson/remoting/Util.java
    http://jenkins-ci.org/commit/remoting/fbb9aff7cf0f9acbba6e97c923efd640b5537c90
    Log:
    JENKINS-31256 Use credentials in waitForServerToBack (#87)

    • JENKINS-31256 Use credentials in waitForServerToBack
      This address three regressions introduced with HUDSON-4071, 662b0f and JENKINS-6167 as these only modified run() resulting in no proxy and no authorization support in waitForServerToBack()
    • Move authorization code to openURLConnection()
    • Factored out sslSocketFactory creation and use sslSocketFactory also in waitForServerToBack()
  9. 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