• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • blueocean-plugin
    • None
    • Jenkins ver. 2.107.2
      Blue Ocean 1.5.0
    • 1.14.0

      When I try to open blue ocean it's stuck in loading forever.

        1. Capture.PNG
          Capture.PNG
          48 kB
        2. data.json
          26 kB

          [JENKINS-51716] Blueocean stuck in loading

          David Riemens added a comment -

          I have the same issue. I will send you a JSON file as well.

          David Riemens added a comment - I have the same issue. I will send you a JSON file as well.

          Gavin Mogan added a comment -

          monger39 - from the email you sent me I'm not seeing any of the missing data.

          Does your browser's console log show anything? In the network tab, is anything red/failing?

          Are you using the latest version of blueocean?

           

          Gavin Mogan added a comment - monger39 - from the email you sent me I'm not seeing any of the missing data. Does your browser's console log show anything? In the network tab, is anything red/failing? Are you using the latest version of blueocean?  

          David Riemens added a comment -

          halkeye in my browber, I can see a (blue) progress bar. This goes up to say 80% quite fast. Then it still goes forward to

          appr. 90% where is gets stuck forever (at least overnight).

          I run on Windows (7-PRO) and use the following:

          just upgraded Jenkins; from the log:
          Upgrading Jenkins. The last running version was 2.167. This Jenkins is version 2.168.Mar 14, 2019 9:52:32 AM INFO hudson.PluginManager loadDetachedPluginsUpgraded Jenkins from version 2.167 to version 2.168. Loaded detached plugins (and dependencies): []
           

          java.runtime.version 1.8.0_201-b09

           

          blueocean-commons 1.13.2 true
          blueocean-core-js 1.13.2 true
          blueocean-dashboard 1.13.2 true
          blueocean-jwt 1.13.2 true
          blueocean-pipeline-api-impl 1.13.2 true
          blueocean-pipeline-editor 1.13.2 true
          blueocean-pipeline-scm-api 1.13.2 true
          blueocean-rest 1.13.2 true
          blueocean-rest-impl 1.13.2 true
          blueocean-web 1.13.2 true

          g

           

          David Riemens added a comment - halkeye in my browber, I can see a (blue) progress bar. This goes up to say 80% quite fast. Then it still goes forward to appr. 90% where is gets stuck forever (at least overnight). I run on Windows (7-PRO) and use the following: just upgraded Jenkins; from the log: Upgrading Jenkins. The last running version was 2.167. This Jenkins is version 2.168.Mar 14, 2019 9:52:32 AM INFO hudson.PluginManager loadDetachedPluginsUpgraded Jenkins from version 2.167 to version 2.168. Loaded detached plugins (and dependencies): []   java.runtime.version 1.8.0_201-b09   blueocean-commons 1.13.2 true blueocean-core-js 1.13.2 true blueocean-dashboard 1.13.2 true blueocean-jwt 1.13.2 true blueocean-pipeline-api-impl 1.13.2 true blueocean-pipeline-editor 1.13.2 true blueocean-pipeline-scm-api 1.13.2 true blueocean-rest 1.13.2 true blueocean-rest-impl 1.13.2 true blueocean-web 1.13.2 true g  

          David Riemens added a comment -

          Searching through the Jenkins log for "blueocean", I did find a few lines that maybe could help??
          Finished Download metadata. 9,813 msMar 14, 2019 9:55:08 AM WARNING org.kohsuke.stapler.framework.adjunct.AdjunctsInPage findNeededNo such adjunct found: org.jenkinsci.plugins.ssegateway.sse.EventSource org.kohsuke.stapler.framework.adjunct.NoSuchAdjunctException: Neither org.jenkinsci.plugins.ssegateway.sse.EventSource.css, .js, .html, nor .jelly were found at org.kohsuke.stapler.framework.adjunct.Adjunct.<init>(Adjunct.java:125)
          ...
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at
           
           
          and another one:
           
          An SVN exception occurred while listing the directory entries at org.tmatesoft.svn.core.SVNException: svn: E125002: Malformed URL '' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57) at org.tmatesoft.svn.core.SVNURL.<init>(SVNURL.java:227) at org.tmatesoft.svn.core.SVNURL.parseURIDecoded(SVNURL.java:109) at hudson.scm.listtagsparameter.ListSubversionTagsParameterDefinition.getTags(ListSubversionTagsParameterDefinition.java:196) at hudson.scm.listtagsparameter.ListSubversionTagsParameterDefinition.getDefaultParameterValue(ListSubversionTagsParameterDefinition.java:162) at io.jenkins.blueocean.commons.stapler.export.MethodProperty.getValue(MethodProperty.java:72) at io.jenkins.blueocean.commons.stapler.export.ExportInterceptor$1.getValue(ExportInterceptor.java:46) at io.jenkins.blueocean.commons.stapler.Export$BlueOceanExportInterceptor.getValue(Export.java:196) at io.jenkins.blueocean.commons.stapler.export.Property.writeTo(Property.java:136) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:228) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:224) at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:303) at io.jenkins.blueocean.commons.stapler.export.Property.writeBuffered(Property.java:175) at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:235) at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:169) at io.jenkins.blueocean.commons.stapler.export.Property.writeTo(Property.java:154) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:228) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:224) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:224) at io.jenkins.blueocean.commons.stapler.export.Model.writeTo(Model.java:199) at io.jenkins.blueocean.commons.stapler.Export.writeOne(Export.java:177) at io.jenkins.blueocean.commons.stapler.Export.serveExposedBean(Export.java:165) at io.jenkins.blueocean.commons.stapler.Export.doJson(Export.java:108) at io.jenkins.blueocean.rest.pageable.PagedResponse$Processor$1.generateResponse(PagedResponse.java:70) at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:124)
           
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at
           
          If you'd need full logs, pls let me know
           

          David Riemens added a comment - Searching through the Jenkins log for "blueocean", I did find a few lines that maybe could help?? Finished Download metadata. 9,813 msMar 14, 2019 9:55:08 AM WARNING org.kohsuke.stapler.framework.adjunct.AdjunctsInPage findNeededNo such adjunct found: org.jenkinsci.plugins.ssegateway.sse.EventSource org.kohsuke.stapler.framework.adjunct.NoSuchAdjunctException: Neither org.jenkinsci.plugins.ssegateway.sse.EventSource.css, .js, .html, nor .jelly were found at org.kohsuke.stapler.framework.adjunct.Adjunct.<init>(Adjunct.java:125) ... at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at     and another one:   An SVN exception occurred while listing the directory entries at org.tmatesoft.svn.core.SVNException: svn: E125002: Malformed URL '' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57) at org.tmatesoft.svn.core.SVNURL.<init>(SVNURL.java:227) at org.tmatesoft.svn.core.SVNURL.parseURIDecoded(SVNURL.java:109) at hudson.scm.listtagsparameter.ListSubversionTagsParameterDefinition.getTags(ListSubversionTagsParameterDefinition.java:196) at hudson.scm.listtagsparameter.ListSubversionTagsParameterDefinition.getDefaultParameterValue(ListSubversionTagsParameterDefinition.java:162) at io.jenkins.blueocean.commons.stapler.export.MethodProperty.getValue(MethodProperty.java:72) at io.jenkins.blueocean.commons.stapler.export.ExportInterceptor$1.getValue(ExportInterceptor.java:46) at io.jenkins.blueocean.commons.stapler.Export$BlueOceanExportInterceptor.getValue(Export.java:196) at io.jenkins.blueocean.commons.stapler.export.Property.writeTo(Property.java:136) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:228) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:224) at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:303) at io.jenkins.blueocean.commons.stapler.export.Property.writeBuffered(Property.java:175) at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:235) at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:169) at io.jenkins.blueocean.commons.stapler.export.Property.writeTo(Property.java:154) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:228) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:224) at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:224) at io.jenkins.blueocean.commons.stapler.export.Model.writeTo(Model.java:199) at io.jenkins.blueocean.commons.stapler.Export.writeOne(Export.java:177) at io.jenkins.blueocean.commons.stapler.Export.serveExposedBean(Export.java:165) at io.jenkins.blueocean.commons.stapler.Export.doJson(Export.java:108) at io.jenkins.blueocean.rest.pageable.PagedResponse$Processor$1.generateResponse(PagedResponse.java:70) at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:124)   at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at   If you'd need full logs, pls let me know  

          Gavin Mogan added a comment -

          klm this should be fixed in 1.14.0

          monger39 I didn't see any errors in any of the logs you have. Can you try 1.14.0 and if that fails, open a new bug with your javascript console log? (Right click, inspect element, click console tab, open blueocean (or refresh page)).

          Gavin Mogan added a comment - klm this should be fixed in 1.14.0 monger39 I didn't see any errors in any of the logs you have. Can you try 1.14.0 and if that fails, open a new bug with your javascript console log? (Right click, inspect element, click console tab, open blueocean (or refresh page)).

          David Riemens added a comment -

          halkeye : I have updated all Blue Ocean plugins to 1.14.0 but the problem remains. I have tried using 3 browsers with identical result.
          The script console gives a number of errors. As asked I will open a new bug report.

          David Riemens added a comment - halkeye : I have updated all Blue Ocean plugins to 1.14.0 but the problem remains. I have tried using 3 browsers with identical result. The script console gives a number of errors. As asked I will open a new bug report.

          David Riemens added a comment -

          David Riemens added a comment - see: https://issues.jenkins-ci.org/browse/JENKINS-56662

          Ken Morse added a comment -

          halkeye - just confirmed that 1.14.0 does fix the problem I was seeing in Blue Ocean.

          Ken Morse added a comment - halkeye - just confirmed that 1.14.0 does fix the problem I was seeing in Blue Ocean.

          Li Xiaodong added a comment -

          Hi, I want to comment here since I have met the same issue in the ticket on Blue Ocean version 1.21.0 with Jenkins version 2.204.2

          The error in browser console is "Timed out waiting on module 'blueocean-pipeline-editor:jenkins-js-extension' to load."

          (anonymous) @ jenkins-js-extension.js:74075
          doFulfill @ jenkins-js-extension.js:3470
          onFulfilled @ jenkins-js-extension.js:3482
          508../../jenkins-js-extension.jsx @ jenkins-js-extension.js:74074
          o @ jenkins-js-extension.js:1
          r @ jenkins-js-extension.js:1
          (anonymous) @ jenkins-js-extension.js:1
          blueocean.js:58216 Unhandled Rejection: "Error: fetch failed: 503 for http://XXXXXXXX:8080/blue/rest/i18n/blueocean-pipeline-editor/1.21.0/jenkins.plugins.blueocean.pipeline.editor.Messages/en-US\n at FetchFunctions.checkStatus (http://XXXXXXXX:8080/adjuncts/25eb676d/io/jenkins/blueocean/blueocean-core-js.js:54923:25)"
          logUnhandledPromiseRejection @ blueocean.js:58216
          blueocean-core-js.js:2295 Module load failure: Timed out waiting on module 'blueocean-pipeline-editor:jenkins-js-extension' to load.
          (anonymous) @ blueocean-core-js.js:2295
          setTimeout (async)
          (anonymous) @ blueocean-core-js.js:2284

          And jenkins log will give the same error with David commented before:

          at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)

           

          If whole log is needed, I will add more.

          Could you please help to check whether this is a new issue or the ticket hasn't been solved completed?

           

          Li Xiaodong added a comment - Hi, I want to comment here since I have met the same issue in the ticket on Blue Ocean version 1.21.0 with Jenkins version 2.204.2 The error in browser console is "Timed out waiting on module 'blueocean-pipeline-editor:jenkins-js-extension' to load." (anonymous) @ jenkins-js-extension.js:74075 doFulfill @ jenkins-js-extension.js:3470 onFulfilled @ jenkins-js-extension.js:3482 508../../jenkins-js-extension.jsx @ jenkins-js-extension.js:74074 o @ jenkins-js-extension.js:1 r @ jenkins-js-extension.js:1 (anonymous) @ jenkins-js-extension.js:1 blueocean.js:58216 Unhandled Rejection: "Error: fetch failed: 503 for http://XXXXXXXX:8080/blue/rest/i18n/blueocean-pipeline-editor/1.21.0/jenkins.plugins.blueocean.pipeline.editor.Messages/en-US\n at FetchFunctions.checkStatus ( http://XXXXXXXX:8080/adjuncts/25eb676d/io/jenkins/blueocean/blueocean-core-js.js:54923:25 )" logUnhandledPromiseRejection @ blueocean.js:58216 blueocean-core-js.js:2295 Module load failure: Timed out waiting on module 'blueocean-pipeline-editor:jenkins-js-extension' to load. (anonymous) @ blueocean-core-js.js:2295 setTimeout (async) (anonymous) @ blueocean-core-js.js:2284 And jenkins log will give the same error with David commented before: at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)   If whole log is needed, I will add more. Could you please help to check whether this is a new issue or the ticket hasn't been solved completed?  

          lixiaod2 For me, upgrading from Jenkins `2.204.2` to `2.222.1` (with Blue Ocean 1.23.2) fixed the hanging problem.

          Niklas Hambuechen added a comment - lixiaod2 For me, upgrading from Jenkins `2.204.2` to `2.222.1` (with Blue Ocean 1.23.2) fixed the hanging problem.

            halkeye Gavin Mogan
            aosman A O
            Votes:
            1 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: