Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PacketEvents 2.0 failed to inject randomly #1063

Open
SergioK29 opened this issue Nov 20, 2024 · 5 comments
Open

PacketEvents 2.0 failed to inject randomly #1063

SergioK29 opened this issue Nov 20, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@SergioK29
Copy link

SergioK29 commented Nov 20, 2024

Describe the bug
Randomly players while joining will get kicked with "PacketEvents 2.0 failed to inject"

Software brand
Paper 1.20.4, paper 1.21 (this issue has been around a long time, since 2024-02-10 until present day)

Plugins
Protocollib, vulcan, grim

How To Reproduce
Randomly players will get disconnected when joining, its quite rare so hard to replicate, it has happened 191 times on my server out of ~150,000 player joins, here is a dump of all https://pastebin.com/GqBE0v0z

I assume this is because there is some kind of conflict/data race between protocollib, the shaded packet events in grim and the old shaded packet events in vulcan?

Expected behavior
Shouldn't kick them

Additional context
What causes this error? Is there some way to make packet events more fault tolerant rather than just kicking?, maybe some debug flag to println that I could enable and if it happens report back the debug data?

@SergioK29 SergioK29 added the bug Something isn't working label Nov 20, 2024
@LilPhyziX
Copy link

Your having the same issue, eh? It's not rare for me though. It happens every time anyone tries to join.

@FaultyFunctions
Copy link

I am also getting this error every single time on 2.6.0 with Purpur 1.21.1.

@FaultyFunctions
Copy link

Actually updating Better Chat Bubbles to the latest version fixed this for me just now.

@booky10
Copy link
Collaborator

booky10 commented Nov 21, 2024

@SergioK29 are there any other errors? do you have any other plugins installed? also see the comments above, they may solve your issue

@SergioK29
Copy link
Author

@SergioK29 are there any other errors? do you have any other plugins installed? also see the comments above, they may solve your issue

there is actually one other plugin which touches netty besides plib, vulcan and grim, I have freedom chat but its on latest version so 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants