magneticflux- / fabric-mumblelink-mod

A Fabric mod that connects to the MumbleLink plugin.
GNU Lesser General Public License v3.0
51 stars 13 forks source link

"Invalid payload" error while connecting to Spigot server #22

Closed BobTagnil closed 4 years ago

BobTagnil commented 4 years ago

Hi first I'm glad to see an active repo for MumbleLink on MC even more using Fabric 👍

"Bukkit" is complaining about message size over 32 characters, any idea where does it come from ? I don't understand how this mod could throw an error on the server side given that it doesn't need that many informations outside of position, right ?

Also of course it works properly on solo but I didn't tried it on LAN...

Logs are attached

client.log server.log

magneticflux- commented 4 years ago

This was interesting to debug! This is the Git Blame for the cause of the issue: Spigot Messenger.java.

Here's my vague history of custom packets:

Given this information, and the commit by md_5 updating Spigot to 1.13-pre7 here only changing the limit from 20 to 32, it seems like a bug in Spigot. During the 1.13 update of Spigot, they should have removed the hard limit.

I'll open an issue on their JIRA link these two.

magneticflux- commented 4 years ago

@BobTagnil I opened an issue on Spigot's JIRA here. Please vote there to encourage it to be resolved faster.

BobTagnil commented 4 years ago

Great ! As a temporary fix I compiled the mod on my computer in order to fix it.

Thank you again for the support of this mumble feature

Kuratius commented 4 years ago

Can you make it configurable whether the client sends a custom packet? There are still a lot of spigot servers that reject it.