Skip to content

Cannot join dedicated server with Cardinal Components API (unhandled packet: cardinal-components:entity_sync) #168

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

Closed
unilock opened this issue Nov 12, 2024 · 5 comments

Comments

@unilock
Copy link
Contributor

unilock commented Nov 12, 2024

With Cardinal Components API installed, alongside a Fabric mod that adds a Component that requires syncing between client and server (in this case, Trickster), the client disconnects immediately after joining a dedicated server. (singleplayer works fine)

latest.log (client): https://gist.github.com/unilock/9ea8f4888b3ecffbb023474066bb9b4d
latest.log (server): https://gist.github.com/unilock/c5f16e51b70fc77c8f14864afb8fb019

To reproduce:

  1. Set up a Minecraft 1.21.1 client and server with NeoForge 21.1.77
  2. Install the following mods on both sides:
  1. Start the client and the server
  2. Attempt to join the server from the client
  3. Disconnect due to This server requires Cardinal Components API (unhandled packet: cardinal-components:entity_sync)
@Su5eD
Copy link
Member

Su5eD commented Nov 12, 2024

Wasn't this fixed in 2.0.17? Or did it break again?

@unilock
Copy link
Contributor Author

unilock commented Nov 12, 2024

Testing v2.0.16 and v2.0.18 had the same results, as described here. v2.0.17 leads to a disconnect similar to that of #166 and Sinytra/Connector#1512 (on a dedicated server, not singleplayer!)

@unilock
Copy link
Contributor Author

unilock commented Nov 15, 2024

Sometimes, the game does let me join, but the server log is spammed with:

[Netty Server IO #1/WARN] [ne.ne.ne.ne.re.NetworkRegistry/]: No registration for payload cardinal-components:chunk_sync; refusing to decode.
[Netty Server IO #1/WARN] [ne.ne.ne.ne.re.NetworkRegistry/]: No registration for payload cardinal-components:entity_sync; refusing to decode.

...among similar messages for other payload types from Fabric mods.

@Moulberry
Copy link
Contributor

Should be fixed by #170, haven't tested

@unilock
Copy link
Contributor Author

unilock commented Nov 21, 2024

#170 does appear to have fixed the issue :)

@unilock unilock closed this as completed Nov 21, 2024
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