Closed BUGTeas closed 2 weeks ago
This is caused by improper configuration. There are two options:
First: If your reverse proxy supports sending HAProxy protocol headers, you can enable enable-proxy-protocol
in Geyser's bedrock
config and whitelist the proxy IP in the proxy-protocol-whitelisted-ips
section. That will forward IPs properly too.
Alternatively, if your reverse proxy does not support sending HAProxy protocol headers, you can disable rate limiting entirely by adding the -DGeyser.RakRateLimitingDisabled=true
java system argument.
Thanks.
Describe the bug
I use a UDP reverse proxy to forward geyser connection to another port. but when lots of players online on the same time, may reached the packet limit cause all of the player timed out.
To Reproduce
[org.cloudburstmc.netty.handler.codec.raknet.server.RakServerRateLimiter] [/127.0.0.1] Blocked because packet limit was reached
[org.cloudburstmc.netty.handler.codec.raknet.server.RakServerRateLimiter] Unblocked address /127.0.0.1
Expected behaviour
Provide a option to disable packet limit in whitelisted or all addresses
Screenshots / Videos
No response
Server Version and Plugins
Leaves version git-Leaves-"10acfe9" (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: 10acfe9) CompatNoCheatPlus, ConsoleSpamFix, CoreProtect, CrossplatForms, FCUB(made by myself), floodgate, Geyser-Spigot, GrimAC, InvSeePlusPlus, NoCheatPlus, NoPlugins, PCUB(made by myself), PlaceholderAPI, ProtectFarmLand, ProtocolLib, SimpleStack, SkinsRestorer, SpigotPing, Themis, UseBlessingSkin, ViaVersion
Geyser Dump
https://dump.geysermc.org/0DLPDXkbcmGdv9PW0jscuqy4IyhK5zcl
Geyser Version
2.4.0-b589 (git-master-ff1e1dd)
Minecraft: Bedrock Edition Device/Version
1.20.80 - 1.21.1
Additional Context
This problem is appeared for a long time, and not only in the current geyser version. I encountered same ploblem on Spigot 1.20.1. I thinked this problem haven't not any ties on other plugins, except Viaversion.