Issue installing Collabora following official guide

@MikeLupe why don’t you use the LetsEncrypt include file in your VirtualHost config? Like here:

<VirtualHost *:443>
        [...]
        # Include letsencrypt SSL configuration defaults
        Include /etc/letsencrypt/options-ssl-apache.conf

        #   SSL Engine Switch:
        SSLEngine on
        SSLCertificateFile    /etc/letsencrypt/live/office.test-vm.example.org/fullchain.pem
        SSLCertificateKeyFile /etc/letsencrypt/live/office.test-vm.example.org/privkey.pem
</VirtualHost>

Great idea @mejo , thanks! One can see I’m not that used to apache config…

Still same error. Not yet there, but getting closer (I guess) :slight_smile:

@MikeLupe
make sure to enable the ws proxy module for the apache.
eg
a2enmod proxy_wstunnel

@fabian thanks, it already is enabled.

also make sure you haven’t restricted the app to any groups, as soon as you do it fails…

it works on new documents for me now, but when opening existing documents I get no error, it just gets stuck on connecting…

@dagnotland I haven’t restricted the app for my user, thanks for the hint.

The funny thing is: When I create a new document, I get the error message in English: “We are sorry, this is an unexpected connection error. Please try again.”

When trying to open a document, it’s in German: “Ein unerwarteter Verbindungsfehler ist aufgetreten. Bitte versuchen Sie es erneut.”

That’s quite cool, isn’t it?

@bottom of page on left side it says, viewing or view.

try to click that area/box when it’s loading and see if it helps.

Same error message. As I open a document it’s in German :wink:

edit: btw it’s bottom right side “Ansicht”, that’s what you meant, didn’t you?

it’s on the left side of the up and down arrow on the bottom right of the document when you try to open it and it starts to load, and if I wait too long to click it the error message appears.

this works for me, it’s like it fails to view the file, but if I lock the file with that button it starts loading the document.

fyi: I use nginx, and I set https://collabora-domain.com (without port, but pointed to my collabora url in https)in the connector app.

Thanks for dubbing on that one - no, unfortunately same error.

I’m having the same error on a Red Hat Enterprise Linux 7 server, with docker installed from main docker repo.

wsd-00022-02 00:15:39.237302 [ client_ws_0004 ] ClientRequestHandler::handleRequest: BadRequestException: Invalid URI or access denied.

SELinux is off. No errors on the symlink lines. Nothing that says where the problem is that I can tell.

