Can't use external IP on collabora.

  • Nextcloud Server version (30.0.5):
  • Operating system and version ( Ubuntu 24.04.1 LTS):
  • Web server and version (Apache 2.4.58):
  • PHP version _(8.3.6)
  • Is this the first time you’ve seen this error? Yes
  • When did this problem seem to first start? Everytime I change the url
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.) Downloaded zipfile
  • Are you using CloudfIare, mod_security, or similar? (using duckDNS)

I have set up a localserver, and it works just fine. I use a custom duckDNS for connecting from the internet via tls and it also works.

My problem is with Collabora. When I use it inside my home private network, it works fine. The url would look something like:

https://192.168.1.x:port/apps/richdocumentscode/proxy.php?req=

In admin settings>Office, if I select custom COLABORA server and put that inside, it works fine in my local network. Since I have no collabora server installed it defaults to CODE when exiting settings. Keep in mind I’m using a self signed certificate, and clicking the option to allow them.

But since I want it to work from anywhere, not only my private network, i set it up like this:

https://my-working-duckdns-url:port/apps/richdocumentscode/proxy.php?req=

The duckdns url is working, and I can connect to the server just fine. But when I set this url for the COLLABORA server, it doesn’t load office documents, just keeps loading. The server gives no gui errors when changing it, since the url should be correct and can connect to it.

Any ideas why this could be happening?

Thanks in advanced, and sorry if I’m being a noob lol.

How do you start collabora cause the tag says build-in but I guess you use docker. Did you defined the my-working-duckdns.url in collabora?

I don’t know but I also have my-working-duckdns.url in my servers local hosts file.

I have not installed a COLABORA server since CODE worked out of the box. My server is for self-use, so I don’t need much power. Maybe CODE doesn’t like being used outside a local network? In that case I would install the server.

If you use the build-in server then why set a custom server?