CollaboraOnline / online

Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
https://collaboraonline.com
Other
1.85k stars 701 forks source link

Document sign broken (404 error) #1407

Closed sutidor closed 3 months ago

sutidor commented 3 years ago

Describe the bug I activated document sign by adding app.vereign.com to loolwsd.xml but all I get is a mis-formatted button and a 404 Error page.

To Reproduce Steps to reproduce the behavior:

  1. Go to docx document
  2. Click on file
  3. See button ocument[sic!] signieren
  4. Click button
  5. get 404 error page

Expected behavior get signin window

Actual behavior 404 page

Screenshots https://ibb.co/gdtNjX8

Desktop (please complete the following information)

Additional context Collabora docker used in conjunction with nextcloud

nginx config

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name collabora.*;

    include /config/nginx/ssl.conf;
    include /config/nginx/proxy.conf;

    #error_log /config/log/nginx/colerror.log warn;
    #access_log /config/log/nginx/colaccess.log;

    location / {

        set $upstream_app collabora;
        set $upstream_port 9980;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port$request_uri;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }

    # static files
    location ^~ /loleaflet {

        set $upstream_app collabora;
        set $upstream_port 9980;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

        proxy_set_header Host $http_host;
    }

    # WOPI discovery URL
    location ^~ /hosting/discovery {

        set $upstream_app collabora;
        set $upstream_port 9980;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port$request_uri;

        proxy_set_header Host $http_host;
    }

    # Capabilities
    location ^~ /hosting/capabilities {

        set $upstream_app collabora;
        set $upstream_port 9980;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port$request_uri;

        proxy_set_header Host $http_host;
    }

    # main websocket
    location ~ ^/lool/(.*)/ws$ {

        set $upstream_app collabora;
        set $upstream_port 9980;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port$request_uri;

        #https://git.libreoffice.org/online/+/master/etc/nginx/loolwsd.conf
        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 {

        set $upstream_app collabora;
        set $upstream_port 9980;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port$request_uri;

        proxy_set_header Host $http_host;
    }

    # Admin Console websocket
    location ^~ /lool/adminws {

        set $upstream_app collabora;
        set $upstream_port 9980;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port$request_uri;

        #https://git.libreoffice.org/online/+/master/etc/nginx/loolwsd.conf
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $http_host;
        proxy_read_timeout 36000s;
    }
}
thebearon commented 3 years ago

Indeed, it hasn't been adapted to the newer online versions.

Darshan-upadhyay1110 commented 3 months ago

hii @sutidor this topic is too old now for a discussion, and also we have new version available of COOL you should try it.

I am closing this one, please feel free to comment for any query we can reopen this and discuss.