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

Using Apache proxysettings breaks several GUI functions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • None

      We are using an HTTP Proxy with the following config:

      <VirtualHost I.AM.AN.IPADDRESS:443>
      ServerName randomname.my-company.com
      ServerAdmin it@my-company.com

      DocumentRoot /srv/www/dummy

      RewriteEngine On
      RewriteLogLevel 0

      RewriteCond %

      {REQUEST_URI}

      !^/manager
      RewriteRule ^/?$ https://%

      {HTTP_HOST}

      /jenkins/ [R,L]

      ErrorLog /var/log/apache2/randomname_error.log
      CustomLog /var/log/apache2/randomname_access.log combined
      RewriteLog /var/log/apache2/randomname_rewrite.log

      <Location /jenkins>
      Order allow,deny
      Allow from all
      </Location>

      <Location /manager>
      Order allow,deny
      Allow from all
      </Location>

      SSLEngine on
      SSLProtocol -ALL +SSLv3 +TLSv1
      SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM
      SSLCertificateFile /etc/apache2/ssl.crt/wildcard.my-company.com.crt
      SSLCertificateKeyFile /etc/apache2/ssl.key/wildcard.my-company.com.key
      SSLCertificateChainFile /etc/apache2/ssl.crt/wildcard.my-company.com.ca

      ProxyRequests On
      ProxyPreserveHost On
      ProxyPass /jenkins http://127.0.0.1:8080/jenkins
      ProxyPassReverse /jenkins http://127.0.0.1:8080/jenkins

      ProxyPass /manager http://127.0.0.1:8080/manager
      ProxyPassReverse /manager http://127.0.0.1:8080/manager

      </VirtualHost>

      We updated the Jenkins to 1.501 and restarted the tomcat. We can log in, but several functions are not available.

      We can access the "Manage Jenkins" Interface, but by clicking on "Manage Plugins" or "SystemInformation" we are placed on the landing page again. Nevertheless we can access "Configure System".

      To test this, we setup the same system on a new server. Versions as declared above.
      Accessing the jenkins via tomcat (http://testserver:8080/jenkins/login?from=%2Fjenkins%2F) works fine.

      Accessing it via randomname.my-company.com - over the apache proxy - breaks it, as parts of the GUI are not working.

            Unassigned Unassigned
            techops Technical Operations
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: