Windows:javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Description

We had this (or similar) error before but was resolved by adding -Dhttps.protocols=TLSv1.1,TLSv1.2 to startup file and that still exists in SongKong64.ini and SongKong64.bat so not sure why reoccurring.

Only seen for one user (so far)

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:313)
at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:293)
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:186)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1144)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1055)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:395)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at com.jthink.songkong.analyse.acousticbrainz.AcousticBrainz.readMultiHttpsUrlResultAsString(AcousticBrainz.java:426)
at com.jthink.songkong.analyse.acousticbrainz.AcousticBrainz.readLowLevelData(AcousticBrainz.java:373)
at com.jthink.songkong.analyse.acousticbrainz.AcousticBrainz.getAcousticBrainzDataForTheseRecordings(AcousticBrainz.java:49)
at com.jthink.songkong.analyse.acousticbrainz.AcousticBrainz.updateRecordingsFromAcousticBrainzWebsite(AcousticBrainz.java:102)
at com.jthink.songkong.analyse.acousticbrainz.GetAcousticBrainz.update(GetAcousticBrainz.java:53)
at com.jthink.songkong.analyse.musicbrainz.MusicBrainzUpdateSong.updateSongsFromMusicBrainz(MusicBrainzUpdateSong.java:1075)
at com.jthink.songkong.analyse.musicbrainz.UpdateTrackFromMusicbrainzRelease.updateSongsFromRelease(UpdateTrackFromMusicbrainzRelease.java:75)
at com.jthink.songkong.analyse.analyser.MusicBrainzSingleSongMatcher.scoreAndUpdateWithBestMatch(MusicBrainzSingleSongMatcher.java:474)
at com.jthink.songkong.analyse.analyser.MusicBrainzSingleSongMatcher.matchSingleSongToReleaseUsingExistingFileMetadata(MusicBrainzSingleSongMatcher.java:430)
at com.jthink.songkong.analyse.analyser.MusicBrainzSingleSongMatcher.match(MusicBrainzSingleSongMatcher.java:75)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongMatcher.match(MusicBrainzSongMatcher.java:228)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongMatcher.matchSong(MusicBrainzSongMatcher.java:163)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongMatcher.call(MusicBrainzSongMatcher.java:86)
at com.jthink.songkong.analyse.analyser.MusicBrainzSongMatcher.call(MusicBrainzSongMatcher.java:35)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.jthink.songkong.analyse.analyser.MainAnalyserService$EnsureIncreaseCountIfRunOnCallingThread.rejectedExecution(MainAnalyserService.java:101)
at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:825)
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1355)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at com.jthink.songkong.analyse.analyser.MainAnalyserService.submit(MainAnalyserService.java:123)
at com.jthink.songkong.analyse.analyser.MusicBrainzMetadataMatcher.processMetadataFailedToMatch(MusicBrainzMetadataMatcher.java:100)
at com.jthink.songkong.analyse.analyser.MusicBrainzMetadataMatcher.call(MusicBrainzMetadataMatcher.java:382)
at com.jthink.songkong.analyse.analyser.MusicBrainzMetadataMatcher.call(MusicBrainzMetadataMatcher.java:35)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.jthink.songkong.analyse.analyser.MainAnalyserService$EnsureIncreaseCountIfRunOnCallingThread.rejectedExecution(MainAnalyserService.java:101)
at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:825)
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1355)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at com.jthink.songkong.analyse.analyser.MainAnalyserService.submit(MainAnalyserService.java:123)
at com.jthink.songkong.analyse.analyser.SongPrematcherMatcher.processRandomFolder(SongPrematcherMatcher.java:190)
at com.jthink.songkong.analyse.analyser.SongPrematcherMatcher.processSongsWithNewMetadata(SongPrematcherMatcher.java:166)
at com.jthink.songkong.analyse.analyser.SongPrematcherMatcher.call(SongPrematcherMatcher.java:117)
at com.jthink.songkong.analyse.analyser.SongPrematcherMatcher.call(SongPrematcherMatcher.java:27)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.jthink.songkong.analyse.analyser.MainAnalyserService$EnsureIncreaseCountIfRunOnCallingThread.rejectedExecution(MainAnalyserService.java:101)
at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:825)
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1355)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at com.jthink.songkong.analyse.analyser.MainAnalyserService.submit(MainAnalyserService.java:123)
at com.jthink.songkong.analyse.analyser.StartMatcher.processFolderWithPoorMetadata(StartMatcher.java:367)
at com.jthink.songkong.analyse.analyser.StartMatcher.rematch(StartMatcher.java:89)
at com.jthink.songkong.analyse.analyser.StartMatcher.call(StartMatcher.java:219)
at com.jthink.songkong.analyse.analyser.StartMatcher.call(StartMatcher.java:28)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

Activity

Show:
IJabz
July 16, 2020, 11:02 PM

Possible that AcousticBrainz only supports 1.3, and we have now disabled that. need to test AcousticBrainz/Wikipedia with different TLS options on Widows/UNIX to pinpoint problem.

IJabz
July 21, 2020, 9:51 PM

Fixed runtime created by jlink required jdk.crypto.ec

IJabz
July 21, 2020, 9:52 PM

Fixed.

Fixed

Reporter

IJabz

Labels

None

Forum Username

os

None

Components

Fix versions

Affects versions

Priority

Major