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

Allow configuration of HTTPS proxy for connection to Crowd

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • crowd2-plugin
    • None

      Jenkins 1.549
      Crowd 2 Plugin 1.6

      The Crowd2 plugin provides integration to Crowd but its currently not possible to setup an Https proxy for that integration through Crowd2/Jenkins.

      I have tried a few things to get this working:

      1. Added the https proxy information into the proxy tab of the PluginManager

      2. Added -Dhttps.proxyHost=<host> -Dhttps.proxyPort=<port> to the command line arguments in the jenkins startup script.

      This has given Jenkins access to Crowd via the https proxy (as can be seen by launching a https request using a groovy script)

      However this doesn't seem to allow access to Crowd2 plugin. There is a No route to host exception in the log when a connection is attempted.

      com.atlassian.crowd.exception.OperationFailedException: java.net.NoRouteToHostException: No route to host
      at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:353)
      at com.atlassian.crowd.integration.rest.service.RestCrowdClient.searchUsers(RestCrowdClient.java:495)
      at com.atlassian.crowd.integration.rest.service.RestCrowdClient.testConnection(RestCrowdClient.java:484)

            integer Kanstantsin Shautsou
            tsuch567 Toby Sucharov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: