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

webjars not functioning with reverse proxy

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.1
    • Fix Version/s: None
    • Component/s: Webjar
    • Labels:
    • Environment:
      Centos 6.6
      Java 8
      Tomcat 8
      xWIKI 8.1
      nginx 1.15.8 + xWiki enterprice 9.9
    • Difficulty:
      Unknown
    • Similar issues:

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rsliotta Bob Liotta
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Date of First Response: