minekube / gate

High-Performance, Low-Memory, Lightweight, Extensible Minecraft Reverse Proxy with Excellent Multi-Protocol Version Support - Velocity/Bungee Replacement - Ready for dev and large deploy!
https://gate.minekube.com
Apache License 2.0
620 stars 49 forks source link

Instant disconnect message when joining with 1.14.4 #131

Closed luiz-otavio closed 1 year ago

luiz-otavio commented 1 year ago

Seems like when I try to join with the 1.14.4 version in the proxy, the client instatanealy disconnects after getting SetCompression packet.

robinbraemer commented 1 year ago

Can you show it with debug log enabled using -d flag?

luiz-otavio commented 1 year ago

Can you show it with debug log enabled using -d flag?

Sure. I'll do it right now.

luiz-otavio commented 1 year ago
2023-01-06T22:20:29.154-0300    INFO    gate/root.go:93 logging verbosity       {"verbosity": 127}
2023-01-06T22:20:29.177-0300    INFO    gate/root.go:94 using config file       {"config": "C:\\Users\\luizf\\OneDrive\\Área de Trabalho\\gate\\config.yml"}
2023-01-06T22:20:29.178-0300    INFO    config  gate/gate.go:217        config validation warn  {"warn": "java: Proxy is running in offline mode!"}
2023-01-06T22:20:29.178-0300    INFO    config  gate/gate.go:217        config validation warn  {"warn": "java: Antibot is disabled, but proxy is running in offline mode! It is recommended to enable antibot in offline mode."}
2023-01-06T22:20:29.206-0300    INFO    java    proxy/proxy.go:306      Using favicon from data uri     {"length": 3086}
2023-01-06T22:20:29.207-0300    INFO    java    proxy/proxy.go:238      registering servers...  {"count": 1}
2023-01-06T22:20:29.207-0300    INFO    java    proxy/proxy.go:419      registered new server   {"name": "server1", "addr": "localhost:25566"}
2023-01-06T22:20:29.207-0300    INFO    java    proxy/proxy.go:156      running in debug mode
2023-01-06T22:20:29.208-0300    INFO    java    proxy/proxy.go:479      listening for connections       {"addr": "0.0.0.0:25565"}
2023-01-06T22:20:35.065-0300    LEVEL(-2)       java.client.decoder     codec/decoder.go:96     decoded packet  {"context": "PacketContext:direction=ServerBound,Protocol=4,KnownPacket=true,PacketID=0,PacketType=*packet.Handshake,Payloadlen=16"}
2023-01-06T22:20:35.066-0300    LEVEL(-2)       java.client.decoder     codec/decoder.go:96     decoded packet  {"context": "PacketContext:direction=ServerBound,Protocol=4,KnownPacket=true,PacketID=0,PacketType=*packet.ServerLogin,Payloadlen=11"}
2023-01-06T22:20:35.066-0300    INFO    java.client.authSession proxy/session_auth.go:85        player has connected, completing login  {"player": "WizardBR_", "id": "182b529e-5acb-3f93-9785-624838ba81a1"}
2023-01-06T22:20:35.066-0300    INFO    java.client.authSession proxy/session_auth.go:107       setting compression threshold   {"threshold": 256}

Also, I'm running it in Windows amd64 dist.

luiz-otavio commented 1 year ago

2023-01-06T22:20:29.178-0300 INFO config gate/gate.go:217 config validation warn {"warn": "java: Antibot is disabled, but proxy is running in offline mode! It is recommended to enable antibot in offline mode."}

I'm adding this feature for my gate fork, but don't worry, it doesn't change anything from auth session.

robinbraemer commented 1 year ago

Does Gate not recognize the disconnect? It's not in the logs.

luiz-otavio commented 1 year ago

Does Gate not recognize the disconnect? It's not in the logs.

Seems like it doesn't.

robinbraemer commented 1 year ago

Can you try a basic setup and fresh install of Gate without any of your customization?

robinbraemer commented 1 year ago
robinbraemer commented 1 year ago

Closing due to missing information, please reopen if this issue still persists after updating everything.