Installation / Removal > Rockbox Utility

http error ssl handshake failed

<< < (2/3) > >>

dotbrush:
same issue with ubuntu 22.04. same resolution -- using previous version of rockbox utility.

then had to apt install libcrypt++-dev to run the executable.

phinken:
I have the same problem on Pop_os! 22.04 - surely this is a bug that can be fixed relatively easily if it works on Windows?
I don't have access to any computers with windows, so I have to make this work in Linux somehow.


--- Quote from: eugenkss on November 05, 2022, 05:58:29 AM ---Version 1.4.1 of the Rockbox Utility works without this problem though.

--- End quote ---
I just tried 1.4.1, had to install a few library packages that were missing to run the executable, but still the same problem. I even got a popup as soon as i ran the executable, saying network connection failed. I executed as root, btw.

I guess my next thing to try is building from source, whch is something I have to learn first...

phinken:
The connection worked after building from source! But only when I didn't run as root, for some reason.

My problem now is that there is no partition table download for my iPod version: https://forums.rockbox.org/index.php/topic,54429.msg251483.html#msg251483

bluebrother:

--- Quote from: phinken on January 01, 2023, 04:57:26 AM ---I have the same problem on Pop_os! 22.04 - surely this is a bug that can be fixed relatively easily if it works on Windows?

--- End quote ---

This is not a bug in Rockbox Utility. It works totally fine on both a current Debian stable and Fedora for me. My guess is that Qt (which does the SSL stuff for us) dynamically loads some library that isn't present on your machine, but since it dynamically loads it there's no direct way to see that. Or maybe it's its handling of the cert store (the OP log has Got SSL error ("The peer did not present any certificate") in it.) The problem is that this is not easy to figure. So either it's a problem with your setup -- or some library missing in the AppImage that causes this. If you have any clue what's causing that please let me know (running it with strace might help)


--- Quote ---I don't have access to any computers with windows, so I have to make this work in Linux somehow.
--- End quote ---

You can always compile yourself. It's not a Rockbox Utility bug, so building yourself will work. And the older 1.4.1 did work since that wasn't an AppImage but a statically linked binary instead. Which caused tons of other problems -- deploying distro-independent binaries on Linux is unfortunately rather messy. But if you're familiar with that: help is welcome. I'd personally go as far as not distributing binaries for Linux anymore, since they tend to cause all kinds of issues. And Linux users usually can compile things themselves (well, at least the ones that want to replace firmware files.)

Edit:
Can you please check if you have a libssl.so.1.1 somewhere in your system lib search path?

phinken:
Thank you, that explains it a bit more  :)

--- Quote from: bluebrother on January 01, 2023, 03:30:14 PM ---You can always compile yourself. It's not a Rockbox Utility bug, so building yourself will work. And the older 1.4.1 did work since that wasn't an AppImage but a statically linked binary instead.

--- End quote ---
...although I did try 1.4.1 and had the same problem. And I do get the problem with 1.5.1 built from source if I try to run as root. I regret that I don't understand my system well enough to have any suspicion of what might have gone wrong... I'm just glad I got it to work in the end (1.5.1 built from source, ran without root permission). My next issue is a problem with the iPod itself and the installation process, which is a topic for another thread.



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

--- End quote ---

I'm away for work at the moment, but bill check this out when I get back. Thanks for the help!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version