Collabora Online set-up issue with Drupal & Wordpress

Hello There,

I have Drupal 11 set-up and using Collabora Online module to see a demo on my localhost website but document is not loaded and saying “Unauthorized WOPI host” sometimes otherwise blank, here are the details for your further look-up:

Drupal website hosted locally- http:// local.drupal11
Module used- Collabora Online from Drupal
Collabora Online server URL in config- http:// localhost:9980 (It returns OK.)
WOPI host URL in config- http:// local.drupal11

Further, http:// localhost:9980/hosting/discovery is also returning XML data for your info.

According to the module readme file, I have set-up and when I access a media file that is not loading! Can you help here what are my missing points to see your CODE demo on localhost?

Similarly, I have tried with Wordpress set-up as per your SDK documen but it does not work too!

Hello @hemant, welcome to the community forum!

I have a reference guide for integrating Collabora Online with Drupal that you can follow step by step:
Collabora Online Drupal Integration Guide

Please go through the steps, and if it doesn’t work, feel free to share the logs from your setup along with version details. That will help us troubleshoot the issue more effectively.

Also, for WordPress integration, we have a TTT (Tea Time Training) session available on our YouTube channel. You can watch it here:
Collabora Online WordPress Integration – TTT

Thanks,
Darshan

Thanks for quick reply, Darshan!

FYI, I do not see any error on Drupal resent logs section.

More details for the reference.

With reverse proxy set-up it is blank in place of document load.

Without reverse proxy set-up-

Let me know if any thing missing.

Sorry @hemant but you need to give some insights to solve this how can i know from this blank screen that there something missing ?

Have you read the documentation link i pasted ? have you tried to find reverse proxy issues we had in this forum previously which i kind of similar that you have ?

Have you watched the Wordpress integration session by Hubert ?

Hello @darshan,

I have used Drupal module after following the instructions here where I have used Apache2 reverse proxy settings for http only.

But after all the configs I am getting either blank iframe or with an info pop-up there like “Unauthorized WOPI host…”.

Hi @darshan,

Thanks for reaching out. The “Unauthorized WOPI host” message usually indicates a configuration issue, typically with the WOPI host validation or the CheckFileInfo response.

Please take a look at the troubleshooting steps outlined here:

Hello @darshan,

I have added as below host enties in coolwsd.xml file as you suggested-

<wopi>
<host desc=“hostname to allow or deny.” allow=“true”>local.drupal11</host>
<host desc=“hostname to allow or deny.” allow=“true”>127.0.0.1</host>
</wopi>

And, run “sudo systemctl restart coolwsd” but still I am getting the same error attached here.

How can we fix this WOPI host error?