Atlassian Marketplace server not reachable due to "javax.net.ssl.SSLException: Received fatal alert: protocol_version"
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Confluence is unable to reach the Atlassian Marketplace over HTTPS.
Diagnosis
After Confluence tries to reach the Marketplace, an error like the following appears in the application logs:
2021-01-11 17:17:12,457 WARN [https-jsse-nio-443-exec-64] [atlassian.upm.pac.PacClientImpl] fetchMpacAppInfo Error when querying application info from MPAC: com.atlassian.marketplace.client.MpacException: javax.net.ssl.SSLException: Received fatal alert: protocol_version
-- referer: https://my.confluence.com/plugins/servlet/upm/marketplace/featured?source=side_nav_find_new_addons | url: /plugins/servlet/upm | traceId: 31a652053a96ebbe | userName: BBunny
Cause
Check the Java options used to start up Confluence for an incorrect TLS client protocol. For example:
-Djdk.tls.client.protocols=TLSv1
Solution
Remove the offending TLS client protocol entry using Configuring System Properties as a guide and restart Confluence.