GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Occasional Ssl BAD_DECRYPT exception after upgrading to Netty 4.1.119 · Issue #15037 · netty/netty

Occasional Ssl BAD_DECRYPT exception after upgrading to Netty 4.1.119 #15037

New issue
Copy link
New issue
Copy link
Closed
#15143
Closed
Occasional Ssl BAD_DECRYPT exception after upgrading to Netty 4.1.119#15037
#15143
Copy link
Milestone
4.1.122.Final

Description

@leonchen83
leonchen83
opened on Apr 16, 2025
Issue body actions

Environment:

Netty version: 4.1.119.Final

Netty native: netty-tcnative-boringssl-static-2.0.70.Final

Description:

After upgrading to Netty 4.1.119, we occasionally see the following exception reported on the server:

io.netty.handler.ssl.ReferenceCountedOpenSslEngineOpenSslException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.newSSLExceptionForError(ReferenceCountedOpenSslEngine.java:1392)
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.needWrapAgain(ReferenceCountedOpenSslEngine.java:1378)
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.sslReadErrorResult(ReferenceCountedOpenSslEngine.java:1409)
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1340)
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1441)
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.unwrap(ReferenceCountedOpenSslEngine.java:1484)
at io.netty.handler.ssl.SslHandlerSslEngineType1.unwrap(SslHandler.java:222)
at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1486)
at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1377)
at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1428)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:530)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:469)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.channel.DefaultChannelPipelineHeadContext.channelRead(DefaultChannelPipeline.java:1357)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868)
at io.netty.channel.epoll.AbstractEpollStreamChannelEpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399)
at io.netty.util.concurrent.SingleThreadEventExecutor4.run(SingleThreadEventExecutor.java:998)
at io.netty.util.internal.ThreadExecutorMap2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)

This exception occurs intermittently and was not observed prior to the upgrade.

I noticed that a similar issue was reported in January (#14644), and a fix was made in that context. I’m not sure whether this current issue might be related to those changes.

Activity

  1. normanmaurer commented on Apr 23, 2025

    @normanmaurer
    normanmaurer
    on Apr 23, 2025
    Member
    More actions

    Upgrading from what ?

  2. leonchen83 commented on Apr 24, 2025

    @leonchen83
    leonchen83
    on Apr 24, 2025
    ContributorAuthor
    More actions

    4.1.115->4.1.119

  3. normanmaurer
    added this to the 4.1.122.Final milestone on May 9, 2025
  4. normanmaurer
    closed this as completedin #15143on May 10, 2025
  5. normanmaurer
    added 3 commits that reference this issue on May 10, 2025

    Always correctly calculate the memory address of the ByteBuf even if … (

    668d91e

    Always correctly calculate the memory address of the ByteBuf even if … (

    79faea3

    Always correctly calculate the memory address of the ByteBuf even if … (

    923e292
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      • 4.1.122.Final

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.