[BUG] Error decoding class net.elytrium.limboapi.injection.packet.UpsertPlayerInfoHook Direction CLIENTBOUND Protocol 1.20 State PLAY ID 3a
- Dominant language
- Java
- Stars
- 310
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
```
[23:07:34] [Netty epoll Worker #30/INFO] [limboapi]: Nirita002 has disconnected from the LimboReconnect Limbo
[23:07:34] [Netty epoll Worker #30/INFO] [com.velocitypowered.proxy.connection.MinecraftConnection]: [connected player] Nirita002 has disconnected
[23:07:40] [Netty epoll Worker #11/INFO] [com.velocitypowered.proxy.connection.MinecraftConnection]: [server connection] Nirita002 -> survival has connected
[23:07:40] [Netty epoll Worker #11/ERROR] [com.velocitypowered.proxy.connection.MinecraftConnection]: [server connection] Nirita002 -> survival: exception encountered in com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler@4c275967
io.netty.handler.codec.CorruptedFrameException: Error decoding class net.elytrium.limboapi.injection.packet.UpsertPlayerInfoHook Direction CLIENTBOUND Protocol 1.20 State PLAY ID 3a
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.handleDecodeFailure(MinecraftDecoder.java:131) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:86) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.channelRead(MinecraftDecoder.java:61) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:454) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.IllegalArgumentException: Invalid key bytes
at com.velocitypowered.proxy.crypto.EncryptionUtils.parseRsaPublicKey(EncryptionUtils.java:206) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.crypto.IdentifiedKeyImpl.(IdentifiedKeyImpl.java:46) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.ProtocolUtils.readPlayerKey(ProtocolUtils.java:585) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.packet.chat.RemoteChatSession.(RemoteChatSession.java:36) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.packet.UpsertPlayerInfo$Action.lambda$static$2(UpsertPlayerInfo.java:155) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.packet.UpsertPlayerInfo.decode(UpsertPlayerInfo.java:103) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:84) ~[velocity.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
... 26 more
```
this issue that happens on my server after a few hours of running, it randomly logs out players with this issue and doesn't let them back in.
to solve the issue I have to restart the proxy every time it happens, what can I do?
**Expected behavior**
that players can stay within the server without being randomly kicked out
**Server Info (please complete the following information):**
- limboapi-1.1.17-SNAPSHOT.jar https://github.com/Elytrium/LimboAPI/actions/runs/5864084463
- limboauth-1.1.13-improved.jar Discord
- limbofilter-1.1.12.jar https://github.com/Elytrium/LimboFilter/actions/runs/5786096273
- LimboQueue-1.0.1.jar https://github.com/Elytrium/LimboQueue/actions/runs/6074237437
- LimboReconnect-1.1.2.jar https://github.com/Elytrium/LimboReconnect/actions/runs/5858766740
- velocity_tools-1.1.9.jar https://github.com/Elytrium/VelocityTools/actions/runs/4225446108
- [velocity-dump-2023-10-17-23-52-08.json](https://github.com/Elytrium/LimboAPI/files/12981472/velocity-dump-2023-10-17-23-52-08.json)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.