-
-
Notifications
You must be signed in to change notification settings - Fork 639
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.EncoderException: Sending unknown packet 'serverbound/minecraft:chat_session_update' #1373
Comments
I updated to 5.0.2-SNAPSHOT+452 of ViaVerison and haven't gotten the issue since |
nevermind its still going on |
This seems to be somewhat of a vanilla client issue. The client fetches public key of the used Minecraft profile asynchronously and then sends it to the server. The key can only be updated during play state and the client does not check if it is in play state or got put into configuration state again. |
Try without Via* or contact their support, as Velocity does not support protocol hacks. |
This probably isn't caused by ViaVersion. I suspect that the player is being sent to a different server right after connecting to the initial server. This is unsupported and the PlayerChooseInitialServerEvent should be used. |
Oh, yeah, sorry. I didn't really look at the issue but rather at the fact that they were talking a lot about ViaVersion. |
It occurs almost always now for some reason, it could be my first connection of the day to the server and I will still get the error, I'll see if it's maybe my queue plugin and use PlayerChooseInitialServerEvent instead |
Though, a weird thing is, it only occurs on 1.21. No issues on 1.20.6 and below (server native is 1.20.4 paper) |
I ended up doing |
I agree with your interpretation--we've encountered this issue, but luckily we can work around it. |
How can we work around it?
…On Sun, Jul 7, 2024, 12:49 PM Ryan Jones ***@***.***> wrote:
This seems to be somewhat of a vanilla client issue. The client fetches
public key of the used Minecraft profile asynchronously and then sends it
to the server. The key can only be updated during play state and the client
does not check if it is in play state or got put into configuration state
again. However this should only really be an issue when switching servers
really fast after the initial login. Might this be the case here?
I agree with your interpretation--we've encountered this issue, but
luckily we can work around it.
—
Reply to this email directly, view it on GitHub
<#1373 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCS4P5TRIZPZSFQ43PQEYDZLF5Q5AVCNFSM6AAAAABKOD6O3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGUZDCMZTHE>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
I am experiencing this but only while I'm op'ed. |
This will apparently be fixed in a future version of Minecraft: https://bugs.mojang.com/browse/MC-272506 |
That's months if not years into the future, I need a way to fix it now
…On Wed, Jul 10, 2024, 4:33 PM Gero ***@***.***> wrote:
This will apparently be fixed in a future version of Minecraft:
https://bugs.mojang.com/browse/MC-272506
—
Reply to this email directly, view it on GitHub
<#1373 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCS4P6RTHVEGF6SMK65DC3ZLWSD3AVCNFSM6AAAAABKOD6O3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRRGU2DKNRRGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The only real fix we could do for velocity would be to prevent server switching until we get that packet |
If it's caused by switching servers too quickly, I could try adding a small
delay between server switches I guess
…On Wed, Jul 10, 2024, 6:28 PM Shane Freeder ***@***.***> wrote:
The only real fix we could do for velocity would be to prevent server
switching until we get that packet
—
Reply to this email directly, view it on GitHub
<#1373 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCS4PZNO4ZH4ZAGHII7KBDZLW7TLAVCNFSM6AAAAABKOD6O3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRRGY4TSOJXGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Adding a 3 second delay before transferring the player to the main server fixed the issue. Need to make sure they are actually fully connected to the hub main server before you transition them with the delay. |
Do you know specifically what packet this is? I'm thinking of deferring my redirects until I receive it as I'm experiencing this issue |
The mojang name of the packet is in the error, don't recall off the top of my head what we call that packet |
timeout.(3000ms) is literally all I added to my queue plugin
…On Mon, Aug 26, 2024, 9:13 PM Little_100 ***@***.***> wrote:
Adding a 3 second delay before transferring the player to the main server
fixed the issue. Need to make sure they are actually fully connected to the
hub main server before you transition them with the delay.在将玩家转移到主服务器之前添加 3
秒的延迟修复了该问题。在延迟转换它们之前,需要确保它们实际上完全连接到中心主服务器。
May I ask how you did it specifically? I'm not very familiar with
Velocity. Can you tell me? I've also encountered this problem
—
Reply to this email directly, view it on GitHub
<#1373 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCS4P5BZYSU5ZMG7KLWJUDZTP4E7AVCNFSM6AAAAABKOD6O3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJRGUZTGNJZHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Expected Behavior
I'm trying to connect my Velocity server which redirects me to my prison server but keep getting kicked for this error
Actual Behavior
I get kicked for the error in the title
full error:
disconnect-2024-07-06_00.12.57-client.txt
Steps to Reproduce
I'm trying to connect to a 1.20.4 server with 1.20.1 which was working fine but as time has gone on, I've only gotten this kick error message more often...maybe It's viaverison? but im not really sure
Plugin List
Plugins: anarchyqueue, litebans, luckperms, viaversion, viabackwards, viarewind
Velocity Version
Velocity 3.3.0-SNAPSHOT (git-9d25d309-b400)
Additional Information
No response
The text was updated successfully, but these errors were encountered: