Skip to content

Navigation Menu

Sign in
Sign up

Collabora: WRN WOPI host did not pass optional access_token_ttl| #47

Closed

Description

Hello,

I run cloud.domain.nl with nginx reverse prox and apache2. I have Collabora docker on office.domain.nl where i've disabled apache2 for and only use nginx with the config below.

Expected behaviour

Editor should open when opening a .odt doc.

Actual behaviour

Collabora screen opens, keeps initializing and then times out with no error message

Nginx office.domain config

listen 443 ssl;
server_name office.domain.nl;
ssl_certificate /usr/local/psa/var/modules/letsencrypt/etc/live/office.domain.nl/fullchain.pem;
ssl_certificate_key /usr/local/psa/var/modules/letsencrypt/etc/live/office.domain.nl/privkey.pem;
# static files
location ^~ /loleaflet {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}
# WOPI discovery URL
location ^~ /hosting/discovery {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}
# Main websocket
location ~ /lool/(.*)/ws$ {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "Upgrade";
	proxy_set_header Host $http_host;
	proxy_read_timeout 36000s;
}
# Admin Console websocket
location ^~ /lool/adminws {
	proxy_pass https://127.0.0.1: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 https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}

Docker logs

wsd-00026-00034 19:18:51.987142 [ websrv_poll ] WRN WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:327
wsd-00026-00034 19:18:52.721646 [ websrv_poll ] ERR #18 Exception while processing incoming request: [GET /lool/https%3A%2F%2Fcloud.domain.nl%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F81%3Facc...]: Invalid or unknown request.| wsd/LOOLWSD.cpp:1665oken_ttl%3D0%26permission%3Dedit/ws HTTP/1.0
wsd-00026-00034 19:19:52.723134 [ websrv_poll ] ERR #18 Exception while processing incoming request: [GET /lool/https%3A%2F%2Fcloud.domain.nl%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F81%3Facc...]: Invalid or unknown request.| wsd/LOOLWSD.cpp:1665oken_ttl%3D0%26permission%3Dedit/ws HTTP/1.0
wsd-00026-00034 19:19:52.961294 [ websrv_poll ] ERR #18 Exception while processing incoming request: [GET /lool/https%3A%2F%2Fcloud.domain.nl%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F81%3Facc...]: Invalid or unknown request.| wsd/LOOLWSD.cpp:1665oken_ttl%3D0%26permission%3Dedit/ws HTTP/1.0
wsd-00026-00034 19:20:52.962154 [ websrv_poll ] ERR #18 Exception while processing incoming request: [GET /lool/https%3A%2F%2Fcloud.domain.nl%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F81%3Facc...]: Invalid or unknown request.| wsd/LOOLWSD.cpp:1665oken_ttl%3D0%26permission%3Dedit/ws HTTP/1.0

Server configuration

Operating system: Linux domain.nl 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64

Web server: Apache (fpm-fcgi)

Database: mysql 5.7.18

PHP version: 7.1.4
Modules loaded: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, Reflection, session, standard, SimpleXML, sockets, mbstring, tokenizer, xml, cgi-fcgi, mysqlnd, bcmath, curl, dba, dom, enchant, fileinfo, gd, imagick, imap, intl, json, ldap, exif, mcrypt, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, redis, soap, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 11.0.3 (stable) - 11.0.3.2

Updated from an older Nextcloud/ownCloud or fresh install:
Update from 10

Where did you install Nextcloud from:
nextcloud-setup.php web installer

Signing status:

Signing status
[]

List of activated apps:

App list ``` Enabled: - activity: 2.4.1 - activitylog: 0.0.1 - admin_audit: 1.1.0 - admin_notifications: 1.0.0 - announcementcenter: 3.0.0 - audioplayer: 1.5.1 - calendar: 1.5.2 - checksum: 0.3.4 - comments: 1.1.0 - contacts: 1.5.3 - dav: 1.1.1 - deck: 0.1.4 - defaultgroup: 0.2.0 - external: 1 - federatedfilesharing: 1.1.1 - federation: 1.1.1 - files: 1.6.1 - files_accesscontrol: 1.1.2 - files_automatedtagging: 1.1.1 - files_downloadactivity: 1.0.1 - files_external: 1.1.2 - files_markdown: 1.0.1 - files_pdfviewer: 1.0.1 - files_reader: 1.0.4 - files_retention: 1.0.1 - files_sharing: 1.1.1 - files_texteditor: 2.2 - files_trashbin: 1.1.0 - files_versions: 1.4.0 - files_videoplayer: 1.0.0 - firstrunwizard: 2.0 - gallery: 16.0.0 - githubmergetracker: 0.0.15 - issuetemplate: 0.2.1 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - mail: 0.6.4 - news: 10.2.0 - nextcloud_announcements: 1.0 - notes: 2.2.0 - notifications: 1.0.1 - ojsxc: 3.1.1 - ownbackup: 17.3.0 - password_policy: 1.1.0 - previewgenerator: 1.0.6 - provisioning_api: 1.1.0 - registration: 0.2.3 - richdocuments: 1.1.24 - serverinfo: 1.1.1 - sharebymail: 1.0.1 - spreed: 1.2.0 - survey_client: 0.1.5 - systemtags: 1.1.3 - tasks: 0.9.5 - templateeditor: 0.2 - theming: 1.1.1 - twofactor_backupcodes: 1.0.0 - twofactor_totp: 1.1.0 - twofactor_u2f: 1.2.0 - updatenotification: 1.1.1 - user_external: 0.4 - weather: 1.3.5 - workflowengine: 1.1.1

Disabled:

  • encryption
  • user_ldap
  • user_saml
</details>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /