I have Nextcloud 30.0.3 installed on TrueNas Scale. I have recently installed Nextcloud Office (8.5.3) and set the configuration to use a demo server from Collabora for testing, prior to purchasing a subscription. The Collabora server shows sucessfully connected.
However I am getting the “Unauthorised WOPI host. Please try again later and report to your administrator if the issue persists.” error when trying to view a document.
I have browsed to the “Allow list for WOPI requests” section and entered in the standard rfc1918 address’s (192.168.0.0/16,172.16.0.0/12,10.0.0.0/8)
I know these are internal address’s, do I need to add to the allow list external IP addresses? My TrueNas server has all its trafic routed out over my VPN via Firewall rules and wonder if I need to account for this in the allow list?
It is worth noting that I access my Nextcloud instance via a HTTPS Domain and access is configured through Cloudflare Tunnels.
you must add the public IP of your Collabora server to the “Allow list for WOPI requests” (or maybe Cloudflare IPs as the request likely comes from their servers as reverse proxy)
Thanks for your reply. I tried adding the Cloudflare Proxy IP’s as below that should cover for the fact that my sever hosting NextCloud is behind Cloudflare.
I also added in my VPN Public IP as well as my standard public IP for good measure.
Unfortunately I am still receiving the error. I assume I only need to add the IP address from my side that are making contact out to the WOPI endpoint? I am just making sure I am understanding the direction of communication.
After some additional research I can see that it is WOPI requests coming INTO my nextcloud server that I should be concerned with. As such, I looked at this again and entered in the CF Proxy IP’s as well as the Collabora server IP after running a DNS check on the hostname. Alas, still get the error.