Plan
Free/
Country
IN
Device
(Macbook Pro 2018)
Operating System
(Sonamo)
My Question or Issue
I am trying to build a Spotify client in Java using Spotify Java Web API. While accessing and displaying albums, playlist and individual tracks, I've noticed that while downloading related images for tracks, albums and playlist only certain few image requests are successful (I can't get this number of successful request since it seem to very in my several tests) Post that any request to download the images (through the images URLs of respective entities) result either in : Java SSL Exception: No subject alternative DNS name matching or java.io.IOException: No PSK available. Unable to resume., one of those and the images won't be downloaded. I must mention that I am directly downloading these images once I have the handle of the respective URLs (for example from Track.getImages()[]). I am not sending any http header (no access key). Could this be a problem? I saw that the browser downloads images just fine without any headers using the same URL.
Please assist.
codeNick.
OK, I've found out.. its not about any rate limit.. It was about using Java 11 and hitting the http bug.. Upgrading to Java 21 solved the issue.