RipMeApp / ripme

Downloads albums in bulk
MIT License
3.72k stars 631 forks source link

Error while fetching update: the trustAnchors parameter must be non-empty #1062

Open ipkpjersi opened 5 years ago

ipkpjersi commented 5 years ago

I expect the program to open without an error and downloads should work.

Actual Behavior

The program opens with an error and it appears I am unable to download anything.

ipkpjersi commented 5 years ago

Here is the stacktrace:

cyian-1756 commented 5 years ago

Ubuntu has some known issue with SSL and java 10/11 try the fix listed here

ipkpjersi commented 5 years ago

Hi,

I tried that fix, it did not work. I also tried about ten other fixes. However, I did find a fix that worked

According to https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty you can fix it with 3 lines.

sudo bash

/usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts

/var/lib/dpkg/info/ca-certificates-java.postinst configure

After this, the program runs as expected. Perhaps you should add a workaround, hundreds of people seem to be reporting that this fixes the issue for them and I imagine Ubuntu with Java 10/11 is going to be a fairly common setup.

cyian-1756 commented 5 years ago

Perhaps you should add a workaround

There's not really all that much that I can do. Now that you mention it tho maybe I should throw a page explaining it up on the wiki

I imagine Ubuntu with Java 10/11 is going to be a fairly common setup.

AFAIK these SSL bugs only crop up if you had java 8 installed and then installed java 10/11.

ipkpjersi commented 5 years ago

Sorry, I actually meant that you should maybe add a workaround label to this issue.