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

Errors with http/https

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 10.8
    • None
    • Unknown

    Description

      Hello.Hello.

      I use xwiki docker image 10.8 from https://hub.docker.ru/_/xwiki/ and nginx image as reverse proxy (and https-server).

      Main wiki is located in ROOT folder (https://wiki.xxx.ru)

      If we leave unchanged xwiki.home parametr in xwiki.cfg - we get some errors:

      1. some strange resource link errors in web console
      1. Some resources cannot be loaded, links are build with port 80 for them (for example in notification panel - avatar images), i.e.:

       

      If I set xwiki.home parametr in xwiki.cfg (to https://wiki.xxx.ru) - we have no that errors, but get another ones:

      1. In Main wiki (https://wiki.xxx.ru) errors with rest links i.e. in notification panel - when open it - get such errors

      or error when trying to delete some page:

      Deletion process freezes on "Please wait while the page is being deleted.". This error is displayed in web console, but the page is deleted.

       

      BUT this functionality works without errors on subwikis (i.e. https://wiki.xxx.ru/wiki/test/) (with xwiki.home set to https://wiki.xxxx.com)  - notification panel is displayed (and avatar images are shown) and pages are deleted without errors (rest links : https://wiki.xxx.ru/rest/...)

       

      There is also problem with page creation from page template (whatever xwiki.home property is set) - similar to https://forum.xwiki.org/t/page-hangs-on-save-save-0-however-save-is-successful/352

      prototype.js:8 Mixed Content: The page at 'https://wiki.xxxx.ru/bin/edit/test/velocity%20test/asdfasdf/WebHome?template=%D0%98%D0%BD%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%86%D0%B8%D1%8F+%D0%BF%D0%BE+%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0%D0%BC.%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD%D1%8B.%D0%9E%D0%B1%D1%89%D0%B8%D0%B9+%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD.WebHome&parent=test.velocity+test.WebHome&title=asdfasdf' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://wiki.xxx.ru/rest/jobstatus/refactoring/create/1539663355195-157?media=json'. This request has been blocked; the content must be served over HTTPS.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            abtaranov Taranov Alexey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: