Trying Nextcloud+Collabra but running Collabra in a container is broken

I tried following the instructions here: Quick Tryout Nextcloud Docker - Collabora Online and Collabora Office but it didn’t work. When I try and connect in Nextcloud I get “Failed to connect to the remote server: cURL error 52: Empty reply from server for http://collabra:9980/hosting/discovery

If I connect to bash in the container and try to hit that directly, I get the same thing:

cool@cc5fbfd197a0:/$ curl http://collabra:9980/hosting/discovery
curl: (52) Empty reply from server

Here’s my container definition:


[Unit]
Description=Collabra

[Container]
ContainerName=collabra
Environment=EXTRA_PARAMS=--o:ssl.enable=false

[Install]
WantedBy=default.target

Also, the webpage specifically says “… this is only good for a quick look at the features, it is not for production by any means” but doesn’t explain what that means or link to any better documentation. Where are the instructions for setting this up for production?

Hi, endpoints you want to use are for monitoring (it might depend on configuration when they are available, I’m not sure):
http://localhost:9980/hosting/capabilities
http://localhost:9980/hosting/discovery

In our official SDK for troubleshooting we recommended to just check root response:
curl -k https://localhost:9980

In general Nextcloud administrator settings page for Office integration should also do basic diagnostics. I would recommend to go there when COOL is set and running and try to connect: