Empty Packet! - protocol bug 1.7.x

Discussion in 'BungeeCord Help' started by Kris86, May 20, 2015.

  1. Hello all.

    In new BC build (1065 and above) only players with client version betwen 1.7.2-1.7.9 can't connect to proxy server.
    All this players was kick with this exception:

    Code (Text):

    12:49:37 [INFO] [bolda500] <-> ServerConnector [lobby] has connected
    12:49:37 [SEVERE] [bolda500] <-> DownstreamBridge <-> [lobby] - encountered exception
    io.netty.handler.codec.CorruptedFrameException: Empty Packet!
      at net.md_5.bungee.protocol.Varint21FrameDecoder.decode(Varint21FrameDecoder.java:34)
      at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:247)
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:147)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
      at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
      at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)
      at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
      at java.lang.Thread.run(Thread.java:745)
    12:49:37 [INFO] [bolda500] disconnected with: CorruptedFrameException : Empty Packet! @ net.md_5.bungee.protocol.Varint21FrameDecoder:34
    12:49:37 [INFO] [bolda500] disconnected with: [Proxy] Lost connection to server.
    12:49:37 [INFO] [bolda500] <-> DownstreamBridge <-> [lobby] has disconnected
    12:49:37 [INFO] [bolda500] -> UpstreamBridge has disconnected

     
    @md_5 can you fix this? I have many players in my network with 1.7.x version
     
  2. I have the same problem.
    Change your BungeeCord Version ! ;)
     
  3. I have cheange to previous build, but in my opinion new build is recommended to fix security bug to send empty packet to proxy.