Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1830

Failing to establish TLS when using Java 11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.0
    • Component/s: None
    • Labels:
      None

      Description

      When using Java 11, some TLS sessions fail to get established properly. Exceptions like these are logged:

      2019.08.08 18:51:10 WARN  [Server SR - 949755994]: org.jivesoftware.openfire.server.ServerDialback[Acting as Receiving Server: Validate domain:igniterealtime.org(id 45psyr22yj) for OS: search.jabbercat.or
      javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify
              at sun.security.ssl.Alert.createSSLException(Alert.java:129) ~[?:?]
              at sun.security.ssl.Alert.createSSLException(Alert.java:117) ~[?:?]
              at sun.security.ssl.TransportContext.fatal(TransportContext.java:308) ~[?:?]
              at sun.security.ssl.TransportContext.fatal(TransportContext.java:264) ~[?:?]
              at sun.security.ssl.TransportContext.fatal(TransportContext.java:255) ~[?:?]
              at sun.security.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:724) ~[?:?]
              at org.jivesoftware.openfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.java:227) ~[xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.net.TLSStreamHandler.start(TLSStreamHandler.java:181) ~[xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.server.ServerDialback.sendVerifyKey(ServerDialback.java:706) ~[xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.server.ServerDialback.verifyKey(ServerDialback.java:812) ~[xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.server.ServerDialback.validateRemoteDomain(ServerDialback.java:562) [xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.session.LocalIncomingServerSession.validateSubsequentDomain(LocalIncomingServerSession.java:249) [xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.net.ServerSocketReader.processUnknowPacket(ServerSocketReader.java:137) [xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.net.SocketReader.process(SocketReader.java:246) [xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:172) [xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java:79) [xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at org.jivesoftware.openfire.net.SocketReader.run(SocketReader.java:149) [xmppserver-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
              at java.lang.Thread.run(Thread.java:834) [?:?] 

      The remote peer perceives this as a timeout.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              guus Guus der Kinderen
              Reporter:
              guus Guus der Kinderen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: