io.netty.handler.codec.DecoderException

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web136

  • via GitHub by rtalexander
    ,
  • Stack trace

    • io.netty.handler.codec.DecoderException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:400)[mockserver.jar:na] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)[mockserver.jar:na] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:307)[mockserver.jar:na] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:293)[mockserver.jar:na] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:840)[mockserver.jar:na] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)[mockserver.jar:na] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[mockserver.jar:na] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[mockserver.jar:na] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[mockserver.jar:na] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[mockserver.jar:na] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[mockserver.jar:na] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[mockserver.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_91] Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:156)[na:1.8.0_91] at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:868)[na:1.8.0_91] at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781)[na:1.8.0_91] at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)[na:1.8.0_91] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1098)[mockserver.jar:na] at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:976)[mockserver.jar:na] at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:912)[mockserver.jar:na] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:369)[mockserver.jar:na] ... 12 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

    Unknown visitor
    Unknown visitorOnce,
    DunmerDunmer
    60 times, last one
    ToastyToasty
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    25 more bugmates