Nextcloud Office Users Report WebSocket Connection Issues
Users are experiencing difficulties connecting to the built-in Collabora CODE server within Nextcloud, resulting in WebSocket connection failures.
A Nextcloud user is encountering errors when attempting to open .docx documents, specifically receiving a message indicating a failed socket connection and potential reverse proxy misconfiguration. The user’s setup involves Nextcloud hosted within a TurnKey Linux LXC container, utilizing Apache for HTTPS and the built-in richdocumentscode app version 26.04.5.2.
The user has verified that the Collabora CODE server is responding with valid JSON and XML, confirming support for .docx files and advertising browser endpoints through the Nextcloud proxy. Apache modules including proxy, proxy_http, and proxy_wstunnel are enabled, but the virtual host lacks specific Collabora reverse-proxy directives.
The user is seeking guidance on whether the WebSocket connection failure stems from Apache’s handling or requires additional configuration within the Nextcloud richdocumentscode proxy, particularly from those with similar setups using TurnKey Linux or Debian.