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

Status/ping fails when server has the BetterCompatabilityChecker mod #297

Open
nrgill28 opened this issue Feb 18, 2024 · 2 comments
Open
Labels
bug Something isn't working gate-lite Regarding Gate Lite mode good first issue Good for newcomers priority/medium Medium priority task

Comments

@nrgill28
Copy link

I'm using Gate 0.36.7 in lite mode to proxy to a modded server (curseforge) that I'm hosting, and although you can connect to the server fine Gate seems to fail to proxy that status/ping of it to show in the server list. I did a bit of investigating and it's likely that this is a result of one of the mods included in this pack that appends some additional data to the status response.

The error in Gate's log is two messages, a failed to try backend: failed to decode status response: decoder did not read all bytes of packet followed by could not resolve ping: all backends failed.

The mod in question is BetterCompatibilityChecker. If it's useful I also have a packet capture of the ping between Gate and the modded server, but GitHub doesn't seem to allow pcapng files here so if you want it LMK and I can upload it somewhere else.

@robinbraemer
Copy link
Member

robinbraemer commented Feb 22, 2024

Hi, you can share a file.io of it. Thanks

Which Minecraft server version is that?
Does classic Gate non-Lite respond with a pong correctly?

maybe related to Lite not having this yet

return "\000" + Token + strconv.Itoa(natVersion)

@robinbraemer robinbraemer added bug Something isn't working good first issue Good for newcomers gate-lite Regarding Gate Lite mode priority/medium Medium priority task labels Feb 22, 2024
@nrgill28
Copy link
Author

The server is a 1.20.1 server with Fabric, I have not tried it in non-lite mode.
Here's the pcap: https://file.io/PI06hr2s7v4D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gate-lite Regarding Gate Lite mode good first issue Good for newcomers priority/medium Medium priority task
Projects
None yet
Development

No branches or pull requests

2 participants