io.netty.handler.codec.DecoderException

javax.net.ssl.SSLHandshakeException: General SSLEngine problem

Solutions on the web35

  • javax.net.ssl.SSLHandshakeException: General SSLEngine problem
  • javax.net.ssl.SSLHandshakeException: General SSLEngine problem
  • via JIRA by suibin zhang, 11 months ago
    javax.net.ssl.SSLHandshakeException: General SSLEngine problem
  • Stack trace

    • io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:280)[50:io.netty.codec:4.0.23.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149)[50:io.netty.codec:4.0.23.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[48:io.netty.transport:4.0.23.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[48:io.netty.transport:4.0.23.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[46:io.netty.common:4.0.23.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[46:io.netty.common:4.0.23.Final] at java.lang.Thread.run(Thread.java:745)[:1.8.0_25] Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1375)[:1.8.0_25] at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:529)[:1.8.0_25] at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:807)[:1.8.0_25] at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:775)[:1.8.0_25] at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)[:1.8.0_25] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:982)[49:io.netty.handler:4.0.23.Final] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:908)[49:io.netty.handler:4.0.23.Final] at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:854)[49:io.netty.handler:4.0.23.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:249)[50:io.netty.codec:4.0.23.Final] ... 12 more Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)[:1.8.0_25] at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1708)[:1.8.0_25] at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:303)[:1.8.0_25] at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:295)[:1.8.0_25] at sun.security.ssl.ServerHandshaker.clientCertificate(ServerHandshaker.java:1841)[:1.8.0_25] at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:222)[:1.8.0_25] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:936)[:1.8.0_25] at sun.security.ssl.Handshaker$1.run(Handshaker.java:876)[:1.8.0_25] at sun.security.ssl.Handshaker$1.run(Handshaker.java:873)[:1.8.0_25] at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_25] at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1313)[:1.8.0_25] at io.netty.handler.ssl.SslHandler.runDelegatedTasks(SslHandler.java:1015)[49:io.netty.handler:4.0.23.Final] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:927)[49:io.netty.handler:4.0.23.Final] ... 14 more Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)[:1.8.0_25] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)[:1.8.0_25] at sun.security.validator.Validator.validate(Validator.java:260)[:1.8.0_25] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)[:1.8.0_25] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:279)[:1.8.0_25] at sun.security.ssl.X509TrustManagerImpl.checkClientTrusted(X509TrustManagerImpl.java:130)[:1.8.0_25] at sun.security.ssl.ServerHandshaker.clientCertificate(ServerHandshaker.java:1828)[:1.8.0_25] ... 22 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    9 times, 7 months ago
    Once, 10 months ago
    1283 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    6 more bugmates