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

io.netty.handler.codec.haproxy.HAProxyProtocolException: header length (over 548) exceeds the allowed maximum (108) #4679

Closed
Rejxcted opened this issue May 19, 2024 · 7 comments

Comments

@Rejxcted
Copy link

Describe the bug

https://pastebin.com/A6HAbUJ7

Found errors in the log!
See below for details and possible fixes
io.netty.handler.codec.haproxy.HAProxyProtocolException: header length (over 548) exceeds the allowed maximum (108)
Unknown fix!
Class: ProxyProtocolDecoder
Method: fail
Line: 419
Link: ProxyProtocolDecoder.java#L419

To Reproduce

I started server with latest flood/geyser

Expected behaviour

Should let me connect??

Screenshots / Videos

No response

Server Version and Plugins

Lifesteal - 1.20.4
image

Hub - 1.20.1
image

Geyser Dump

https://dump.geysermc.org/Omb8Qz2YYcYhYwlHAdDYXPxWKlZrSkST

Geyser Version

534

Minecraft: Bedrock Edition Device/Version

No response

Additional Context

No response

@onebeastchris
Copy link
Member

Are you using a reverse proxy infront of your Geyser instance? If so, which one?
This looks like a malformed packet being received; my guess would be to improper configuration

@Rejxcted
Copy link
Author

Are you using a reverse proxy infront of your Geyser instance? If so, which one? This looks like a malformed packet being received; my guess would be to improper configuration

Yes, we're using TCPShield, only had this problem after we updaed to the latest geyser lol

@onebeastchris
Copy link
Member

Which version did you update from? That might be able to pin down what might have changed between now and then

@Rejxcted
Copy link
Author

No clue but the last JAR we installed before this was 23 days ago, so I guess one on that date or the closest

@Kas-tle
Copy link
Member

Kas-tle commented May 21, 2024

Is this running in docker or no?

@Rejxcted
Copy link
Author

Yes, we're running our servers on Pterodactyl

@Kas-tle
Copy link
Member

Kas-tle commented May 21, 2024

Can you run the following while reproducing the error? You can either post the resulting pcap here or if you are afraid of sharing sensitive info feel free to DM it to me on Discord (kastle). For the container name that should be the full uuid of the server found in the Servers tab of the Pterodactyl admin menu.

sudo docker run --rm --net container:$(sudo docker ps -qf name=CONTAINER_NAME_HERE) nicolaka/netshoot:latest tcpdump -s 0 -U -n -w - udp port 19132 > out.pcap

Also if you are running Geyser on a different port than 19132 you will of course want to change that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants