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

Restarting (and likely loading) screen is missing assets if prefixed infront of proxy

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • 2.157

      When restarting a jenkins server (<jenkinsurl>/restart), the static assets (such as css/js) are not prefixed, so if jenkins is sitting behind a proxy server, the assets are not coming from the right place.

      This appears to work fine in standalone mode (java -jar war), but I'm not sure why.

       

      Looks like the jelly files reference resURL, but resURL is undefined for the restarting template.

          [JENKINS-55062] Restarting (and likely loading) screen is missing assets if prefixed infront of proxy

          Dont Use added a comment -

          Dont Use added a comment - https://github.com/jenkinsci/jenkins/pull/3793

          Daniel Beck added a comment -

          if jenkins is sitting infront of a proxy server

          Behind a proxy server?

          Daniel Beck added a comment - if jenkins is sitting infront of a proxy server Behind a proxy server?

          Dont Use added a comment -

          ... yes, if a proxy server is in front of it

          or it is behind a proxy server

           

          Silly gavin

          Dont Use added a comment - ... yes, if a proxy server is in front of it or it is behind a proxy server   Silly gavin

          Dont Use added a comment -

          Dont Use added a comment - https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/util/HudsonIsLoading/index.jelly  is merged waiting for 1.157 weekly to roll out.

            halkeye Gavin Mogan
            cb_gavinmogan Dont Use
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: