Installation / Removal > Rockbox Utility

http error ssl handshake failed

<< < (3/3)

phinken:

--- Quote from: bluebrother on January 01, 2023, 03:30:14 PM ---Can you please check if you have a libssl.so.1.1 somewhere in your system lib search path?

--- End quote ---
No, I don't have that.

bluebrother:

--- Quote from: phinken on January 03, 2023, 02:26:46 PM ---No, I don't have that.

--- End quote ---

Ok, that seems to be a pointer. Checking Ubuntu 22.04 package lists it appears they aren't shipping OpenSSL 1.1.1 anymore and only have OpenSSL 3. Both Debian and (a current!) Fedora still ship it. Qt seems to dynamically load libssl.so.1.1, but since OpenSSL 3 bumped the soname to libssl.so.3 this obviously won't match. And since it is loaded during runtime building the AppImage cannot know about it.

Can you run it with strace and see if it's trying to open libssl.so.1.1 on your machine? Also, do you have /usr/lib/x86_64-linux-gnu/libssl.so.3 (you should, it's part of the libssl3 package on Ubuntu)?

And why does Ubuntu always break things? :( OpenSSL 1.1.1 is still maintained.

Update: Turns out this is indeed an issue with a dynamically loaded libssl.so. On Ubuntu 22.04 only openssl 3 is shipped. Qt tries to load the libssl.so.3 on that, which (at least as far as I can see) works but using it doesn't -- after all, it's a major version update so this isn't completely unexpected. Compiling openssl 1.1.1 manually on such a box does make things work. So the bottom line is that we'd need a reasonable way to put libssl.so.1.1 into the AppImage, but the appimage tools aren't able to automatically do that since RockboxUtility isn't linked against it (and the Qt libs aren't either.)

pssss:
Thanks for the help @bluebrother

I was able to resolve tthe SSL failure issue by manually installing openssl as described here: https://stackoverflow.com/a/73604364/667913

This is on Ubuntu Ubuntu 22.04.1 LTS

Smidra:
I had the same problem on Fedora 38 with Utility 1.5.1.
Simple install of the library fixed it.


--- Quote ---sudo dnf install openssl1.1.x86_64
--- End quote ---

iagomago:
Is there any possibility the Linux packages are going to be updated in the future? I have been repeatedly trying to solve the issue and install Rockbox on my machine using Linux Mint, but it seems I keep on encountering problems with installing the OpenSSL libraries required (I'm not tech savvy enough to understand what the issue is, really).

Navigation

[0] Message Index

[*] Previous page

Go to full version