Blank page with Collabora in Nextcloud behind Apache proxy - Mixed content error

Ouverte
#80 17 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

@timar y travaille déjà.

Depuis le 1/11/2026.

  • #363 par @timar — ouverte

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
20/100
Type d'issue
Bug
Clarté
À clarifier
Activité
À l'abandon
Stack technique
apache, php
Domaine
networking

Piste de recherche

Start by reproducing the blank document page through the Apache HTTPS proxy, then inspect the Firefox console error for the blocked http:// request to proxy.php?status. Compare the working HTTP or demo-server setup with the failing HTTPS proxy setup; done means documents open through the proxy without mixed-content errors.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

I have SNAP NC 19.0.3 installed with Collabora built in code server 4.2.8 and Collabora online 3.7.4.
In NC settings it shows a tick and Collabora online server as reachable.
If I configure and access NC as http://192.168.1.? it works ok and so does Collabora.
However if I configure and access via an Apache Proxy on 192.168.1.12 (https>http) ie, https:// nextcloud.my.domain, NC works fine but opening a document gives me a white page. Noted that in NC settings it shows a tick and Collabora online server is still reachable.

Selecting the demo server works OK. Switching back to built in code server is the same fault again.

I have been doing some searching but can't find a solution. I am guessing it is either an https>http issue or the proxy but so far I am stumped. BTW, using Onlyoffice & Community Document Server works OK.

PS
On inspecting the Firefox console output it is showing mixed content errors:
Content Security Policy: The page's settings blocked the loading of a resource at http://nc.my.domian/extra-apps/richdocumentscode/proxy.php?status ("connect-src").

So how do I get the Collabora code server to work via https>http apache proxy or is it not possible with Nextcloud Snap?

Langage dominant
PHP
Étoiles
156
Forks
37
Merge moyen
23 h 51 min
PR mergées (30 j)
2

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de CollaboraOnline/richdocumentscode

Toutes les issues de CollaboraOnline/richdocumentscode

Issues similaires

Plus d'issues PHP

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.