I have a tomcat server under Ubuntu 22.04 that presents documents with the Webdav protocol. If my tomcat server is behind apache2, I can open and save a document with LibreOffice on Ubuntu 22.04 and MS Office on Mac. If my tomcat server is behind HAProxy, I can open a document with LibreOffice under Ubuntu 22.04 and MS Office on Mac but I can't save it with Ubuntu 22.04 while it's OK with MS Office on Mac The message is "Error while saving the template-CRA2 document: impossible to create the object in the directory https://cloud.exemple.com/WebDav/NESTOR/jmax"; translated from french" "Erreur lors de l'enregistrement du document template-CRA2: impossible de créer l'objet dans le répertoire https://cloud.exemple.com/WebDav/NESTOR/jmax"; I have traces in the tomcat servlet but I didn't notice an error code, all PROPFIND return 20x. I have checked that all Webdav directories on the server have write permissions. I can reproduce with sudo mount -t davfs https://cloud1.exemple.com/WebDav/NESTOR/GERARD /mnt/webdav and open a document with libreoffice in /mnt/webdav. Open the document is OK but save failed with this message Error while saving document template-CRA2 The object is not accessible Impossible to access the object because the user rights are insufficient. It is ok with gedit, the text editor of my Ubuntu distribution.
idem with Version: 7.5.3.2 (X86_64) / LibreOffice Community Build ID: 50(Build:2) CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Ubuntu package version: 4:7.5.3~rc2-0ubuntu0.22.04.1~lo1 Calc: threaded
JM: does the same configuration work in a previous version, like LO 7.4? László: any idea what the issue might be here? Looks like Curl 8 didn't help.
I suggest to check it with a daily build, or at latest with version 7.5.3.2 or 7.4.7.2, because the last fix in the area was Bug 155004.
(In reply to László Németh from comment #3) > I suggest to check it with a daily build, or at latest with version 7.5.3.2 > or 7.4.7.2, because the last fix in the area was Bug 155004. JM has the same issue in 7.5.3.2 in comment 1
I can test with another version of LO, a suggestion ? is there a tool to trace the dialogue between the webdav server and LO ?
cannot reproduce with a dedicated server and apache2/webdav
Thank you for re-testing and reporting back! Marking as "works for me" as we're not sure what solved it. Which version do you use now?
haproxy is not involved. tomcat9 is serving webdav requests. running centos9 and ubuntu, cheking differents tomcat 9.0.31 OK 9.0.36 KO 9.0.58 KO 9.0.69 KO I don't know if it's libreoffice that's no good on the webdav exchange or a bug introduced in tomcat9. changelog of tomcat9: https://tomcat.apache.org/tomcat-9.0-doc/changelog.html 9.0.35 Add: 64386: WebdavServlet does not send "getlastmodified" property for resource collections. (michaelo)
with tomcat9 9.0.31, it works with Libreoffice 7.6.3.2 and LibreOffice 7.3.7.2 with tomcat9 9.0.35, it DOES NOT work with Libreoffice 7.6.3.2 and LibreOffice 7.3.7.2
tomcat developer write in thread https://lists.apache.org/thread/sd8v2fg1n86pbw83mys7qwt2z41yffo1 Reason phrase is an optional element of the HTTP response. This looks like a bug in whichever WebDAV client library is being used by LibreOffice.
as suggested by the thread https://lists.apache.org/thread/sd8v2fg1n86pbw83mys7qwt2z41yffo1, it's a libreoffice bug that needs to be fixed
Let's set back to "unconfirmed" then. ("Reopened" is for when there was an attempt to fix it.) Relevant tomcat commit: https://github.com/apache/tomcat/commit/147fee447e27ec14e3001d9c727db1dcd4cb930c