Hello, when I want to edit files, the windows goes to wrong or missing WOPISrc parameter.Who konws how to solve it.Thanks a lot.
Yes, I have same Issue. if go to http://collabora.mydomain.lan/loleaflet/1e4154c/loleaflet.html? i have same message. In loolwsd.log i have:
[ websrv_poll ] ERR Error while handling Client WS Request: Invalid URI.| wsd/LOOLWSD.cpp:2717
[ websrv_poll ] ERR #24: attempted to remove: 545 which is > size: 0 clamped to 0| ./net/Socket.hpp:950
i’m using nginx, with reverse proxy whithout ssl. ssl is disabled in loolwsd.xml
server {
listen 80;
server_name collabora.mydomain.lan;
# static files
location ^~ /loleaflet {
proxy_pass http://localhost:9980;
proxy_set_header Host $http_host;
}
# WOPI discovery URL
location ^~ /hosting/discovery {
proxy_pass http://localhost:9980;
proxy_set_header Host $http_host;
}
# Capabilities
location ^~ /hosting/capabilities {
proxy_pass http://localhost:9980;
proxy_set_header Host $http_host;
}
# main websocket
location ~ ^/lool/(.*)/ws$ {
proxy_pass http://localhost:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 36000s;
}
# download, presentation and image upload
location ~ ^/lool {
proxy_pass http://localhost:9980;
proxy_set_header Host $http_host;
}
# Admin Console websocket
location ^~ /lool/adminws {
proxy_pass http://localhost:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 36000s;
}
}
I installed linux packages loolwsd, but when i trying use docker, i have same errors
I solved this problem. Check in your nginx config string
add_header Content-Security-Policy “default-src ‘self’; script-src ‘self’ ‘unsafe-eval’; style-src ‘self’ ‘unsafe-inline’; img-src ‘self’ blob data:”;
if you had - comment this.
Also you need chek in loolwsd.xml your nextcloud hostname in storage.wopi and webdav. And your nextcloud server must resolve your owncloud hostname