gate icon indicating copy to clipboard operation
gate copied to clipboard

bug: 1.7.x login fails due to byte array length

Open incrementing opened this issue 11 months ago • 3 comments

1.7.x clients are unable to connect using gate - Cannot write byte array longer than 127 (got 162 bytes)

It looks like the issue starts at l.conn.WritePacket(request) in session_client_initial_login.go but is ultimately coming from WriteBytes17

Gate Config: Default, running gate after cloning the repo.

incrementing avatar May 13 '25 17:05 incrementing

On there website they tell you that everything from 1.8.x works

Image

FlorianLang06 avatar May 15 '25 17:05 FlorianLang06

If you can create a PR fix that would be great and I’ll accept it.

robinbraemer avatar May 16 '25 05:05 robinbraemer

On there website they tell you that everything from 1.8.x works

Image

https://gate.minekube.com/guide/compatibility.html#server-compatibility lists support for 1.7.2+ and the code references 1.7.x multiple times, not sure if support was dropped at some point?

incrementing avatar May 17 '25 02:05 incrementing

I don't think support was "dropped" but those old versions aren't the main focus. There are other issues with older versions as well (eg. #548 ). Maybe those versions aren't tested because it's not "that important".

NaymDev avatar Jul 28 '25 12:07 NaymDev