|
From: Christoph J. <chr...@ma...> - 2021-01-26 12:19:31
|
Hi, did you try a newer QFJ version? QFJ 2.2.0 contains MINA 2.1.3. Apart from that, you mentioned that you are using QFJ 2.1.0 but the log output shows mina-core-2.0.17. QFJ 2.1.0 contains MINA 2.0.19 which also contained some SSL-related fixes. Cheers, Chris. On 26.01.21 12:42, seb...@or... wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hi, > > I come back with the problem of SSL error with QuickfixJ and Jdk11. > > I put apache.mina in debug too, I try to change the cipher suites with a stronger one which is > present in jdk11, I try to use another Jdk11 docker image, I try to use a jdk14 docker image. > > But I’m still have the error : > > DEBUG 10 --- [ NioProcessor-2] org.apache.mina.filter.ssl.SslFilter : Adding the SSL Filter > SslFilter to the chain > > DEBUG 10 --- [ NioProcessor-2] org.apache.mina.filter.ssl.SslHandler : Session Server[1](no > sslEngine) Initializing the SSL Handler > > DEBUG 10 --- [ NioProcessor-2] org.apache.mina.filter.ssl.SslHandler : Session Server[1](no > sslEngine) SSL Handler Initialization done > > DEBUG 10 --- [ NioProcessor-2] org.apache.mina.filter.ssl.SslFilter : Session Server[1](ssl...) : > Starting the first handshake > > 2021-01-26 09:16:02.152 DEBUG 10 --- [ NioProcessor-2] org.apache.mina.filter.ssl.SslHandler : > Session Server[1](ssl...) processing the NEED_UNWRAP state > > INFO 10 --- [ NioProcessor-2] q.mina.acceptor.AcceptorIoHandler : MINA session created: > local=/172.18.8.62:1085, class org.apache.mina.transport.socket.nio.NioSocketSession, > remote=/172.18.0.152:35990 > javax.net.ssl|ALL|3C|NioProcessor-2|2021-01-26 09:16:02.154 GMT|SSLEngineImpl.java:752|Closing > outbound of SSLEngine > javax.net.ssl|WARNING|3C|NioProcessor-2|2021-01-26 09:16:02.156 > GMT|SSLEngineOutputRecord.java:168|outbound has closed, ignore outbound application data > > ERROR 10 --- [ NioProcessor-2] q.mina.acceptor.AcceptorIoHandler : Socket (/172.18.0.152:35990): > javax.net.ssl.SSLException: Improper close state: Status = OK HandshakeStatus = NEED_WRAP > bytesConsumed = 0 bytesProduced = 7 sequenceNumber = 0 > > javax.net.ssl.SSLException: Improper close state: Status = OK HandshakeStatus = NEED_WRAP > bytesConsumed = 0 bytesProduced = 7 sequenceNumber = 0 > at org.apache.mina.filter.ssl.SslHandler.closeOutbound(SslHandler.java:502) > ~[mina-core-2.0.17.jar!/:na] > at org.apache.mina.filter.ssl.SslFilter.initiateClosure(SslFilter.java:768) > ~[mina-core-2.0.17.jar!/:na] > at org.apache.mina.filter.ssl.SslFilter.filterClose(SslFilter.java:702) ~[mina-core-2.0.17.jar!/:na] > > > … > javax.net.ssl|ALL|3C|NioProcessor-2|2021-01-26 09:16:02.162 GMT|SSLEngineImpl.java:724|Closing > inbound of SSLEngine > javax.net.ssl|ERROR|3C|NioProcessor-2|2021-01-26 09:16:02.163 GMT|TransportContext.java:341|Fatal > (INTERNAL_ERROR): closing inbound before receiving peer's close_notify ( > "throwable" : { > javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify > at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133) > > DEBUG 10 --- [ NioProcessor-2] org.apache.mina.filter.ssl.SslHandler : Unexpected exception from > SSLEngine.closeInbound(). > javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify > at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133) ~[na:na] > > javax.net.ssl|WARNING|3C|NioProcessor-2|2021-01-26 09:16:02.164 > GMT|SSLEngineOutputRecord.java:168|outbound has closed, ignore outbound application data > > I get this error even if no client try to connect on my module. > > If someone have suggestions or ideas on this problem, I’m interested. > > Best regards, > > Sebastien. > > _________________________________________________________________________________________________________________________ > > Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc > pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler > a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, > Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. > > This message and its attachments may contain confidential or privileged information that may be protected by law; > they should not be distributed, used or copied without authorisation. > If you have received this email in error, please notify the sender and delete this message and its attachments. > As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. > Thank you. > > > _______________________________________________ |