Application links (jira confluence) breaks after update TLS 1.3
Asked by Younes Ouchtouban:

hello,

i have two servers jira and confluence both serving on https using nginx, after updating to tls1.3, and set it on nginx side , no probleme accessing the two https @, but application link randomely breaks with this error: (both are using the AdoptOpenJDK that come qwith the product - )

any ideas, how to make theses JVMs accept the tls versions we want (specially 1.3)??

javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake  
at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)  
at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)  
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)  
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)  
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396)  
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355)  
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)  
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)  
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:394)  
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)  
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)  
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 com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:101)  
at com.atlassian.sal.core.net.HttpClientRequest.execute(HttpClientRequest.java:75)  
at jdk.internal.reflect.GeneratedMethodAccessor2218.invoke(Unknown Source)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.base/java.lang.reflect.Method.invoke(Unknown Source)  
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)  
at com.atlassian.confluence.osgi.HostClassLoaderMethodInterceptor.invoke(HostClassLoaderMethodInterceptor.java:23)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)  
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)  
at com.sun.proxy.$Proxy3202.execute(Unknown Source)  
at com.atlassian.plugins.rest.module.jersey.JerseyRequest.execute(JerseyRequest.java:125)  
at jdk.internal.reflect.GeneratedMethodAccessor2218.invoke(Unknown Source)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.base/java.lang.reflect.Method.invoke(Unknown Source)  
at com.atlassian.plugins.rest.module.ContextClassLoaderSwitchingProxy.invoke(ContextClassLoaderSwitchingProxy.java:22)  
at com.sun.proxy.$Proxy3203.execute(Unknown Source)  
at com.atlassian.confluence.plugins.metadata.jira.aggregate.JiraAggregateProvider.getDataForSingleApplink(JiraAggregateProvider.java:112)  
at com.atlassian.confluence.plugins.metadata.jira.aggregate.JiraAggregateProvider.lambda$getAggregateData$0(JiraAggregateProvider.java:97)  
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.base/java.lang.Thread.run(Unknown Source)  
Caused by: java.io.EOFException: SSL peer shut down incorrectly


Answers:
author: Fabian Lim
body: Hi [@Younes Ouchtouban](/t5/user/viewprofilepage/user-id/1178718)

I recommend you go through the troubleshooting guide here: <https://confluence.atlassian.com/kb/application-links-troubleshooting-guide-718668765.html>

If you still have issues, contact atlassian support.

Regards


Tags: confluence-server

open-jdk

server

ssl

tls