Page 1 of 1

Cover download doesn't work (solution found)

PostPosted: Sat Jan 27, 2018 11:56 am
by fault1er
Hi everyone,

everytime I'm trying to download a cover in Subsonic i get the Error:

Code: Select all
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty


It worked for a short time after upgrading from subsonic 5.x to 6.1.3 - but at a moments notice it doesn't work anymore.
Does anyone have an idea what's wrong or have a workaround for this? I found out, it has something to to with https:// ... when i'm typing an url with http:// only it works like a charm...

Thanks in advance! :)

Re: Cover download doesn't work

PostPosted: Sat Jan 27, 2018 7:37 pm
by acroyear
It seems like it is likely specific to that particular host and its SSL/HTTPS configuration and certificate. can you give an example of one of the URLs that's failing?

I've had no issues with most of the https sites I go to like Amazon, when last.fm is missing it or when i'm looking for an alternative.

Re: Cover download doesn't work

PostPosted: Sun Jan 28, 2018 11:44 am
by fault1er
acroyear wrote:It seems like it is likely specific to that particular host and its SSL/HTTPS configuration and certificate. can you give an example of one of the URLs that's failing?

I've had no issues with most of the https sites I go to like Amazon, when last.fm is missing it or when i'm looking for an alternative.


That's the point. It doesn't even work with pictures from last.fm.
Like this one: https://lastfm-img2.akamaized.net/i/u/3 ... 94806b.png

It seems like the server has problems with https reguests or something. I'm running subsonic on a windows server 2012 r2 standard if that's an important information.

I'm a little bit clueless about that and have no idea what to do. Nobody but me in this forum seems to have that problem... :?

Re: Cover download doesn't work

PostPosted: Sun Jan 28, 2018 5:03 pm
by acroyear
Maybe totally uninstall and reinstall Java? Might be that you have a corrupted keystore in your Java installation.

Re: Cover download doesn't work

PostPosted: Sun Jan 28, 2018 6:24 pm
by fault1er
Oh, I got it to work :)

The solution was to reduce the memory limit from 1500MB to 1024MB, but I have no idea how that can be related :roll:

Nevertheless many thanks acroyear!

Re: Cover download doesn't work (solution found)

PostPosted: Sun Jul 22, 2018 1:19 pm
by zeroth
The correct solution is to reinstall Java. I too had issue downloading cover art with https:// links and many times the download would fail within subsonic. Everything is working perfectly now.