Cover download doesn't work (solution found)

Need help? Post your questions here.

Moderator: moderators

Cover download doesn't work (solution found)

Postby fault1er » Sat Jan 27, 2018 11:56 am

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! :)
Last edited by fault1er on Sun Jan 28, 2018 9:28 pm, edited 1 time in total.
User avatar
fault1er
 
Posts: 3
Joined: Wed Jan 25, 2017 11:53 am

Re: Cover download doesn't work

Postby acroyear » Sat Jan 27, 2018 7:37 pm

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.
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 779
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA

Re: Cover download doesn't work

Postby fault1er » Sun Jan 28, 2018 11:44 am

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... :?
User avatar
fault1er
 
Posts: 3
Joined: Wed Jan 25, 2017 11:53 am

Re: Cover download doesn't work

Postby acroyear » Sun Jan 28, 2018 5:03 pm

Maybe totally uninstall and reinstall Java? Might be that you have a corrupted keystore in your Java installation.
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 779
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA

Re: Cover download doesn't work

Postby fault1er » Sun Jan 28, 2018 6:24 pm

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!
User avatar
fault1er
 
Posts: 3
Joined: Wed Jan 25, 2017 11:53 am

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

Postby zeroth » Sun Jul 22, 2018 1:19 pm

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.
zeroth
 
Posts: 50
Joined: Sat Jan 17, 2015 2:56 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 10 guests