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

jenkins 2.205 behind reverse proxy redirects to 127.0.0.1 after login

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.204.5, Jenkins 2.224, Winstone 5.4.3, Winstone 5.9

      Description

      After the upgrade from 2.204 to 2.205 jenkins redirects to http(s)://127.0.0.1/ after login.

       Workaround: For Apache: set "ProxyPreserveHost On" as documented in https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+Apache

      *Jenkins LTS Notice*: Jenkins LTS 2.204.3 and 2.204.4 are also affected due to the Winstone upgrade which was introduced as a part of the JENKINS-57888 fix backporting. Please see https://groups.google.com/forum/#!topic/jenkinsci-dev/M_RtDuDXtbU for the discussion and retrospective

        Attachments

          Issue Links

            Activity

            ohauer olli hauer created issue -
            katzdm Daniel Katz made changes -
            Field Original Value New Value
            Environment Jenkins: 2.205
            Apache 2.4.41 as reverse proxy
            Jenkins: 2.205, 2.201.3, 2.201.4
            Apache 2.4.41 as reverse proxy
            bonfy bon ch made changes -
            Comment [ I create example repo to this issue: https://github.com/bonfy/JENKINS-61317

            Jenkinsfile in master branch Last commit : 64dd9920
            library in jenkins-lib branch Last commit: a8c235b1

            and when echo GIT_COMMIT, it is overwitten by lib's commit

            [Pipeline] echo
            13:22:18 stage 1
            [Pipeline] echo
            13:22:18 GIT COMMIT : a8c235b10c55e2f065293b1c1ad9b3bffd45d9d9
            [Pipeline] echo
            13:22:18 Hello world
            [Pipeline] } ]
            katzdm Daniel Katz made changes -
            Environment Jenkins: 2.205, 2.201.3, 2.201.4
            Apache 2.4.41 as reverse proxy
            Jenkins: 2.205, 2.204.3, 2.204.4
            Apache 2.4.41 as reverse proxy
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Component/s winstone-jetty [ 20645 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels lts-candidate regression
            olamy Olivier Lamy made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            oleg_nenashev Oleg Nenashev made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            oleg_nenashev Oleg Nenashev made changes -
            Environment Jenkins: 2.205, 2.204.3, 2.204.4
            Apache 2.4.41 as reverse proxy
            Jenkins: 2.205, Jenkins LTS 2.204.3 and 2.204.4
            Winstone 5.5 to 5.8
            Apache 2.4.41 as reverse proxy
            oleg_nenashev Oleg Nenashev made changes -
            Description After the upgrade from 2.204 to 2.205 jenkins redirects to http(s)://127.0.0.1/ after login. After the upgrade from 2.204 to 2.205 jenkins redirects to http(s)://127.0.0.1/ after login.

             

            **Jenkins LTS Notice**: Jenkins LTS 2.204.3 and 2.204.4 are also affected due to the Winstone upgrade which was backported as a part of the JENKINS-57888 fix backporting. Please see [https://groups.google.com/forum/#!topic/jenkinsci-dev/M_RtDuDXtbU] for the discussion and retrospective
            oleg_nenashev Oleg Nenashev made changes -
            Description After the upgrade from 2.204 to 2.205 jenkins redirects to http(s)://127.0.0.1/ after login.

             

            **Jenkins LTS Notice**: Jenkins LTS 2.204.3 and 2.204.4 are also affected due to the Winstone upgrade which was backported as a part of the JENKINS-57888 fix backporting. Please see [https://groups.google.com/forum/#!topic/jenkinsci-dev/M_RtDuDXtbU] for the discussion and retrospective
            After the upgrade from 2.204 to 2.205 jenkins redirects to http(s)://127.0.0.1/ after login.

             

            **Jenkins LTS Notice**: Jenkins LTS 2.204.3 and 2.204.4 are also affected due to the Winstone upgrade which was introduced as a part of the JENKINS-57888 fix backporting. Please see [https://groups.google.com/forum/#!topic/jenkinsci-dev/M_RtDuDXtbU] for the discussion and retrospective
            oleg_nenashev Oleg Nenashev made changes -
            Description After the upgrade from 2.204 to 2.205 jenkins redirects to http(s)://127.0.0.1/ after login.

             

            **Jenkins LTS Notice**: Jenkins LTS 2.204.3 and 2.204.4 are also affected due to the Winstone upgrade which was introduced as a part of the JENKINS-57888 fix backporting. Please see [https://groups.google.com/forum/#!topic/jenkinsci-dev/M_RtDuDXtbU] for the discussion and retrospective
            After the upgrade from 2.204 to 2.205 jenkins redirects to http(s)://127.0.0.1/ after login.

             *Workaround*: For Apache: set "ProxyPreserveHost On" as documented in [https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+Apache]

            **Jenkins LTS Notice**: Jenkins LTS 2.204.3 and 2.204.4 are also affected due to the Winstone upgrade which was introduced as a part of the JENKINS-57888 fix backporting. Please see [https://groups.google.com/forum/#!topic/jenkinsci-dev/M_RtDuDXtbU] for the discussion and retrospective
            jglick Jesse Glick made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Released As Winstone 5.4.1, Winstone 5.9
            oleg_nenashev Oleg Nenashev made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-61328 [ JENKINS-61328 ]
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            danielbeck Daniel Beck made changes -
            Labels lts-candidate regression 2.204.5-fixed lts-candidate regression
            oleg_nenashev Oleg Nenashev made changes -
            Released As Winstone 5.4.1, Winstone 5.9 Jenkins 2.204.5, Jenkins 2.224, Winstone 5.4.3, Winstone 5.9
            oleg_nenashev Oleg Nenashev made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            olivergondza Oliver Gondža made changes -
            Labels 2.204.5-fixed lts-candidate regression 2.204.5-fixed 2.222.1-fixed regression

              People

              Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              ohauer olli hauer
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: