After a system restart on OS upgrade (RHEL 7), the Application Link between Jira and Confluence stopped working. Jira seems to be running without issue, and Confluence started. But when trying to log into the Confluence admin page I get a 500 error as well. I suspect our reverse proxy configuration is off somewhere.
Red Hat has confirmed the jdk.tlk.maxHandshakeMessageSize parameter has been added to Java 8. The fix is to add the following in the setenv.sh file for Jira, Confluence, and any other applications running:
-Djdk.tls.maxHandshakeMessageSize=35000
Stop the application, edit the setenv.sh, then restart.
[root@jira jira]# java SSLPoke jira.bizops.nrl.navy.mil 443
javax.net.ssl.SSLProtocolException: The size of the handshake message (34669) exceeds the maximum allowed size (32768)
at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(SSLSocketInputRecord.java:309)
at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:190)
at sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)
at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1143)
at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1054)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:394)
at sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:708)
at sun.security.ssl.SSLSocketImpl.access$100(SSLSocketImpl.java:72)
at sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:961)
at sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:933)
at SSLPoke.main(SSLPoke.java:31)
Is this indicating that our CA chain may be too long? Is there a way to increase the allowed handshake message size?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nope! It's an update to Java 8 that adds a new configuration component:
jdk.tls.maxHandshakeMessageSize
So this is going to have to be modified in Jira to set a higher handshake message size.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.