Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13541

webjars not functioning with reverse proxy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 8.1
    • Webjar
    • Centos 6.6
      Java 8
      Tomcat 8
      xWIKI 8.1
      nginx 1.15.8 + xWiki enterprice 9.9
    • Unknown

    Description

      Hello I have used XWIKI for a long time behind the pound load balancer. My latest PROD is 7.4.

      I recently upgraded to 8.1 and it looks like a disaster behind the same load balancer. I am using SSL.

      I went through all the docs and setup the X-FORWARDED stuff and no improvement.

      It took a bit of sleuthing but I determined there is a strange issue with webjars.

      This version for port 8080 direct works fine. Here is an example

      http://go.fifthlayer.net/xwiki/webjars/wiki%3Axwiki/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.woff2

      When run via the SSL load balancer, this is one of may URLs that fail.

      https://go.fifthlayer.net/xwiki/webjars/wiki%3Axwiki/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.woff2

      I did some digging and found if i remove the wiki%3A under the SSL, it resolves properly. So like this:

      https://go.fifthlayer.net/xwiki/webjars/xwiki/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.woff2

      Maybe I have done something wrong but my guess is it is a defect of some sort on 8.1 as 7.4 works.

      If I missed something, that would be great to know. If it is already fixed in a release candidate that would be great to know as well...

      Attachments

        1. http.jpg
          163 kB
          Bob Liotta
        2. https.jpg
          120 kB
          Bob Liotta

        Activity

          People

            tmortagne Thomas Mortagne
            rsliotta Bob Liotta
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: