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

Jenkins redirecting to http url even though jenkins_url is configured to be https

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I don't know what component does it belong to.

      I have jenkins behind a https gateway. Gateway gets request at 443 and forwards to jenkins running at 8080.

      It works fine for many urls but when I click on any plugin/job url which doesn't end in `/` then jenkins redirects to an http url with a `/` at the end, which breaks because there's no http.

      I already have the https url configured in ConfigureSystem settings, yet jenkins keep redirecting to a http url.

      It's probably duplicate of https://issues.jenkins-ci.org/browse/JENKINS-10675

       

       

       

        Attachments

          Issue Links

            Activity

            Hide
            just1689 Justin Tamblyn added a comment -

             Any news on this?

             

            If this isn't resolved, my plan is to change my https server to redirect http requests on this subdomain to http.

            Show
            just1689 Justin Tamblyn added a comment -  Any news on this?   If this isn't resolved, my plan is to change my https server to redirect http requests on this subdomain to http.
            Hide
            bmanikantareddy Manikantareddy Buchi added a comment -

            I am aslo facing the same issue. Jenkins keeps on redirecting the https URL to http.

            whereas if I copy the URL and paste it in new browser windows it's able to load correctly.

             

            Not sure whats the difference between launching the page from the jenkins generated page and manually.

            for example:

            in the mange Jenkins page when I try to open plugin manager  https://jenkins.mydomain.com/pluginManager/ when I hover the mouse the link is HTTPS , when I click on it the response we are getting with 302 redirect to http://fssre.cspdev.ncr.com/pluginManager/ which is failing.

            when I copy the https://fssre.cspdev.ncr.com/pluginManager/ and paste it into a new browser window then its able to open the page correctly

            Show
            bmanikantareddy Manikantareddy Buchi added a comment - I am aslo facing the same issue. Jenkins keeps on redirecting the https URL to http. whereas if I copy the URL and paste it in new browser windows it's able to load correctly.   Not sure whats the difference between launching the page from the jenkins generated page and manually. for example: in the mange Jenkins page when I try to open plugin manager  https://jenkins.mydomain.com/pluginManager/  when I hover the mouse the link is HTTPS , when I click on it the response we are getting with 302 redirect to http://fssre.cspdev.ncr.com/pluginManager/  which is failing. when I copy the https://fssre.cspdev.ncr.com/pluginManager/  and paste it into a new browser window then its able to open the page correctly

              People

              Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              nsurana Nitin Surana
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: