Unable to open word-files, "Failed to load Nextcloud Office - please try again later"

@hanssa you need a valid SSL certificate, how are you terminating that service?

<termination desc="Connection via proxy where coolwsd acts as working via https, but actually uses http." type="bool" default="false">true</termination>
<termination desc="Connection via proxy where coolwsd acts as working via https, but actually uses http." type="bool" default="false">false</termination>
<host desc="hostname to allow or deny." allow="true">https://ncloud.multifritid.no:443</host>
<host desc="hostname to allow or deny." allow="true">scheme://hostname:port</host>
  • assuming a reverse proxy is handling ssl termination, coolswd termination would be disabled: ssl.enable=false and ssl.termination=true

    • Create a DNS entry for subdomain like office.mydomain.tld
    • Set reverse proxy host for office domain to forward and encrypt HTTP & WSS (WebSockets Support) for port 9980 to https://office.mydomain.tld.
  • alternatively, without a reverse proxy letting coolswd handle ssl termination using Certbot or acme.sh coolswd termination would be enabled: → ssl.enable=true and ssl.termination=false

take a look at this anyway. even if you don’t use docker or containers, the method is similar and the explanation might help: