netty: io.netty.handler.codec.CorruptedFrameException: RSV != 0 and no extension negotiated, RSV:1
Hello, I have this exception, at 4.1.0.CR6 but at 4.1.0.Beta8 works well. What I did wrong? Currently I am using custom Handshaker, with 13 version (WebSocketClientHandshaker13) .
io.netty.handler.codec.CorruptedFrameException: RSV != 0 and no extension negotiated, RSV:1
at io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder.protocolViolation(WebSocket08FrameDecoder.java:412)
at io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder.decode(WebSocket08FrameDecoder.java:188)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:387)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)
at io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83)
at io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:154)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:354)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:145)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:1078)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:127)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:527)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:484)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:398)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:370)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
I tried to set “allowExtensions” but then with
io.netty.handler.codec.CorruptedFrameException: data frame using reserved opcode 7
at io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder.protocolViolation(WebSocket08FrameDecoder.java:412)
at io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder.decode(WebSocket08FrameDecoder.java:229)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:387)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)
at io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83)
at io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:154)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:354)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:145)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:1078)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:127)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:527)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:484)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:398)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:370)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
reproduce: try to connect to lightstreamer server. via wss
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 34 (11 by maintainers)
Commits related to this issue
- Ensure WebSocket*Handshaker removes closest codecs Motivation: When a user has multiple instances of Http codecs in the pipline the WebSocket*Handshaker may remove the wrong ones as it will just rem... — committed to netty/netty by normanmaurer 8 years ago
- Ensure WebSocket*Handshaker removes closest codecs Motivation: When a user has multiple instances of Http codecs in the pipline the WebSocket*Handshaker may remove the wrong ones as it will just rem... — committed to netty/netty by normanmaurer 8 years ago
- Ensure WebSocket*Handshaker removes closest codecs Motivation: When a user has multiple instances of Http codecs in the pipline the WebSocket*Handshaker may remove the wrong ones as it will just rem... — committed to netty/netty by normanmaurer 8 years ago
- [#5070] [#5201] Ensure WebSocket*Handshaker removes correct handler during handshake Motivation: When a user has multiple instances of Http codecs in the pipline the WebSocket*Handshaker may remove ... — committed to netty/netty by normanmaurer 8 years ago
- [#5070] [#5201] Ensure WebSocket*Handshaker removes correct handler during handshake Motivation: When a user has multiple instances of Http codecs in the pipline the WebSocket*Handshaker may remove ... — committed to netty/netty by normanmaurer 8 years ago
- Ensure WebSocket*Handshaker can not corrupt pipeline when HttpProxyHandler is used Motivation: HttpProxyHandler itself will add a HttpClientCodec into the ChannelPipeline and so confuse the WebSocke... — committed to netty/netty by normanmaurer 4 years ago
- Ensure WebSocket*Handshaker can not corrupt pipeline when HttpProxyHa… (#10103) Motivation: HttpProxyHandler itself will add a HttpClientCodec into the ChannelPipeline and so confuse the WebSock... — committed to netty/netty by normanmaurer 4 years ago
- Ensure WebSocket*Handshaker can not corrupt pipeline when HttpProxyHa… (#10103) Motivation: HttpProxyHandler itself will add a HttpClientCodec into the ChannelPipeline and so confuse the WebSocket*H... — committed to netty/netty by normanmaurer 4 years ago
- Ensure WebSocket*Handshaker can not corrupt pipeline when HttpProxyHa… (#10103) Motivation: HttpProxyHandler itself will add a HttpClientCodec into the ChannelPipeline and so confuse the WebSocket*H... — committed to ihanyong/netty by normanmaurer 4 years ago
@philrykoff i use vertx 3.4.2 also has this problem ,do you have any idea to fix this?