ViaRewind

ViaRewind

7.4k Downloads

Problems with 1.14.4 entities spawning

MGlolenstine opened this issue ยท 2 comments

commented

Describe the bug, provide any errors
Players are getting kicked when playing on 1.14.4 server with 1.8.9 client on entity spawn.
EDIT: When lightning bolt hits, the client disconnects.

How can we reproduce it?
Steps to reproduce the behavior:

  1. Login on 1.8.9'
  2. Wait for Phantoms to spawn
  3. There you go, a kick happens with the following error message in the console
MGlolenstine lost connection: Internal Exception: io.netty.handler.codec.EncoderException: us.myles.ViaVersion.exception.InformativeException: Please post this error to http://github.com/ViaVersion/ViaVersion/issues
{Type: Byte, Source #0: de.gerrygames.viarewind.protocol.protocol1_8to1_9.packets.SpawnPackets$3 (Anonymous), Data: [Pair{Type|VarInt, 3922}], Packet ID: 44}
Actual Error: 

Expected behaviour
Normaly see the entities and not get kicked

ViaVersion Dump:

Additional server info
Using Akarin Spigot for 1.14.4
Using velocity as a proxy, with following plugins: bungeequack, luckperms, msessentials, plan

commented

Hello, someone just use this exploit to crash all the network, this is the bungee log (latest travertine release):
[01:02:52] [Netty Worker IO Thread #0/ERROR]: [/46.34.128.118:47101] <-> InitialHandler - encountered exception io.netty.handler.codec.DecoderException: us.myles.ViaVersion.exception.InformativeException: Please post this error to http://github.com/ViaVersion/ViaVersion/issues {Type: VarInt, Source #0: us.myles.ViaVersion.protocols.base.BaseProtocol$1 (Anonymous), Data: [], Packet ID: 0} Actual Error: at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:316) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:303) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:417) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:271) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.handler.codec.ByteToMessageDecoder.handlerRemoved(ByteToMessageDecoder.java:244) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:500) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:432) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:271) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:355) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:377) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:792) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:475) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[Travertine.jar:git:Travertine-Bootstrap:1.15-SNAPSHOT:8b7a57c:120] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

commented

Will need the full error log to fix this issue.