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

ci.jenkins.io returns 404 when accessing BO for the very first time

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Jenkins ver. 2.176.2

      I've seem recently this 404 issue in one of the jenkins instances I do manage, but also in the https://ci.jenkins.io one.

       

      Error message:

      HTTP ERROR 403Problem accessing /blue/rest/classes/. 
      Reason:    No valid crumb was included in the requestPowered by Jetty:// 9.4.z-SNAPSHOT

       

      Screenshots:

      But it works perfectly fine when accessing the traditional view:

       

      How to reproduce locally?

      • Open an incognito browser
      • Open a BO URL
      • Repeat the same with the traditional view

      Workaround?

      • Refresh
      • Use -Djenkins.displayurl.provider=org.jenkinsci.plugins.displayurlapi.ClassicDisplayURLProvider

      Even though there is a workaround I'd say it's not a great user experience getting 404 when accessing to the build link which it's provided in the Pull Request with the GitHub check `continuous-integration/jenkins/pr-merge`.

      In my case, I did use the feature property to use the traditional view but eventually I'd like to move back to the BO view.

      Any hints whether this behavior happened previously or is it a regression somehow with the latest release?

      Cheers

      In my case, I did enable the traditional view by default with 

          [JENKINS-58893] ci.jenkins.io returns 404 when accessing BO for the very first time

          R. Tyler Croy added a comment -

          This is a really annoying Blue Ocean bug which I don't think is with the infrastructure, since i've seen it on private Jenkins instances as well.

          R. Tyler Croy added a comment - This is a really annoying Blue Ocean bug which I don't think is with the infrastructure, since i've seen it on private Jenkins instances as well.

          Thomas Duboucher added a comment - - edited

          Issue is also happening here, running 2.319.3 behind Nginx. The network log shows a 403 when requesting /blue/rest/classes/ on the main Blue Ocean page. This doesn't happen for any other BO page.

          I'm trying to gather some information about this issue.

          Thomas Duboucher added a comment - - edited Issue is also happening here, running 2.319.3 behind Nginx. The network log shows a 403 when requesting /blue/rest/classes/ on the main Blue Ocean page. This doesn't happen for any other BO page. I'm trying to gather some information about this issue.

            Unassigned Unassigned
            v2v Victor Martinez
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: