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

Artifacts and workspace not accessible after upgrade from LTS 2.138 to 2.150.2+ (IIS reverse proxy)

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.168

      Description

      Using IIS reverse proxy, on LTS 2.138 artifacts and workspace were accessible through web UI as expected.  Windows Server 2016 using MSFT docker container, OpenJDK8 or 11 (currently 8) to load jenkins.war file on container start.

      After upgrade to LTS 2.150.2, or mainstream 2.164, artifacts are no longer visible on the jobs through the web UI, and accessing job workspaces present a 403 error.

      HTTP ERROR 403

      Problem accessing /job/<job_name_redacted>/ws/. Reason:

      Trying to access a file outside of the directory, target:

       


      Powered by Jetty:// 9.4.z-SNAPSHOT

       

      Attempted upgrade of container to OpenJDK 11, same errors occur.

      Job artifacts are created and present on local file system.  Workspace is created and present on local file system.  Job will build project, just won't present the results/workspace through the UI.

      Downgrading back to LTS 2.138 and the job artifacts and workspaces are visible/accessible with same IIS configuration.

      IIS reverse proxy reference:  https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+IIS (instead of localhost and host file, used container IP address directly).  Tested as working in 2.138, fails on 2.150.2+, works correctly when reverted to 2.138.

        Attachments

          Issue Links

            Activity

            Hide
            jkam Jeremy Kam added a comment -

            Hi Wadeck Follonier, I have retrieved the CI build and deployed to my environment.  I can report that the fix is successful.  We are able to see the workspace and artifacts now.  We have also run several jobs and so far have not encountered other issues.

            Show
            jkam Jeremy Kam added a comment - Hi Wadeck Follonier , I have retrieved the CI build and deployed to my environment.  I can report that the fix is successful.  We are able to see the workspace and artifacts now.  We have also run several jobs and so far have not encountered other issues.
            Hide
            wfollonier Wadeck Follonier added a comment -

            Jeremy Kam Thank you very much for the feedback!

            Show
            wfollonier Wadeck Follonier added a comment - Jeremy Kam Thank you very much for the feedback!
            Hide
            jkam Jeremy Kam added a comment -

            Hi Wadeck Follonier - we ran though various jobs, screens, etc. as well and everything seems to working as expected.  Thanks for your work on this and the turnaround on a fix!

            Show
            jkam Jeremy Kam added a comment - Hi Wadeck Follonier - we ran though various jobs, screens, etc. as well and everything seems to working as expected.  Thanks for your work on this and the turnaround on a fix!
            Hide
            wfollonier Wadeck Follonier added a comment -

            Jeremy Kam That's really appreciated to receive such feedback, thank you The correction will normally be part of the next weekly (~2.168)

            Show
            wfollonier Wadeck Follonier added a comment - Jeremy Kam That's really appreciated to receive such feedback, thank you The correction will normally be part of the next weekly (~2.168)
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It has been fixed in 2.168, and most likely it caused JENKINS-56578

            Show
            oleg_nenashev Oleg Nenashev added a comment - It has been fixed in 2.168, and most likely it caused  JENKINS-56578

              People

              • Assignee:
                wfollonier Wadeck Follonier
                Reporter:
                jkam Jeremy Kam
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: