nextcloud / all-in-one

📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
https://hub.docker.com/r/nextcloud/all-in-one
GNU Affero General Public License v3.0
5.17k stars 598 forks source link

"Bad URI syntax" error in Collabora container #915

Closed blendersamsonov closed 2 years ago

blendersamsonov commented 2 years ago

How to use GitHub

Steps to reproduce

  1. Deploy Nextcloud AIO container, install Collabora Office
  2. Open any .doc or .odt file
  3. See "Document loading failed" error. Office container log contains the following lines:
    wsd-00001-00038 2022-07-11 10:13:58.220857 +0300 [ websrv_poll ] ERR  #52 Exception while processing incoming request: [GET /cool/https:/mycloud.mydomain.com/index.php/apps/richdocuments/wopi/files/898_ocjmu39drxnk%3Faccess_token=YDV31fAdVMcwmRIxldpmNlkbmRkzc23i&access_token_ttl=0&permission=edit/ws?WOPISrc=https%3A%2F%2Fmycloud.mydomain.com%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F898_ocjmu39drxnk&compat=/ws HTTP/1.1
    ...]: Bad URI syntax| wsd/COOLWSD.cpp:3539

    Where the real address is substituted with mycloud.mydomain.com

The request should probably not include https:/mycloud.mydomain.com/ and start as /cool/index.php/apps/richdocuments/wopi/files/

Host OS

Debian 11

Nextcloud AIO version

1.4.2

Current channel

latest

szaimen commented 2 years ago

I am sorry but I cannot reproduce this. It is likely something with your setup that you need to fix.