Skip to content

CorruptedFrameException on UpsertPlayerInfoPacket causes player disconnects with Floodgate #603

@MrNickax

Description

@MrNickax

We are experiencing random player disconnects on our Velocity proxy. The console shows the following error when it happens:

[22:08:06 ERROR]: [server connection] xN3YK0 -> survival-01: exception encountered in com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler@2cee2847
io.netty.handler.codec.CorruptedFrameException: Error decoding class com.velocitypowered.proxy.protocol.packet.UpsertPlayerInfoPacket Direction CLIENTBOUND Protocol 1.21.7 State PLAY ID 0x3f
Caused by: java.lang.ArrayIndexOutOfBoundsException

Full log:
https://mclo.gs/6s3FOfv

Geyser Dump:
https://mclo.gs/XryjqGb

I initially reported this to ViaVersion, but a ViaVersion developer said the issue had been previously reported and seemed related to Floodgate.
I cannot confirm if it’s directly caused by Floodgate, but mentioning it in case it helps narrow down the cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs verificationThis issue has not yet been reproduced

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions