-
Notifications
You must be signed in to change notification settings - Fork 34
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
Cannot connect to singleplayer or multiplayer as of v2.3.1 - "Unexpected custom data from client" #98
Comments
Porting Lib syncs configs on login. Velocity seems unable to handle that. |
A vanilla server will disconnect any client that sends a custom login query, which is what's happening here. FAPI adds support for them. |
Great, another issue with Velocity not allowing custom packets during the LOGIN stage. There have been multiple discussions with the Velocity team about this, but they refuse to account for anything other than vanilla behavior. When Quilt had the same issue (QuiltMC/quilted-fabric-api#46), a server-side mod was created that sent Since Velocity unfortunately does not care, could something similar be done here? |
It might be possible to move sync to PLAY. Changing when vanilla packets are sent sounds extremely dangerous. |
Seems to not actually be a velocity problem |
It seems to be a problem with config sync, but it's normally hidden because nothing happens if no mods use it. Hephaestus uses it. |
If I remember correctly, the order of packets wasn't changed; rather, But that's probably neither here nor there. Glad to hear this isn't a Velocity issue at least :) |
I've just noticed that this also happens when trying to join a singleplayer world.
The timestamp in which I started a singleplayer world would be |
I believe that I'm experiencing the issue with fabric |
same here. dont seem to be able to downgrade either. took me 3 days to narrow down the problem to porting lib. i see there is a pull request that allegedly fixes this. hope we get that patch soon |
you can build porting lib from source with the correct patch (7ba0f31) applied, and include the resulting binary in your mods folder. |
i have no clue how to do that alas |
Lucky for us, Porting Lib has a Github Actions workflow that builds a JAR after every push/PR against the repo. You can find the corresponding artifact for #101 here. Download the Artifacts.zip and extract it. Your updated JAR should be in there. Adding this version to my mods folder fixed the issue and allowed me to load This should work until the patch is merged upstream and released via an update. |
fixed |
As of version 2.3.1 of Porting Lib, I'm unable to connect to a dedicated server - the client is almost instantly disconnected with the error "Unexpected custom data from client".
latest.log from client: https://gist.github.com/unilock/794de8311574ee811db993e8d08123e7
latest.log from server: https://gist.github.com/unilock/6ed314c2739792ccaf850755ad098ede
Note that I'm using Quilt (Loader 0.24.0, QFAPI 7.5.0 / QSL 6.1.2), with the server behind a Velocity proxy.
The issue exists on Porting Lib v2.3.2 as well. Downgrading Porting Lib to v2.3.0 resolves the issue.
The text was updated successfully, but these errors were encountered: