Nextcloud APT Ubuntu-TLS initilization failed

Hi!

I have a strange problem with the Nextcloud desktop on Ubuntu (22.04 LTS, Mate DE).

When I try to connect to my server using the desktop client downloaded with APT I always get a error TLS initialization failed.

The weird thing is that when I use flatpak, the client works perfectly, no error at all. Same thing with the appimage, it works flawlessly. All from the same computer.

My mac and my android phone were able to connect without any problem too, so I think it rules out my server as the problem…

I’d prefer to use the APT version for the integration in caja and the ability to update with everything else.

Any ideas where the problem might come from and how to solve it?

Tested with release 3.7.1. AppImage works, APT fails.

Hi @Windows2k

Which version are you using? The one from this PPA or the one from the Ubuntu repos?

Is your system up to date?

sudo apt update && sudo apt full-upgrade

You could also create a debug archive in order to get detailed log files. Maybe you will find a hint in these logs about what is causing the problem:

https://docs.nextcloud.com/desktop/latest/troubleshooting.html#create-debug-archive

It’s most likely this QT upstream bug

https://bugreports.qt.io/browse/QTBUG-68156?focusedCommentId=424062&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

TL;DR QT picks wrong version of OpenSSL in system, nextcloud desktop uses QT

Any idea how this can be fixed as it relates to OP’s question? I have the same exact issue.