nextcloud / all-in-one

📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
https://hub.docker.com/r/nextcloud/all-in-one
GNU Affero General Public License v3.0
4.72k stars 558 forks source link

Collabora: WOPI request denied #4803

Closed UltraBlackLinux closed 1 month ago

UltraBlackLinux commented 1 month ago

Steps to reproduce

Open any file in collabora

Expected behavior

The file should open

Actual behavior

it denies the wopi request

Host OS

Arch Linux

Nextcloud AIO version

8.2.1

Current channel

latest

Other valuable info

[richdocuments] Warning: WOPI request denied from <my public ip> as it does not match the configured ranges: 93.213.231.142, 127.0.0.1/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8, fd00::/8, ::1, 93.213.227.157, 91.1.116.28
    GET /index.php/apps/richdocuments/wopi/files/989_ocvsob04948q?access_token=7GSy6kh7dUiBRL8HplWZl3IYG0JqwEzC&access_token_ttl=0
    from <my public ip> by -- at Jun 9, 2024, 4:28:53 PM

it starts working when I restart nextcloud, but I cannot do that from within nextcloud, rendering collabora useless.

szaimen commented 1 month ago

Hi, you could add 0.0.0.0 to the wopi allowlist in the richdocuments admin settings