io.netty.handler.codec.http2.StreamBufferingEncoder$Http2ChannelClosedException: Connection closed

GitHub | ejona86 | 3 months ago
  1. 0

    Http2ChannelClosedException instead of actual failure

    GitHub | 3 months ago | ejona86
    io.netty.handler.codec.http2.StreamBufferingEncoder$Http2ChannelClosedException: Connection closed

    Root Cause Analysis

    1. io.netty.handler.codec.http2.StreamBufferingEncoder$Http2ChannelClosedException

      Connection closed

      at io.netty.handler.codec.http2.StreamBufferingEncoder.close()
    2. io.netty.handler
      Http2ConnectionHandler.channelInactive
      1. io.netty.handler.codec.http2.StreamBufferingEncoder.close(StreamBufferingEncoder.java:224)
      2. io.netty.handler.codec.http2.Http2ConnectionHandler$BaseDecoder.channelInactive(Http2ConnectionHandler.java:176)
      3. io.netty.handler.codec.http2.Http2ConnectionHandler.channelInactive(Http2ConnectionHandler.java:372)
      3 frames
    3. io.grpc.netty
      NettyClientHandler.channelInactive
      1. io.grpc.netty.NettyClientHandler.channelInactive(NettyClientHandler.java:298)
      1 frame
    4. Netty
      SingleThreadEventExecutor$5.run
      1. io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:255)
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:241)
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:234)
      4. io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:360)
      5. io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:325)
      6. io.netty.handler.ssl.SslHandler.channelInactive(SslHandler.java:723)
      7. io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:255)
      8. io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:241)
      9. io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:234)
      10. io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1329)
      11. io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:255)
      12. io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:241)
      13. io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:908)
      14. io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:744)
      15. io.netty.util.concurrent.SingleThreadEventExecutor.safeExecute(SingleThreadEventExecutor.java:451)
      16. io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418)
      17. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:401)
      18. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)
      18 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame