As reported here https://github.com/nextcloud/richdocuments/issues/956#event-3332153338 , from both chromium and firefox, when creating a new document, the page of LOOL loads but shows "unsuccessful load of the document" message. The file is being created. Back to the folder and click on the file works fine. Currently reproducible with - LOOL 6.4 - LOOL 7.0 always integrated with NC 19+Collabora Online 3.7.3 Browser (chromium) log globals.js:66 The humanFileSize library is deprecated! It will be removed in nextcloud 19. ne @ globals.js:66 r @ globals.js:82 _createRow @ merged-index.js?v=611022ef-49:5484 fileList._createRow @ merged-index.js?v=611022ef-49:12136 e._createRow @ filesplugin.js:70 e._createRow @ share.js:57 _renderRow @ merged-index.js?v=611022ef-49:5668 add @ merged-index.js?v=611022ef-49:5609 (anonymous) @ files.js:304 u @ jquery.js:3099 fireWith @ jquery.js:3211 x @ jquery.js:8264 (anonymous) @ jquery.js:8605 load (async) send @ jquery.js:8622 ajax @ jquery.js:8166 m.each.m.<computed> @ jquery.js:8311 _createDocumentFromTemplate @ files.js:299 (anonymous) @ files.js:326 (anonymous) @ jquery.js:3256 u @ jquery.js:3099 fireWith @ jquery.js:3211 x @ jquery.js:8264 (anonymous) @ jquery.js:8605 load (async) send @ jquery.js:8622 ajax @ jquery.js:8166 _openTemplatePicker @ files.js:320 actionHandler @ files.js:241 (anonymous) @ merged-index.js?v=611022ef-49:11116 dispatch @ jquery.js:4435 v.handle @ jquery.js:4121 trigger @ jquery.js:4350 e.event.trigger @ jquery-migrate.min.js:2 (anonymous) @ jquery.js:4901 each @ jquery.js:374 each @ jquery.js:139 trigger @ jquery.js:4900 m.each.m.fn.<computed> @ jquery.js:7487 (anonymous) @ merged-index.js?v=611022ef-49:11093 dispatch @ jquery.js:4435 v.handle @ jquery.js:4121 jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1 ProxyBus.js:65 Proxying an event bus of version 1.1.2 with 0.2.1 t @ ProxyBus.js:65 (anonymous) @ index.js:20 n @ bootstrap:19 (anonymous) @ requesttoken.js:11 n @ bootstrap:19 (anonymous) @ index.js:25 n @ bootstrap:19 (anonymous) @ client.js:12 n @ bootstrap:19 (anonymous) @ notifications.js?v=611022ef-49:21 n @ bootstrap:19 (anonymous) @ bootstrap:83 (anonymous) @ notifications.js?v=611022ef-49:1 globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 ne @ globals.js:66 get @ globals.js:96 e.default @ no-conflict.js:8 (anonymous) @ handlebars.runtime.js:60 n @ bootstrap:19 (anonymous) @ runtime.js:3 n @ bootstrap:19 (anonymous) @ file.handlebars:1 n @ bootstrap:19 (anonymous) @ richObjectStringParser.js:13 n @ bootstrap:19 (anonymous) @ bootstrap:83 (anonymous) @ notifications.js?v=611022ef-49:1 App.vue:253 Notifications permissions not yet requested loleaflet.html?WOPISrc=https%3A%2F%2Fmy.cloud.eu%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F97456_oca9pkmjij5d&title=test2.odt&lang=it&closebutton=1&revisionhistory=1:70 GET https://lool.cloud.eu/loleaflet/30aa94789/branding.css net::ERR_ABORTED 404 loleaflet.html?WOPISrc=https%3A%2F%2Fmy.cloud.eu%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F97456_oca9pkmjij5d&title=test2.odt&lang=it&closebutton=1&revisionhistory=1:221 GET https://lool.cloud.eu/loleaflet/30aa94789/branding.js net::ERR_ABORTED 404 my.cloud.eu/:1 GET https://my.cloud.eu/index.php/core/preview.png?file=%2F%2Ftest2.odt&c=59f8331f043cf1c65ad9be772bedd32b&x=250&y=250&forceIcon=0 404 (Not Found) loleaflet.html?WOPISrc=https%3A%2F%2Fmy.cloud.eu%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F97456_oca9pkmjij5d&title=test2.odt&lang=it&closebutton=1&revisionhistory=1:216 GET https://lool.cloud.eu/loleaflet/30aa94789/branding-desktop.css net::ERR_ABORTED 404 (anonymous) @ loleaflet.html?WOPISrc=https%3A%2F%2Fmy.cloud.eu%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F97456_oca9pkmjij5d&title=test2.odt&lang=it&closebutton=1&revisionhistory=1:216 bundle.js:21 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. request_JSON @ bundle.js:21 String_ctr.<computed> @ bundle.js:21 (anonymous) @ bundle.js:21 (anonymous) @ bundle.js:21 bundle.js:39 Blocked autofocusing on a form control in a cross-origin subframe.
May this be related to HTTPS? Seems not to be reproducible in a plain HTTP environment
also reproducible with LOOL6.2. known to work with 4.0.4 (git hash: a2132266), but not with any newer version. CODE official versions work. A connection to SSL issues is possible as the log shows: [/loleaflet/e520aaa38/branding.css].| wsd/FileServer.cpp:489 wsd-05243-05264 2020-09-28 21:44:35.079723 [ websrv_poll ] WRN FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/e520aaa38/branding.js].| wsd/FileServer.cpp:489 wsd-05243-05264 2020-09-28 21:44:35.102529 [ websrv_poll ] WRN FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/e520aaa38/branding-desktop.css].| wsd/FileServer.cpp:489 wsd-05243-06043 2020-09-28 21:44:36.497181 [ docbroker_00b ] WRN link("/tmp/convert-to/tmp5243eaaaaa/callback:", "/opt/online/jails/a7NcgEkndtkit-05992-05250 2020-09-28 21:44:41.226578 [ kitbroker_00a ] ERR Failed to load: file:///tmp/user/docs/IITjuutBwwQKQ2QD/lll.odt, error: Unsupported URL <https://nctest.somewhereinthisworld.de/index.php/apps/richdocuments/wopi/template/383670?access_token=Idontgiveyouthistoken>: "type detection failed"| kit/Kit.cpp:1187 kit-05992-05250 2020-09-28 21:44:41.226672 [ kitbroker_00a ] ERR error: cmd=load kind=faileddocloading| ./common/Session.hpp:138 kit-05992-05250 2020-09-28 21:44:41.226728 [ kitbroker_00a ] ERR Failed to get LoKitDocument instance for [file:///tmp/user/docs/IITjuutBwwQKQ2QD/lll.odt].| kit/ChildSession.cpp:638 kit-05992-05250 2020-09-28 21:44:41.226763 [ kitbroker_00a ] WRN Document::ViewCallback. Session [-1] is no longer active to process [LOK_CALLBACK_ERROR] [{ "classification": "error", "cmd": "load", "kind": "network", "code": "0x6b03(Error Area:Inet Class:Read Code:3)", "message": "Server certificate verification failed: issuer is not trusted" } ] message to Master Session.| kit/Kit.cpp:1497 kit-05992-05250 2020-09-28 21:44:41.260254 [ kitbroker_00a ] WRN Skipping unload on incomplete view.| kit/ChildSession.cpp:106 B0ILMJ/tmp/user/docs/a7NcgEkndtB0ILMJ/callback:") failed. Will copy. Linking error: EXDEV Invalid cross-device link| wsd/Storage.cpp:335 wsd-05243-06027 2020-09-28 21:44:41.226829 [ docbroker_00a ] WRN Document load failed: faileddocloading| wsd/ClientSession.cpp:1168
using 7.0.0, the error message gets a little more verbose. It does not necessarily come from ssl because: Failed to load: file:///user/docs/Vyo0A6jmy1h5V3Qc/664919_oczc0pmddo8n.odt, error: Unsupported URL <https://nctest.site.de/index.php/apps/richdocuments/wopi/template/383670?access_token=sometoken>: "type detection failed" /opt/online/docker/builddir/libreoffice/framework/source/loadenv/loadenv.cxx:190| kit/Kit.cpp:1725 somehow the URL cannot be read as ODF.
this does not happen when you compile using --with-webdav=serf