Documents don't load when using Collabora built-in CODE server

Hi all,

I have Nextcloud 26.02 on a shared hosting server – so no Docker or anything like that. I’m trying to use Nextcloud Office (v. 8.0.2) with the Collabora Online built-in CODE server (v. 23.5.103).

On the config page for Nextcloud Office, it says that the CODE server is reachable, but whenever I try to open a document, I get a blank screen. No messages in the Nextcloud logs, but I see lots of messages like these in the server logs (the XXX’s represent info I’ve removed):

Content len: 0, Request line: ‘GET /apps/richdocumentscode/proxy.php?status HTTP/1.1’
Cookie len: XXX, oc_sessionPassphrase=XXX; __Host-nc_sameSiteCookielax=XXX; __Host-nc_sameSiteCookiestrict=XXX; [[[ etc etc etc etc. ]]]
HttpExtConnector state: 8, request body sent: 0, response body size: -2, response body sent:0, left in buffer: 0, attempts: 0.
Lsapi connection state: 4, watching event: 25, respState: 1, m_iTotalPending:0, m_iPacketLeft:0, m_iCurRespHeader:10, req sent for 121 seconds,Total processing time: 121.

I’ve searched through the topics on this forum but they mostly seem to deal with more advanced configurations that don’t apply to my situation, like docker containers, reverse nginx proxies, etc.

I’d really appreciate any help, and I’m more than willing to provide other info if needed.

Thanks!

Are you using HTTPS?

What does your browser console report?

Does this URL https://yourdomain.tld/apps/richdocumentscode/proxy.php?req=/hosting/capabilities bring up a list of capabilities?

Yes, I’m using HTTPS.

The “capabilities” URL returns this:

{
        "convert-to":{"available":true},
        "hasMobileSupport":true,
        "hasProxyPrefix":false,
        "hasTemplateSaveAs":false,
        "hasTemplateSource":true
}

In the browser console, the only error I see is that proxy.php?status times out at 2 minutes, returning status code 500. So that seems to be where the issue lies, but I’m not sure how to troubleshoot it.