• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Jenkins 2.46.2
      Blue Ocean 1.1.7
      Display URL for Blue Ocean 2.1.0
      (All other plugins up-to-date as of 22nd Aug 2017)
    • Blue Ocean 1.3

      The link "Open Blue Ocean" points to a 404 URL for all jobs in folders.

      See attached gif.

          [JENKINS-46339] Wrong blue ocean link for job in folder

          James Dumay added a comment -

          fkykko what version of Blue Ocean are you running?

          James Dumay added a comment - fkykko what version of Blue Ocean are you running?

          James Dumay added a comment -

          michaelneale while I am away, would you mind figuring out with fkykko what problem is occuring here?

          James Dumay added a comment - michaelneale while I am away, would you mind figuring out with fkykko what problem is occuring here?

          Michael Neale added a comment - - edited

          fkykko do you have any more details? Could you attach a support core bundle? (need to know what all plugins installed are). Does it work from main page? 

          Michael Neale added a comment - - edited fkykko do you have any more details? Could you attach a support core bundle? (need to know what all plugins installed are). Does it work from main page? 

          Staffan Forsell added a comment - - edited

          michaelneale Attached support bundle with all slave information edited out.

          Additional info: 

          The link presented in the "Open Blue Ocean" link is this: 

          http://jenkins/blue/organizations/jenkins/test_jobs%2Fenv-scripted-test  , ERROR 404

          But the link in from the main blue ocean page is this:

          http://jenkins/blue/organizations/jenkins/test_jobs%2Fenv-scripted-test/activity

          This is even more interesting.... this works when pressed, but fails with a 404 if entered manually (copy/paste) into the address bar.

          This entered manually (with ending '/') works:

          http://jenkins/blue/organizations/jenkins/test_jobs%2Fenv-scripted-test/

          But without the slash it fails with a 404:

          http://jenkins/blue/organizations/jenkins/test_jobs%2Fenv-scripted-test

           

          Staffan Forsell added a comment - - edited michaelneale Attached support bundle with all slave information edited out. Additional info:  The link presented in the "Open Blue Ocean" link is this:  http://jenkins/blue/organizations/jenkins/test_jobs%2Fenv-scripted-test   , ERROR 404 But the link in from the main blue ocean page is this: http://jenkins/blue/organizations/jenkins/test_jobs%2Fenv-scripted-test/activity This is even more interesting.... this works when pressed, but fails with a 404 if entered manually (copy/paste) into the address bar. This entered manually (with ending '/') works: http://jenkins/blue/organizations/jenkins/test_jobs%2Fenv-scripted-test/ But without the slash it fails with a 404: http://jenkins/blue/organizations/jenkins/test_jobs%2Fenv-scripted-test  

          Michael Neale added a comment -

          fkykko ah - I bet that is an encoding problem - are you running behind a proxy? if so - try the stuff linked in the proxy section on this: https://wiki.jenkins.io/display/JENKINS/Blue+Ocean+Plugin

           

          Michael Neale added a comment - fkykko ah - I bet that is an encoding problem - are you running behind a proxy? if so - try the stuff linked in the proxy section on this: https://wiki.jenkins.io/display/JENKINS/Blue+Ocean+Plugin  

          Staffan Forsell added a comment - - edited

          michaelneale OK. So we disabled our reverse proxy and changed to a simple ip tables port forward and now it seems to work.

          Funny that we have been running with this config for the past 2 years with no other issues that I have seen.

          Staffan Forsell added a comment - - edited michaelneale OK. So we disabled our reverse proxy and changed to a simple ip tables port forward and now it seems to work. Funny that we have been running with this config for the past 2 years with no other issues that I have seen.

          Closing as "Not a Defect". Error occurred due to incorrect reverse proxy configuration.

          Staffan Forsell added a comment - Closing as "Not a Defect". Error occurred due to incorrect reverse proxy configuration.

          James Dumay added a comment -

          Thanks Staffan!

          James Dumay added a comment - Thanks Staffan!

          Michael Neale added a comment -

          great to hear fkykko

           

          jamesdumay this still bites people too often - do we/should we have a follow on enhancment proposal to do-over the encoding to avoid this? I think we may be able to cook up a simple replacement scheme

          Michael Neale added a comment - great to hear fkykko   jamesdumay this still bites people too often - do we/should we have a follow on enhancment proposal to do-over the encoding to avoid this? I think we may be able to cook up a simple replacement scheme

          James Dumay added a comment -

          michaelneale I'd be happy with that. Sounds like a good improvement to do before end of year.

          James Dumay added a comment - michaelneale I'd be happy with that. Sounds like a good improvement to do before end of year.

            michaelneale Michael Neale
            fkykko Staffan Forsell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: