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

applySafeRedirector (e.g. on Hudson restarting page) reloads on 502 responses

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • core
    • None
    • Windows Vista SP2 64bit, Java 1.6.0_20 64bit, running as Windows service
    • 2.207

      When Jenkins is set up behind a reverse proxy (such as IIS, nginx, etc.), when restarting, the page reloads too early.

      This seems to boil down to the proxy HTTP error, 502, not being considered by applySafeRedirector() in hudson-behavior.js and loading.js

          [JENKINS-6798] applySafeRedirector (e.g. on Hudson restarting page) reloads on 502 responses

          James Ross created issue -
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: infrastructure [ 15687 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 136893 ] New: JNJira + In-Review [ 174600 ]
          Vincent Latombe made changes -
          Assignee New: Vincent Latombe [ vlatombe ]
          Vincent Latombe made changes -
          Description Original: I've set up Hudson to run as a service and be available through the IIS web server using its proxy extension; everything works great apart from restarting - it reloads the page way too early.

          This seems to boil down to the proxy HTTP error, 502, not being considered by applySafeRedirector() in hudson-behavior.js.
          New: When Jenkins is set up behind a reverse proxy (such as IIS, nginx, etc.), when restarting, the page reloads too early.

          This seems to boil down to the proxy HTTP error, 502, not being considered by applySafeRedirector() in hudson-behavior.js.
          Vincent Latombe made changes -
          Description Original: When Jenkins is set up behind a reverse proxy (such as IIS, nginx, etc.), when restarting, the page reloads too early.

          This seems to boil down to the proxy HTTP error, 502, not being considered by applySafeRedirector() in hudson-behavior.js.
          New: When Jenkins is set up behind a reverse proxy (such as IIS, nginx, etc.), when restarting, the page reloads too early.

          This seems to boil down to the proxy HTTP error, 502, not being considered by {{applySafeRedirector()}} in {{hudson-behavior.js}} and {{loading.js}}
          Vincent Latombe made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Vincent Latombe made changes -
          Remote Link New: This issue links to "PR #4366 (Web Link)" [ 24016 ]
          Vincent Latombe made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Released As New: 2.207
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Jesse Glick made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            vlatombe Vincent Latombe
            twpol James Ross
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: