CollaboraOnline / richdocumentscode

Built-in CODE Server app
https://apps.nextcloud.com/apps/richdocumentscode
Apache License 2.0
116 stars 27 forks source link

Built-in CODE Server - Connection to Server LOST #129

Open cheesgno opened 3 years ago

cheesgno commented 3 years ago

Hi! I'm trying to use this great plugin on my docker images based on Nextcloud 21.0.1 (Apache). When I try to open a document with a built-in CODE server, the application show me this message: Connection to Server LOST

code_2

On the plugin configurations the server seems to be up and running

code_1

The log (both nextcloud and apache) there are no erros.

"GET /apps/richdocuments/index?fileId=7403&requesttoken=dYiAEBUCGZMw6LiBhXH9BR646IjlJVGeFXfCZK7wb9M%3D%3AIMPQc1paUaR63N3L7iS1a1P0n8%2FdHBvbUgeACJybF4k%3D HTTP/2.0" 200 6262 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36"

Can you help me? Thanks!

yodaphone commented 3 years ago

i have the same issue.. any update or help on this?

baahver commented 2 years ago

I have exactly the same issue on Ubuntu server 20.04, Nextcloud 22.2.3 and Collabora Online - Built-in CODE Server 21.11.4 and Collabora Online 4.2.3. Nextcloud is running on Apache. And Code server is reachable from settings with Collabora Online. Did you find a solution for this?

Inglebard commented 2 years ago

Hi,

I also encounter this issue on my docker setup and a reverse proxy.

The only workaround I found today is to check the url is correct in ./occ config:app:get richdocuments wopi_url and edit if require with ./occ config:app:set --value "${SERVER_SCHEME}://${SERVER_DOMAIN}/custom_apps/richdocumentscode/proxy.php?req=" richdocuments wopi_url

Then and each time the container is restarted. I check "Use your own server" in the admin panel. After that it seems to work properly.

stanelie commented 2 years ago

I have the same issue here too.