mrniko / netty-socketio

Socket.IO server implemented on Java. Realtime java framework
Apache License 2.0
6.77k stars 1.65k forks source link

Did anyone encountered CorruptedFrameException? #374

Open Kenvelo90 opened 8 years ago

Kenvelo90 commented 8 years ago

Using netty ssocketio 1.7.10 with the official java client and js client. The netty framework throws CorruptedFrameException exceptions sporadically. Any ideas?

Log:

2016-07-05 14:32:10 [nioEventLoopGroup-3-328] ERROR DefaultExceptionListener:48 - received a frame that is not masked as expected io.netty.handler.codec.CorruptedFrameException: received a frame that is not masked as expected at io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder.protocolViolation(WebSocket08FrameDecoder.java:412) ~[netty-codec-http-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder.decode(WebSocket08FrameDecoder.java:193) ~[netty-codec-http-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:387) ~[netty-codec-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245) ~[netty-codec-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83) [netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:154) [netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:354) [netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:145) [netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:1078) [netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125) [netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:510) [netty-transport-4.1.0.CR3.jar!/:4.1.0.CR3] at io.netty.channel.n

aboutdata commented 8 years ago

+1

TheCycoONE commented 7 years ago

+1

pramodbms commented 7 years ago

+1

fcbflying commented 6 years ago

Isn't there anyone explain more for this issue?

dominicqi commented 6 years ago

i have the same problem. my client is io.socket:socket.io-client:0.8.3. +1

nkcoder commented 6 years ago

same problem, any ideas?

<dependency>
    <groupId>com.corundumstudio.socketio</groupId>
    <artifactId>netty-socketio</artifactId>
    <version>1.7.13</version>
</dependency>
czb1n commented 6 years ago

same problem in version 1.7.12

lilaizhencn commented 6 years ago

+1

nantoniazzi commented 6 years ago

+1

sauravomar commented 5 years ago

+1

Bendor commented 5 years ago

+1

xuwuming commented 3 years ago

+1

com.corundumstudio.socketio netty-socketio 1.7.17