io.netty.handler.codec.CorruptedFrameException: received a frame that is not masked as expected

GitHub | Kenvelo90 | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 1

    Did anyone encountered CorruptedFrameException?

    GitHub | 9 months ago | Kenvelo90
    io.netty.handler.codec.CorruptedFrameException: received a frame that is not masked as expected

    Root Cause Analysis

    1. io.netty.handler.codec.CorruptedFrameException

      received a frame that is not masked as expected

      at io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder.protocolViolation()
    2. Netty
      NioEventLoop.processSelectedKey
      1. io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder.protocolViolation(WebSocket08FrameDecoder.java:412)[netty-codec-http-4.1.0.CR3.jar!/:4.1.0.CR3]
      2. io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder.decode(WebSocket08FrameDecoder.java:193)[netty-codec-http-4.1.0.CR3.jar!/:4.1.0.CR3]
      3. io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:387)[netty-codec-4.1.0.CR3.jar!/:4.1.0.CR3]
      4. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)[netty-codec-4.1.0.CR3.jar!/:4.1.0.CR3]
      5. io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83)[netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3]
      6. io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:154)[netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3]
      7. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:354)[netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3]
      8. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:145)[netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3]
      9. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:1078)[netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3]
      10. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)[netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3]
      11. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:510)[netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3]
      11 frames