Description: When running LibreOffice Online in Docker, the warning "client - server version mismatch, disabling browser cache" is shown in the Docker log when the container is accessed via the WOPI protocol. The full error message is: wsd-00028-00036 2020-01-14 10:37:52.152608 [ websrv_poll ] WRN client - server version mismatch, disabling browser cache. Expected: ca3997673| wsd/FileServer.cpp:279 Note, that it is not possible to specify the version of LibreOffice Online used since the Docker images on Docker Hub is not tagged with version numbers. Steps to Reproduce: 1. Start LOOL Docker container (with appropriate certificates specified in the loolwsd.xml file) 2. Open file in LOOL and edit this (via the WOPI protocol) Actual Results: This warning is printed in the Docker log: wsd-00028-00036 2020-01-14 10:37:52.152608 [ websrv_poll ] WRN client - server version mismatch, disabling browser cache. Expected: ca3997673| wsd/FileServer.cpp:279 Expected Results: No warning should be shown Reproducible: Always User Profile Reset: No Additional Info: Note, that it is not possible to specify the version of LibreOffice Online used since the Docker images on Docker Hub is not tagged with version numbers.
Does this persist over a longer period of time? It's normal to have after an upgrade, but should go away once the old cached version is gone in the browser.
Yes - it happens every time. I have just tested with all caches cleared (in an incognito tab in the browser)
[Automated Action] NeedInfo-To-Unconfirmed
Andreas, does this still occur? If it does, please add what kind of WOPI host you are using. Btw, LOOL version can be checked in Help -> About, the two hashes are the relevant identifiers (unfortunately it's not possible to select and copy them to clipboard currently).
Yes - it still happens. The WOPI host is an Alfresco Community (https://docs.alfresco.com/community/concepts/welcome-infocenter_community.html) server. The WOPI functionality to Alfresco comes from an open source custom Alfresco module which can be found here: https://github.com/magenta-aps/alfresco-repo-libreoffice-online-module. When examining the LOOL version as you described, the following is found: loolwsd-version (master): ca399767 Served by: e93c7691 LibreOffice: 6.5.0.0.alpha0
(In reply to Andreas Kring from comment #5) > Yes - it still happens. The WOPI host is an Alfresco Community > (https://docs.alfresco.com/community/concepts/welcome-infocenter_community. > html) server. The WOPI functionality to Alfresco comes from an open source > custom Alfresco module which can be found here: > https://github.com/magenta-aps/alfresco-repo-libreoffice-online-module. Right, this module must be the cuplrit. When you have LOOL set up, you're supposed to get http(s)://<LOOL server:port>/hosting/discovery , and use the URLs from that XML to connect to the service. You can verify that LOOL serves the correct URL by opening the aforementioned hosting/discovery URL, and comparing the hash in the URL against what the warning gives as expected. Those two should match. WOPI hosts tend to query hosting/discovery only once in a while, and cache the results, since it rarely changes, that's why it can normally happen that you get a mismatch right after a LOOL upgrade. I don't think this Alfresco module does that, but I don't think it queries hosting/discovery properly, either, and that must result in the warning in the logs (still, it's just a warning, if that's the only issue, it should work fine). Someone has to look into this on the module's end.
Ok - thanks a lot for your response.