[Bug]: Cannot connect to server with network compression disabled
LevyWilson opened this issue ยท 2 comments
Bug Description
I have a very strange and incredibly niche bug. I am running 6 different modded servers behind a Velocity proxy so they can all share chat with each other and our Discord server. Since I am using a proxy, I have network compression disabled in the server properties file for all but two of my servers, Velocity itself handles network compression. Those two I cannot disable network compression on because if I do, no one can connect. Those two modded servers are Project Architect 2 4.8 and Craft to Exile 2 0.8.4b. Craft to Exile 2 just recently added Chipped, that's how I was able to narrow down the cause of this bug to your mod. PA2 uses version 3.0.6 and CE2 uses 3.0.7 of Chipped. So this error occurs on both.
The obvious solution is to keep network compression enabled on the backend servers, but having compression on the backend servers causes a disconnect bug where players will suddenly have 4k+ ping before they are kicked. I need to be able to turn network compression off on the backend servers. I was able to test and disabling Chipped on my server and my client lets me connect just fine with network compression disabled. I don't know where or why but Chipped is the cause of this bug.
How to Reproduce?
Try to connect to a server with Chipped on it through a Velocity Proxy, get error.
Expected Behavior
Expected to connect.
Version
3.0.7
Mod Loader Version
47.3.12
Mod Loader
Forge
Logs or additional context
This is the client's debug.log file after attempting to connect to my server with Chipped installed. https://pastebin.com/FtLPQQ0d
Code of Conduct
- I have searched the issue tracker and confirmed that the issue has not been reported
- I have checked the FAQ (if one is present) and my issue is not listed
- I have verified that I am using the latest version of the mod
- I have verified that I have installed all the required dependencies for the mod
- I have verified that I do not have Optifine installed. We will close issues if we detect Optifine is in your pack. We cannot fix Optifine issues. Please do not report issues with Optifine present.
Also want to add I have ATM10 also behind the proxy, which also has Chipped installed. It works fine. So this bug appears to be limited to 1.20.1.