• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      We cannot start blue ocean beacause it is hanging during the loading process. I've updated the Jenkins Core and all Pluging and try reinstalling BlueOcean completly, but the error occurs futher.

      I cannot find any error in jenkins.log but found some strange messages in the browser console.

       

       Module load failure: Timed out waiting on module 'mobx:mobx' to load. blueocean.js:2903:21
      waitForRegistration/</timeoutObj<
      https://172.29.8.34/adjuncts/f13411c2/io/jenkins/blueocean/blueocean.js:2903:21
      Module load failure: Timed out waiting on module 'jenkins-cd-js-extensions:jenkins-cd-js-extensions' to load. blueocean.js:2903:21
      waitForRegistration/</timeoutObj<
      https://172.29.8.34/adjuncts/f13411c2/io/jenkins/blueocean/blueocean.js:2903:21
      Module load failure: Timed out waiting on module 'jenkins-cd-blueocean-core-js:jenkins-cd-blueocean-core-js' to load. blueocean.js:2903:21
      waitForRegistration/</timeoutObj<
      https://172.29.8.34/adjuncts/f13411c2/io/jenkins/blueocean/blueocean.js:2903:21
      

        1. browser.PNG
          browser.PNG
          66 kB
        2. jenkins_error.png
          jenkins_error.png
          22 kB
        3. jenkins_version.txt
          0.0 kB
        4. jenkins.log
          1.70 MB
        5. response.PNG
          response.PNG
          55 kB

          [JENKINS-56329] Blueocean hanging while loading

          Gavin Mogan added a comment -

          are you running jenkins behind a proxy / webserver of some sort?

          I don't think the PUT error screenshot is a jenkins error, I think its apache/nginx method limiting.

          Gavin Mogan added a comment - are you running jenkins behind a proxy / webserver of some sort? I don't think the PUT error screenshot is a jenkins error, I think its apache/nginx method limiting.

          Filip Krahl added a comment -

          No, Jenkins isn't running behind a classic proxy. But we use a FW Webfilter to restrict connections. Actually we allow access to jenkins pluing repo and the update repo. Is web access recommanded for BlueOcean?

          Filip Krahl added a comment - No, Jenkins isn't running behind a classic proxy. But we use a FW Webfilter to restrict connections. Actually we allow access to jenkins pluing repo and the update repo. Is web access recommanded for BlueOcean?

          Gavin Mogan added a comment -

          > FW Webfilter

          I'm not sure what this is. Is it between the client and blue ocean? or blue ocean and the internet?

          the errors I could see are that the browser/client can't do an HTTP Put to the blueocean/jenkins.

          I really don't think its a blue ocean bug, i think its a network configuration issue.

          Gavin Mogan added a comment - > FW Webfilter I'm not sure what this is. Is it between the client and blue ocean? or blue ocean and the internet? the errors I could see are that the browser/client can't do an HTTP Put to the blueocean/jenkins. I really don't think its a blue ocean bug, i think its a network configuration issue.

          I have exactly the same problem.

          I use jenkins in two different project environment with very similar config, and apache proxy config, on the first one no problem to use blue ocean but on jenkins.ofbizextra.org it fail to load.

          I do'nt know where to search !

          olivier Heintz added a comment - I have exactly the same problem. I use jenkins in two different project environment with very similar config, and apache proxy config, on the first one no problem to use blue ocean but on jenkins.ofbizextra.org it fail to load. I do'nt know where to search !

          Lu Shen added a comment -

          I have exactly the same problem on my Jenkins installation:

          Jenkins version 2.204.5

          Blue Ocean plugin: 1.23.1

          My Jenkins server is in corporate intranet with access to internet via http_proxy.

           

          Lu Shen added a comment - I have exactly the same problem on my Jenkins installation: Jenkins version 2.204.5 Blue Ocean plugin: 1.23.1 My Jenkins server is in corporate intranet with access to internet via http_proxy.  

          Alexander Komarov added a comment - - edited

          <<Possible Workaround>>

          I had a very similar issue (not identical, but same end result).  The javascript console error was "Unexpected end of input".  It turned out that my browser (Chome, Linux) was caching a truncated copy of a blueocean js file.  Further complications include me using a browser proxy extension, so that adds a variable.  Most likely, connection dropped at a bad time previously and the failure was cached.

          Solution was: 

          • Figure out what file is incorrectly cached.  I added a breakpoint at the line indicated on the console error, and the event object contained the url of the offending file (in my case: /adjuncts/77032f56/org/jenkins/ui/jsmodules/blueocean-dashboard/jenkins-js-extension.js).
          • Open the file in the browser.  It was visibly truncated.  
          • Check with curl that the server is returning a complete file.
          • Force-reload (expire cache didn't seem to do it for some reason) the file in the browser (Ctrl-Shift-R).
          • Now, Blue Ocean loads.

          Alexander Komarov added a comment - - edited <<Possible Workaround>> I had a very similar issue (not identical, but same end result).  The javascript console error was "Unexpected end of input".  It turned out that my browser (Chome, Linux) was caching a truncated copy of a blueocean js file.  Further complications include me using a browser proxy extension, so that adds a variable.  Most likely, connection dropped at a bad time previously and the failure was cached. Solution was:  Figure out what file is incorrectly cached.  I added a breakpoint at the line indicated on the console error, and the event object contained the url of the offending file (in my case: /adjuncts/77032f56/org/jenkins/ui/jsmodules/blueocean-dashboard/jenkins-js-extension.js ). Open the file in the browser.  It was visibly truncated.   Check with  curl that the server is returning a complete file. Force-reload (expire cache didn't seem to do it for some reason) the file in the browser (Ctrl-Shift-R). Now, Blue Ocean loads.

          Daniel added a comment -

          Same bug here:

          Jenkins Version:  2.277.1

          BlueOcean (and all other blueocean* plugins) Version: 1.24.5

          This jenkins is installed via docker into a bare metal kubernetes cluster.

          The browser makes a PUT request to :

          [JENKINS_SERVER]/blue/rest/i18n/blueocean-web/1.24.5/jenkins.plugins.blueocean.web.Messages/en

          returning an 400 (Bad Request) error.

           

          Daniel added a comment - Same bug here: Jenkins Version:  2.277.1 BlueOcean (and all other blueocean* plugins) Version: 1.24.5 This jenkins is installed via docker into a bare metal kubernetes cluster. The browser makes a PUT request to : [JENKINS_SERVER] /blue/rest/i18n/blueocean-web/1.24.5/jenkins.plugins.blueocean.web.Messages/en returning an 400 (Bad Request) error.  

          Lu Shen added a comment -

          I had a very similar issue. After some time I updated all blueocean plugins and the issue went away. Never really figured out what caused the issue though.

          Lu Shen added a comment - I had a very similar issue. After some time I updated all blueocean plugins and the issue went away. Never really figured out what caused the issue though.

            Unassigned Unassigned
            flkr90_92 Filip Krahl
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: