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

          Victor Martinez created issue -
          Victor Martinez made changes -
          Summary Original: ci.jenkins.io return 404 when accessing BO for the very first time New: ci.jenkins.io returns 404 when accessing BO for the very first time
          Jesse Glick made changes -
          Component/s New: blueocean-plugin [ 21481 ]
          Component/s Original: ci.jenkins.io [ 23924 ]
          Key Original: INFRA-2206 New: JENKINS-58893
          Workflow Original: classic default workflow [ 238590 ] New: JNJira + In-Review [ 238629 ]
          Project Original: Infrastructure [ 10301 ] New: Jenkins [ 10172 ]

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

              Created:
              Updated: