GeyserMC / Geyser

A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.
https://geysermc.org
MIT License
4.75k stars 686 forks source link

End of Stream in bedrock players when joining #5027

Closed JoshuaPHYT closed 2 months ago

JoshuaPHYT commented 2 months ago

Describe the bug

05:02:41 WARN: at java.base/java.util.Objects.requireNonNull(Objects.java:233) 05:02:41 WARN: at java.base/java.lang.invoke.DirectMethodHandle.checkBase(DirectMethodHandle.java:547) 05:02:41 WARN: at java.base/jdk.internal.reflect.MethodHandleObjectFieldAccessorImpl.get(MethodHandleObjectFieldAccessorImpl.java:57) 05:02:41 WARN: at java.base/java.lang.reflect.Field.get(Field.java:444) 05:02:41 WARN: at floodgate-spigot (13).jar//org.geysermc.floodgate.addon.data.SpigotDataHandler.checkAndHandleLogin(SpigotDataHandler.java:150) 05:02:41 WARN: at floodgate-spigot (13).jar//org.geysermc.floodgate.addon.data.SpigotDataHandler.channelRead(SpigotDataHandler.java:145) 05:02:41 WARN: at floodgate-spigot (13).jar//org.geysermc.floodgate.addon.data.CommonDataHandler.channelRead(CommonDataHandler.java:178) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) 05:02:41 WARN: at ProtocolLib (13).jar//com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processInbound(NettyChannelInjector.java:441) 05:02:41 WARN: at ProtocolLib (13).jar//com.comphenix.protocol.injector.netty.channel.InboundPacketInterceptor.channelRead(InboundPacketInterceptor.java:47) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) 05:02:41 WARN: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) 05:02:41 WARN: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) 05:02:41 WARN: at ProtocolLib (13).jar//com.comphenix.protocol.injector.netty.channel.InboundProtocolReader.channelRead(InboundProtocolReader.java:25) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) 05:02:41 WARN: at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) 05:02:41 WARN: at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) 05:02:41 WARN: at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54) 05:02:41 WARN: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) 05:02:41 WARN: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) 05:02:41 WARN: at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) 05:02:41 WARN: at java.base/java.lang.Thread.run(Thread.java:1583)

To Reproduce

In the first join after a restart or a long login, my players encounter the error "end of stream." When I look in the console, this is the error message.

Expected behaviour

they should join normally without error

Screenshots / Videos

No response

Server Version and Plugins

1.21.1-2301-a43711d (MC: 1.21.1)

Geyser Dump

https://dump.geysermc.org/5vQOAkmgLahwqrkUE3AQctnHWtRYDjL3

Geyser Version

[05:10:10 INFO]: This server is running Geyser version 2.4.2-b647 (git-master-0bc39d5) (Java: 1.21, Bedrock: 1.20.80/1.20.81 - 1.21.20)

Minecraft: Bedrock Edition Device/Version

Latest 1.21/Mobile

Additional Context

No response

esguelcher commented 1 month ago

Same problem here any fix?