Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4710

Libreoffice WebDAV over SSL to Nextcloud Fails

$
0
0

RELEVANT CONFIG'N

  • libreoffice 7.3.7.2 and Firefox 126.0.2 (snap) on UbuntuStudio 22.04.08 (snap) on desktop PC.
  • Nextcloud (27.1.9snap1) on Ubuntu Server 22.04.4 LTS (snap) configured to use SSL
  • Network is an Ethernet home LAN.
  • I installed and used Wireshark running on Desktop PC.

PROBLEM: I cannot get Libreoffice to open and save documents on my Nextcloud server. More specifically, the Libreoffice dialogue fails to negotiate a valid remote service. The LibreOffice error message reads:

Could not establish Internet connection to server.home.arpa.

DIAGNOSIS I wasted many hours checking firewalls, nextcloud settings, looking for nextcloud's Apache setup inside the nextcloud snap and on the desktop PC. Snaps do not make diagnosis easy.

Why LibreOffice and not other WebDAV capable programs? Firefox was the only other application I have that speaks WebDAV. If I put the WebDAV URL into Firefox address bar it saves the file where Firefox saves downloads. Very fast!

https://server.home.arpa/remote.php/dav/files/emma/any-document.ext

I eventually installed and used WireShark on my desktop PC to inspect the LAN traffic (i.e. TCP & SSL frames). LibreOffice sends (TCP) RESET messages when using the Open Remote and Save Remote functions, the bit where one sets up a remote service. These RESET messages happen after message frames negotiate which TLS protocol to use successfully.

  1. LibreOffice sends a request to Nextcloud.
  2. Nextcloud sends a reply in a sequence of frames, each of which areproperly acknowledged.
  3. LibreOffice then sends one or two RESET messages to the server
  4. LibreOffice displays an error dialog box as mentioned.

This looks like a software bug in LibreOffice. I don't think I can make any headway with this. Can anyone reading this answer these questions?

QUESTIONS

  • Does this problem exists for other users?
  • Is there a known workaround?
  • Has LibreOffice fixed the problem in a downstream version?
  • Does LibreOffice know about this problem (Bugzilla/JIRA)?

Any answers would be appreciated. Thank you.


Viewing all articles
Browse latest Browse all 4710


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>