Generating RSA private key, 2048 bit long modulus
.................+++
...............................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
................................................................+++
..........................................................+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
wsd-00022-00 00:00:00.000720 [ loolwsd ] Initializing wsd
wsd-00022-00 00:00:00.000847 [ loolwsd ] Log level is [8].
wsd-00022-00 00:00:00.002100 [ loolwsd ] SSL support: SSL is enabled.
wsd-00022-00 00:00:00.002239 [ loolwsd ] Launch this in your browser:
wsd-00022-00 00:00:00.002295 [ loolwsd ]     https://localhost:9980/loleaflet/1.8.3/loleaflet.html?file_path=file:///usr/bin/test/data/hello-world.odt
wsd-00022-00 00:00:00.002338 [ loolwsd ] Open Documents Limit: 10
wsd-00022-00 00:00:00.002368 [ loolwsd ] Client Connections Limit: 20
wsd-00022-00 00:00:00.002434 [ loolwsd ] Adding trusted WOPI host: [collabora.foo.com|nextcloud.foo.com].
wsd-00022-00 00:00:00.002476 [ loolwsd ] Adding trusted WOPI host: [10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}].
wsd-00022-00 00:00:00.002510 [ loolwsd ] Adding trusted WOPI host: [172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}].
wsd-00022-00 00:00:00.002544 [ loolwsd ] Adding trusted WOPI host: [172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}].
wsd-00022-00 00:00:00.002577 [ loolwsd ] Adding trusted WOPI host: [172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}].
wsd-00022-00 00:00:00.002610 [ loolwsd ] Adding trusted WOPI host: [192\.168\.[0-9]{1,3}\.[0-9]{1,3}].
wsd-00022-00 00:00:00.002642 [ loolwsd ] Adding blocked WOPI host: [192\.168\.1\.1].
loolwsd 1.8.3 - 1.8.3
wsd-00022-00 00:00:00.002871 [ loolwsd ] SSL Cert file: /etc/loolwsd/cert.pem
wsd-00022-00 00:00:00.002907 [ loolwsd ] SSL Key file: /etc/loolwsd/key.pem
wsd-00022-00 00:00:00.003008 [ loolwsd ] SSL CA file: /etc/loolwsd/ca-chain.cert.pem
wsd-00022-00 00:00:00.015202 [ loolwsd ] FileServerRoot: /usr/share/loolwsd
wsd-00022-00 00:00:00.015705 [ loolwsd ] mkfifo(/opt/lool/child-roots/pipe/loolwsdfifo)
wsd-00022-00 00:00:00.015818 [ loolwsd ] File server ctor.
wsd-00022-00 00:00:00.017161 [ loolwsd ] Starting master server listening on 9980
wsd-00022-00 00:00:00.017324 [ loolwsd ] Starting prisoner server listening on 9981
wsd-00022-00 00:00:00.017495 [ loolwsd ] Launching forkit process: /usr/bin/loolforkit --losubpath=lo --systemplate=/opt/lool/systemplate --lotemplate=/opt/collaboraoffice5.1 --childroot=/opt/lool/child-roots/ --clientport=9980 --version
frk-00031-00 00:00:00.001047 [ loolforkit ] Initializing frk
frk-00031-00 00:00:00.001164 [ loolforkit ] Log level is [8].
loolforkit 1.8.3 - 1.8.3
frk-00031-00 00:00:00.001270 [ loolforkit ] Note: LD_BIND_NOW is not set.
frk-00031-00 00:00:00.001294 [ loolforkit ] Note: LOK_VIEW_CALLBACK is not set.
frk-00031-00 00:00:00.001411 [ loolforkit ] open(/opt/lool/child-roots/pipe/loolwsdfifo, RDONLY) = 4
wsd-00022-00 00:00:00.092988 [ loolwsd ] open(/opt/lool/child-roots/pipe/loolwsdfifo, WRONLY) = 6
wsd-00022-00 00:00:00.093105 [ loolwsd ] AdminModel ctor.
wsd-00022-00 00:00:00.093327 [ loolwsd ] Admin ctor.
wsd-00022-00 00:00:00.093369 [ loolwsd ] Memory stat ctor
wsd-00022-00 00:00:00.093459 [ loolwsd ] Cpu stat ctor
frk-00031-00 00:00:03.975801 [ loolforkit ] Preinit stage OK.
frk-00031-00 00:00:03.975943 [ loolforkit ] Forking a loolkit process.
frk-00031-00 00:00:03.979168 [ loolforkit ] Forked kit [35].
frk-00031-00 00:00:03.979269 [ loolforkit ] ForKit process is ready.
kit-00035-00 00:00:03.979789 [ loolforkit ] Initializing kit
kit-00035-00 00:00:03.979916 [ loolforkit ] Log level is [8].
kit-00035-00 00:00:03.980085 [ loolkit ] Process started.
kit-00035-00 00:00:03.980288 [ loolkit ] Jail path: /opt/lool/child-roots/35/
kit-00035-00 00:00:03.987024 [ loolkit ] symlink("../lo","/opt/lool/child-roots/35/opt/collaboraoffice5.1")
wsd-00022-00 00:00:04.094386 [ loolwsd ] MasterToForKit: spawn 1
wsd-00022-00 00:00:04.096824 [ loolwsd ] Writing to pipe. Data: [spawn 1].
frk-00031-00 00:00:04.005924 [ loolforkit ] readFIFO for pipe: wsd_pipe_rd returned: 8
frk-00031-00 00:00:04.006011 [ loolforkit ] Read line from pipe: wsd_pipe_rd, line: [spawn 1], data: [].
frk-00031-00 00:00:04.006039 [ loolforkit ] ForKit command: [spawn 1].
frk-00031-00 00:00:04.007825 [ loolforkit ] Spawning 1 child per request.
frk-00031-00 00:00:04.007898 [ loolforkit ] Creating 1 new child.
frk-00031-00 00:00:04.007924 [ loolforkit ] Forking a loolkit process.
frk-00031-00 00:00:04.012164 [ loolforkit ] Forked kit [36].
kit-00036-00 00:00:04.013044 [ loolforkit ] Initializing kit
kit-00036-00 00:00:04.013158 [ loolforkit ] Log level is [8].
kit-00036-00 00:00:04.013292 [ loolkit ] Process started.
kit-00036-00 00:00:04.013462 [ loolkit ] Jail path: /opt/lool/child-roots/36/
kit-00036-00 00:00:04.013838 [ loolkit ] symlink("../lo","/opt/lool/child-roots/36/opt/collaboraoffice5.1")
kit-00035-00 00:00:04.255728 [ loolkit ] skip redundant paths program/wizards
kit-00035-00 00:00:04.256252 [ loolkit ] skip redundant paths share/Scripts
kit-00036-00 00:00:04.257419 [ loolkit ] skip redundant paths program/wizards
kit-00036-00 00:00:04.257836 [ loolkit ] skip redundant paths share/Scripts
kit-00035-00 00:00:04.263405 [ loolkit ] skip redundant paths share/basic
kit-00036-00 00:00:04.265251 [ loolkit ] skip redundant paths share/basic
kit-00035-00 00:00:04.415800 [ loolkit ] skip redundant paths share/config/wizard
kit-00036-00 00:00:04.416588 [ loolkit ] skip redundant paths share/config/wizard
kit-00036-00 00:00:04.713574 [ loolkit ] skip redundant paths share/gallery
kit-00036-00 00:00:04.726747 [ loolkit ] skip redundant paths share/template
kit-00035-00 00:00:04.735235 [ loolkit ] skip redundant paths share/gallery
kit-00035-00 00:00:04.740385 [ loolkit ] skip redundant paths share/template
kit-00036-00 00:00:04.848305 [ loolkit ] Initialized jail files.
kit-00036-00 00:00:04.848550 [ loolkit ] chroot("/opt/lool/child-roots/36/")
kit-00036-00 00:00:04.850249 [ loolkit ] Capabilities first: = cap_fowner,cap_sys_chroot,cap_mknod+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_audit_write,cap_setfcap+i
kit-00036-00 00:00:04.850318 [ loolkit ] Capabilities now: = cap_fowner,cap_mknod+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_audit_write,cap_setfcap+i
kit-00036-00 00:00:04.850356 [ loolkit ] Capabilities first: = cap_fowner,cap_mknod+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_audit_write,cap_setfcap+i
kit-00036-00 00:00:04.850390 [ loolkit ] Capabilities now: = cap_fowner+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap+i
kit-00036-00 00:00:04.850423 [ loolkit ] Capabilities first: = cap_fowner+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap+i
kit-00036-00 00:00:04.850454 [ loolkit ] Capabilities now: = cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap+i
kit-00036-00 00:00:04.850474 [ loolkit ] Initialized jail nodes, dropped caps.
kit-00035-00 00:00:04.874697 [ loolkit ] Initialized jail files.
kit-00035-00 00:00:04.875042 [ loolkit ] chroot("/opt/lool/child-roots/35/")
kit-00035-00 00:00:04.875172 [ loolkit ] Capabilities first: = cap_fowner,cap_sys_chroot,cap_mknod+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_audit_write,cap_setfcap+i
kit-00035-00 00:00:04.875242 [ loolkit ] Capabilities now: = cap_fowner,cap_mknod+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_audit_write,cap_setfcap+i
kit-00035-00 00:00:04.875277 [ loolkit ] Capabilities first: = cap_fowner,cap_mknod+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_audit_write,cap_setfcap+i
kit-00035-00 00:00:04.875311 [ loolkit ] Capabilities now: = cap_fowner+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap+i
kit-00035-00 00:00:04.875343 [ loolkit ] Capabilities first: = cap_fowner+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap+i
kit-00035-00 00:00:04.875374 [ loolkit ] Capabilities now: = cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap+i
kit-00035-00 00:00:04.875395 [ loolkit ] Initialized jail nodes, dropped caps.
wsd-00022-10 00:00:05.199114 [ loolwsd ] Total memory used: 111068
kit-00036-00 00:00:06.176752 [ loolkit ] Process is ready.
wsd-00022-02 00:00:06.272672 [ prsnr_req_hdl ] Request from 127.0.0.1:55748: GET /loolws/newchild?pid=36 HTTP/1.0 / Connection: Upgrade / Upgrade: websocket / Sec-WebSocket-Version: 13 / Sec-WebSocket-Key: JyfeEF5RvwvLNP4I0JoaDw== / Host: 127.0.0.1:9981
wsd-00022-02 00:00:06.272764 [ prison_ws ] Child connection with URI [/loolws/newchild?pid=36].
wsd-00022-02 00:00:06.272871 [ prison_ws ] New child [36].
kit-00036-00 00:00:06.182449 [ loolkit ] SocketProcessor starting.
wsd-00022-02 00:00:06.279916 [ prison_ws ] ChildProcess ctor [36].
wsd-00022-02 00:00:06.279992 [ prison_ws ] Have 1 child.
wsd-00022-00 00:00:06.281972 [ prison_ws ] SocketProcessor starting.
kit-00035-00 00:00:06.199733 [ loolkit ] Process is ready.
wsd-00022-02 00:00:06.292764 [ prsnr_req_hdl ] Request from 127.0.0.1:55750: GET /loolws/newchild?pid=35&version=%7B%20%22ProductName%22:%20%22Collabora%20Office%22,%20%22ProductVersion%22:%20%225.1%22,%20%22ProductExtension%22:%20%22.10.5%22,%20%22BuildId%22:%20%22455b38e175b6a617f60107c79dcfb50ad7f1c1ce%22%20%7D HTTP/1.0 / Connection: Upgrade / Upgrade: websocket / Sec-WebSocket-Version: 13 / Sec-WebSocket-Key: JyfeEF5RvwvLNP4I0JoaDw== / Host: 127.0.0.1:9981
wsd-00022-02 00:00:06.292875 [ prison_ws ] Child connection with URI [/loolws/newchild?pid=35&version=%7B%20%22ProductName%22:%20%22Collabora%20Office%22,%20%22ProductVersion%22:%20%225.1%22,%20%22ProductExtension%22:%20%22.10.5%22,%20%22BuildId%22:%20%22455b38e175b6a617f60107c79dcfb50ad7f1c1ce%22%20%7D].
wsd-00022-02 00:00:06.292938 [ prison_ws ] New child [35].
wsd-00022-02 00:00:06.293193 [ prison_ws ] ChildProcess ctor [35].
wsd-00022-02 00:00:06.293236 [ prison_ws ] Have 2 children.
wsd-00022-00 00:00:06.293297 [ prison_ws ] SocketProcessor starting.
kit-00035-00 00:00:06.202371 [ loolkit ] SocketProcessor starting.
wsd-00022-10 00:00:10.203557 [ loolwsd ] Total memory used: 111080
wsd-00022-10 00:00:20.224441 [ loolwsd ] Total memory used: 111308
wsd-00022-10 00:00:30.247239 [ loolwsd ] Total memory used: 111524
wsd-00022-10 00:00:55.307606 [ loolwsd ] Total memory used: 111588
wsd-00022-10 00:01:55.449540 [ loolwsd ] Total memory used: 111592
wsd-00022-10 00:02:15.493758 [ loolwsd ] Total memory used: 111612
wsd-00022-10 00:02:40.549186 [ loolwsd ] Total memory used: 111616
wsd-00022-10 00:03:50.702262 [ loolwsd ] Total memory used: 111620
wsd-00022-02 00:08:13.495640 [ client_req_hdl ] Request from 172.17.0.1:43276: POST /loleaflet/1.8.3/loleaflet.html?WOPISrc=http%3A%2F%2Fnextcloud.foo.com%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F39733&title=Replacement%20project%20Expenses.xlsx&lang=en&closebutton=1&revisionhistory=1 HTTP/1.1 / Host: collabora.foo.com / User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 / Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 / Accept-Language: en-US,en;q=0.5 / Accept-Encoding: gzip, deflate, br / Cookie: __utma=246238338.145617497.1462292449.1462292449.1474487976.2; __utmz=246238338.1474487976.2.2.utmcsr=cww.foo.com|utmccn=(referral)|utmcmd=referral|utmcct=/cww/index.php; _ga=GA1.2.145617497.1462292449; __utmc=246238338 / Upgrade-Insecure-Requests: 1 / Content-Type: application/x-www-form-urlencoded / X-Forwarded-For: 10.16.12.58 / X-Forwarded-Host: collabora.foo.com / X-Forwarded-Server: collabora.foo.com / Connection: Keep-Alive / Content-Length: 45
wsd-00022-02 00:08:13.496111 [ client_req_hdl ] Preprocessing file: /usr/share/loolwsd//loleaflet/dist/loleaflet.html
wsd-00022-04 00:08:16.085459 [ client_req_hdl ] Request from 172.17.0.1:43280: GET /lool/ws/http://nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733?access_token=TSHtwND68pfEGoeHQgIWLSuWmaJqcuBb HTTP/1.1 / Host: collabora.foo.com / User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 / Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 / Accept-Language: en-US,en;q=0.5 / Accept-Encoding: gzip, deflate, br / Sec-WebSocket-Version: 13 / Origin: https://collabora.foo.com / Sec-WebSocket-Extensions: permessage-deflate / Sec-WebSocket-Key: oMQrXb8Tpn9CrxhzO/HLWg== / Cookie: __utma=246238338.145617497.1462292449.1462292449.1474487976.2; __utmz=246238338.1474487976.2.2.utmcsr=cww.foo.com|utmccn=(referral)|utmcmd=referral|utmcct=/cww/index.php; _ga=GA1.2.145617497.1462292449; __utmc=246238338 / Pragma: no-cache / Cache-Control: no-cache / X-Forwarded-For: 10.16.12.58 / X-Forwarded-Host: collabora.foo.com / X-Forwarded-Server: collabora.foo.com / Upgrade: WebSocket / Connection: Upgrade
wsd-00022-04 00:08:16.085636 [ client_ws_0001 ] Thread started.
wsd-00022-04 00:08:16.085974 [ client_ws_0001 ] Starting GET request handler for session [0001].
wsd-00022-04 00:08:16.086018 [ client_ws_0001 ] Sending to Client [statusindicator: find].
wsd-00022-04 00:08:16.086206 [ client_ws_0001 ] getNewChild: Have 2 children, forking 0
wsd-00022-04 00:08:16.086294 [ client_ws_0001 ] getNewChild: Returning new child [35].
wsd-00022-04 00:08:16.086322 [ client_ws_0001 ] New DocumentBroker for docKey [nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733].
wsd-00022-04 00:08:16.086412 [ client_ws_0001 ] DocumentBroker [http://nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733?access_token=TSHtwND68pfEGoeHQgIWLSuWmaJqcuBb] created. DocKey: [nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733]
wsd-00022-04 00:08:16.086482 [ client_ws_0001 ] Validating: http://nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733?access_token=TSHtwND68pfEGoeHQgIWLSuWmaJqcuBb
wsd-00022-04 00:08:16.086523 [ client_ws_0001 ] Public URI [http://nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733?access_token=TSHtwND68pfEGoeHQgIWLSuWmaJqcuBb] considered WOPI.
wsd-00022-04 00:08:16.086738 [ client_ws_0001 ] Storage ctor: http://nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733?access_token=TSHtwND68pfEGoeHQgIWLSuWmaJqcuBb
wsd-00022-04 00:08:16.086810 [ client_ws_0001 ] WopiStorage ctor with localStorePath: [], jailPath: [], uri: [http://nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733?access_token=TSHtwND68pfEGoeHQgIWLSuWmaJqcuBb].
wsd-00022-04 00:08:16.086866 [ client_ws_0001 ] Getting info for wopi uri [http://nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733?access_token=TSHtwND68pfEGoeHQgIWLSuWmaJqcuBb].
wsd-00022-04 00:08:16.093428 [ client_ws_0001 ] ~DocumentBroker [http://nextcloud.foo.com/index.php/apps/richdocuments/wopi/files/39733?access_token=TSHtwND68pfEGoeHQgIWLSuWmaJqcuBb] destroyed with 0 sessions left.
wsd-00022-04 00:08:16.093489 [ client_ws_0001 ] ~ChildProcess dtor [35].
kit-00035-00 00:08:16.002453 [ loolkit ] Connection closed.
kit-00035-00 00:08:16.002625 [ loolkit ] SocketProcessor finishing. TerminationFlag: 0, n: 2, payload size: 2, flags: 88
kit-00035-00 00:08:16.002688 [ loolkit ] SocketProcessor finished.
kit-00035-00 00:08:16.002718 [ loolkit ] Removing '/lo'
kit-00035-00 00:08:16.161347 [ loolkit ] Removing '/user/docs/'
wsd-00022-00 00:08:16.253059 [ prison_ws ] Connection closed.
wsd-00022-00 00:08:16.253158 [ prison_ws ] SocketProcessor finishing. TerminationFlag: 0, n: 0, payload size: 0, flags: 0
wsd-00022-00 00:08:16.253257 [ prison_ws ] SocketProcessor finished.
wsd-00022-04 00:08:16.253512 [ client_ws_0001 ] Closing child [35].
wsd-00022-04 00:08:16.253593 [ client_ws_0001 ] ClientRequestHandler::handleRequest: BadRequestException: Invalid URI or access denied.
wsd-00022-04 00:08:16.253633 [ client_ws_0001 ] Thread finished.
wsd-00022-10 00:08:16.319079 [ loolwsd ] Total memory used: 112416
kit-00035-00 00:08:17.162048 [ loolkit ] Process finished.
frk-00031-00 00:08:17.578906 [ loolforkit ] Child 35 has exited, removing its jail '/opt/lool/child-roots/35'
wsd-00022-10 00:08:31.342703 [ loolwsd ] Total memory used: 112580
wsd-00022-10 00:09:46.506281 [ loolwsd ] Total memory used: 112608

Well I solved my problem at least by enabling redirect of http to https in both the Nextcloud and Collabora Office vhosts in apache. I have the editor working now. I hope this helps someone else !

I tried that but still no luck

Still having the same issues … Can anyone help pleaseeeeeeee

We are sorry, this is an unexpected connection error. Please try again.

Docker Logs …
kit-03453-00 01:10:28.658117 [ loolkit ] chroot("/opt/lool/child-roots/3453/")
kit-03453-00 01:10:28.658193 [ loolkit ] Capabilities first: = cap_fowner,cap_sys_chroot,cap_mknod+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_audit_write,cap_setfcap+i
kit-03453-00 01:10:28.658218 [ loolkit ] Capabilities now: = cap_fowner,cap_mknod+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_audit_write,cap_setfcap+i
kit-03453-00 01:10:28.658233 [ loolkit ] Capabilities first: = cap_fowner,cap_mknod+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_audit_write,cap_setfcap+i
kit-03453-00 01:10:28.658254 [ loolkit ] Capabilities now: = cap_fowner+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap+i
kit-03453-00 01:10:28.658273 [ loolkit ] Capabilities first: = cap_fowner+eip cap_chown,cap_dac_override,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap+i
kit-03453-00 01:10:28.658292 [ loolkit ] Capabilities now: = cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap+i
kit-03453-00 01:10:28.658305 [ loolkit ] Initialized jail nodes, dropped caps.
kit-03229-00 01:10:28.684855 [ loolkit ] Removing '/user/docs/'
wsd-00024-00 01:10:28.724749 [ prison_ws ] Connection closed.
wsd-00024-00 01:10:28.724806 [ prison_ws ] SocketProcessor finishing. TerminationFlag: 0, n: 0, payload size: 0, flags: 0
wsd-00024-00 01:10:28.724837 [ prison_ws ] SocketProcessor finished.
wsd-00024-05 01:10:28.724937 [ client_ws_000b ] Closing child [3229].
wsd-00024-05 01:10:28.725030 [ client_ws_000b ] ClientRequestHandler::handleRequest: BadRequestException: Invalid URI or access denied.
wsd-00024-05 01:10:28.725095 [ client_ws_000b ] Thread finished.
kit-03453-00 01:10:28.961789 [ loolkit ] Process is ready.
wsd-00024-03 01:10:29.002159 [ prsnr_req_hdl ] Request from 127.0.0.1:54372: GET /loolws/newchild?pid=3453 HTTP/1.0 / Connection: Upgrade / Upgrade: websocket / Sec-WebSocket-Version: 13 / Sec-WebSocket-Key: jafUIv4qyBuFhQ0F9oWwOg== / Host: 127.0.0.1:9981
wsd-00024-03 01:10:29.002199 [ prison_ws ] Child connection with URI [/loolws/newchild?pid=3453].
wsd-00024-03 01:10:29.002262 [ prison_ws ] New child [3453].

All my configuration is correct but still getting URI errror

ClientRequestHandler::handleRequest: BadRequestException: Invalid URI or access denied

Same for me.

I would really like to read about success stories in the thread I just created. That could help us in finding the solutions.

2 Likes

Hopefully , I have been trying hard to get it working but all in vain.

1 Like

Can you please let me know the redirect ? both for HTTP and HTTPS ?

Hi @Ccandreva, I double @faisalna s demand :slight_smile:

1 Like

Guys any help here ? can please past your vhosts for both office and nextcloud , created the redirects but still issues are same.