You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a Collabora instance hosted on an URL such as https://office.example.com, where the domain resolves to a local IP. This causes the previews to not work - the preview generation fails with an error LocalServerException: Host violates local access rules
I did not, because I've seen more occurrences of this throughout the code and wasn't sure whether the same fix may be needed there. For example, here is a really similar pattern in RemoteService, whatever it's used for. It even explicitly uses the internal URL, which probably should be in LAN.
Describe the bug
I have a Collabora instance hosted on an URL such as
https://office.example.com
, where the domain resolves to a local IP. This causes the previews to not work - the preview generation fails with an errorLocalServerException: Host violates local access rules
I would consider this a bug, since the builtin Imaginary integration permits a local server to be used for thumbnails without enabling this flag, see
https://github.com/nextcloud/server/blob/1612d025cf21ac0ae70327c46dd59be66c096627/lib/private/Preview/Imaginary.php#L167
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The preview generation should work
Server details
Operating system: Ubuntu 22.04.3 LTS, running the official
nextcloud:apache
docker imageWeb server: Apache from the docker image, behind a Traefik reverse proxy
Database: mysql
PHP version: 8.2.14
Nextcloud version: 28.0.1
Version of the richdocuments app 8.3.1
Version of Collabora Online 23.05.7.2
Configuration of the richdocuments app
Logs
Nextcloud log (data/nextcloud.log)
The text was updated successfully, but these errors were encountered: