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

404 Page Not Found - on refresh of pipeline page which is within folder

      We have upgraded to latest blue ocean plugin (1.27.13) and experiencing 404 page not found error on refreshing of any pipeline page.

       

      We observed that the URL loaded by blue ocean is having URL encoded value of path separator %2F instead of forward slash / in URLs.

       

      This is the URL that's displayed on opening pipeline page in blue ocean: https://<<domain>>/blue/organizations/jenkins/Others%2FINFRA_TEST_PIPELINES%2FInfra_test/activity

      and this URL works!

       

      It can be seen that the path separator value is %2F instead of / and page loads perfectly.

      On page refresh the %2F is getting replaced with / automatically and we are getting 404 page not found error.

       

          [JENKINS-73384] 404 Page Not Found - on refresh of pipeline page which is within folder

          Mahender added a comment - - edited

          jeninjames This issue is because the proxy is not allowing urls with encoded slashed to go through.

          I fixed this issue by adding AllowEncodedSlashes NoDecode property in .conf file of apache proxy.
          Please go through the documentation here for you respect proxy type.

          Mahender added a comment - - edited jeninjames This issue is because the proxy is not allowing urls with encoded slashed to go through. I fixed this issue by adding AllowEncodedSlashes NoDecode property in .conf file of apache proxy. Please go through the documentation here for you respect proxy type.

          mihai added a comment -

          Hi,

          In our case even with AllowEncodedSlashes NoDecode still doesn't work : opening Blue Ocean from the Jenkins main page, searching for a job show results at first but after a refresh gives 400.  And the second issues is the fact that URL gives 400 when going into a job and trying to open Blue Ocean from there. 

          Using the latest 1.27.16 version

          mihai added a comment - Hi, In our case even with AllowEncodedSlashes NoDecode still doesn't work : opening Blue Ocean from the Jenkins main page, searching for a job show results at first but after a refresh gives 400.  And the second issues is the fact that URL gives 400 when going into a job and trying to open Blue Ocean from there.  Using the latest 1.27.16 version

            Unassigned Unassigned
            jeninjames Jenin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: