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

Aperta
#80 17 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@timar ci sta già lavorando.

Dal 1/11/2026.

  • #363 di @timar — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
apache, php
Ambito
networking

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
PHP
Stelle
156
Fork
37
Merge medio
23h 51m
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CollaboraOnline/richdocumentscode

Tutte le issue di CollaboraOnline/richdocumentscode

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.