io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem

JIRA | suibin zhang | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    following exception is caught when trying OVS SSL connection to onos: (Als tested with openssl s_client -debug -cipher aNULL -connect 10.128.8.11:9876) Also tried with ovs ssl connection with same exception. 2015-11-18 16:22:18,252 | ERROR | entLoopGroup-3-1 | MessageDecoder | 148 - org.onosproject.onlab-netty - 1.4.0.SNAPSHOT | Exception inside channel handling pipeline. io.netty.handler.codec.DecoderException: java.lang.NegativeArraySizeException at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:425)[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: java.lang.NegativeArraySizeException at org.onlab.netty.MessageDecoder.decode(MessageDecoder.java:77)[148:org.onosproject.onlab-netty:1.4.0.SNAPSHOT] at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:370)[50:io.netty.codec:4.0.23.Final] ... 12 more

    JIRA | 1 year ago | suibin zhang
    io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
  2. 0

    Building 4.0 branch failures in SniHandlerTest.testServerNameParsing:113

    GitHub | 5 months ago | garydgregory
    io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
  3. 0

    SSL Handshake failed

    GitHub | 3 years ago | dennusb
    javax.net.ssl.SSLHandshakeException: SSL handshake failed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    handle Google Oauth service unavailability

    GitHub | 4 years ago | skivvies
    javax.net.ssl.SSLHandshakeException: General SSLEngine problem
  6. 0

    Client feature request: add proxy support

    GitHub | 4 years ago | casperc
    javax.net.ssl.SSLHandshakeException: General SSLEngine problem

  1. iferca 1 times, last 3 weeks ago
  2. Alireza Mohamadi 533 times, last 3 months ago
  3. johnxfly 3 times, last 2 weeks ago
  4. jf-ast 1 times, last 2 months ago
  5. eti22 9 times, last 3 months ago
7 more registered users
59 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    Validator.validate
    1. sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)[:1.8.0_25]
    2. sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)[:1.8.0_25]
    3. sun.security.validator.Validator.validate(Validator.java:260)[:1.8.0_25]
    3 frames
  3. Java JSSE
    Handshaker$1.run
    1. sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)[:1.8.0_25]
    2. sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:279)[:1.8.0_25]
    3. sun.security.ssl.X509TrustManagerImpl.checkClientTrusted(X509TrustManagerImpl.java:130)[:1.8.0_25]
    4. sun.security.ssl.ServerHandshaker.clientCertificate(ServerHandshaker.java:1828)[:1.8.0_25]
    5. sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:222)[:1.8.0_25]
    6. sun.security.ssl.Handshaker.processLoop(Handshaker.java:936)[:1.8.0_25]
    7. sun.security.ssl.Handshaker$1.run(Handshaker.java:876)[:1.8.0_25]
    8. sun.security.ssl.Handshaker$1.run(Handshaker.java:873)[:1.8.0_25]
    8 frames
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)[:1.8.0_25]
    1 frame
  5. Java JSSE
    Handshaker$DelegatedTask.run
    1. sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1313)[:1.8.0_25]
    1 frame
  6. Netty
    DefaultThreadFactory$DefaultRunnableDecorator.run
    1. io.netty.handler.ssl.SslHandler.runDelegatedTasks(SslHandler.java:1015)[49:io.netty.handler:4.0.23.Final]
    2. io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:927)[49:io.netty.handler:4.0.23.Final]
    3. io.netty.handler.ssl.SslHandler.decode(SslHandler.java:854)[49:io.netty.handler:4.0.23.Final]
    4. io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:249)[50:io.netty.codec:4.0.23.Final]
    5. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149)[50:io.netty.codec:4.0.23.Final]
    6. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)[48:io.netty.transport:4.0.23.Final]
    7. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)[48:io.netty.transport:4.0.23.Final]
    8. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)[48:io.netty.transport:4.0.23.Final]
    9. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)[48:io.netty.transport:4.0.23.Final]
    10. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[48:io.netty.transport:4.0.23.Final]
    11. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[48:io.netty.transport:4.0.23.Final]
    12. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[48:io.netty.transport:4.0.23.Final]
    13. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[48:io.netty.transport:4.0.23.Final]
    14. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[46:io.netty.common:4.0.23.Final]
    15. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[46:io.netty.common:4.0.23.Final]
    15 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[:1.8.0_25]
    1 frame