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

Blue Ocean pages not updated/refreshed when behind Nginx reverse proxy

    • Blue Ocean 1.1-beta4

      When running Jenkins with Blue Ocean UI behind an Nginx reverse proxy, the job summary page and the running job page do not always get updated correctly.   You have to refresh the web page in order to have the latest information from the job.

      Attachment job1 it what I see for several minutes, but it never refreshed the page.  I know the job is completed as it only takes 23 seconds to run.  When I refresh the page, I correctly see the status (attachment job2).   Page updates do every once in a while seem to work for a job run.

      When I connect directly to the backend Jenkins app bypassing Nginx, the Blue Ocean UI works 100% as expected.

      Nginx is configured using the configuration file referenced by the Blue Ocean plugin here:

      https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Nginx

      Only change was to change the "server_name" line.

       

       

        1. job1.PNG
          job1.PNG
          19 kB
        2. job2.PNG
          job2.PNG
          24 kB

          [JENKINS-43944] Blue Ocean pages not updated/refreshed when behind Nginx reverse proxy

          John Lengeling created issue -
          James Dumay made changes -
          Sprint New: Blue Ocean 1.1-beta3 [ 316 ]
          James Dumay made changes -
          Rank New: Ranked higher
          John Lengeling made changes -
          Environment Original: Jenkins LTS 2.46.1, Nginx 1.20.0, RedHat RHEL 6.8, Blue Ocean 1.0.1 New: Jenkins LTS 2.46.1, Nginx 1.12.0, RedHat RHEL 6.8, Blue Ocean 1.0.1
          Michael Neale made changes -
          Sprint Original: Blue Ocean 1.1-beta3 [ 316 ]
          Michael Neale made changes -
          Sprint New: Blue Ocean 1.1 [ 271 ]
          Michael Neale made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          James Dumay made changes -
          Assignee New: James Dumay [ jamesdumay ]
          James Dumay made changes -
          Assignee Original: James Dumay [ jamesdumay ] New: Michael Neale [ michaelneale ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.1 [ 271 ] New: Blue Ocean 1.1-beta3 [ 316 ]

            michaelneale Michael Neale
            johnlengeling John Lengeling
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: