Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Weird disconnect error with authlib-injector #353

Open
3 tasks done
HowardZHY opened this issue Feb 20, 2022 · 3 comments
Open
3 tasks done

Weird disconnect error with authlib-injector #353

HowardZHY opened this issue Feb 20, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@HowardZHY
Copy link

Observed Behavior

Same issue yushijinhun/authlib-injector#147
When I tried to use authlib-injector on Nacho , my 1.8.9 client had a bad packet id {weird number like xxxxx or -xxxxxxxx} disconnect and there's no error log , only
[12:18:48] [LoginProcessingThread/INFO]: Disconnecting com.mojang.authlib.GameProfile@b1fdcdaa[id=,name=HowardZHY,properties={},legacy=false] (/127.0.0.1:50505): Error occured while logging in
[12:18:48] [Server thread/INFO]: com.mojang.authlib.GameProfile@b1fdcdaa[id=,name=HowardZHY,properties={},legacy=false] (/127.0.0.1:50505) lost connection: Error occured while logging in
[12:18:55] [LoginProcessingThread/INFO]: Disconnecting com.mojang.authlib.GameProfile@b1fdcdaa[id=,name=HowardZHY,properties={},legacy=false] (/127.0.0.1:50522): Error occured while logging in
[12:18:55] [Server thread/INFO]: com.mojang.authlib.GameProfile@b1fdcdaa[id=,name=HowardZHY,properties={},legacy=false] (/127.0.0.1:50522) lost connection: Error occured while logging in
when everytime I tried to log in.

Expected Behavior

Authlib-injector works on Burrito , it should works on Nacho too.

Steps To Reproduce

"C:\Program Files\Java\jdk1.8.0_311\bin\java.exe" -javaagent:authlib-injector.jar=https://mcskin.cn/api/yggdrasil -Xmx3600M -Xms3072M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:+AggressiveOpts -Dlog4j2.formatMsgNoLookups=true -jar NachoSpigot.jar
Enter with any client , then disconnect.

Plugin List

No response

Server Version

This server is running NachoSpigot version git-NachoSpigot-"3f69c24" (MC: 1.8.8) (Implementing API version 1.8.8-R0.2-SNAPSHOT)

Other

No response

Agreements

  • You were able to find this issue on the latest version of NachoSpigot.
  • You have confirmed that there aren’t any issues open regarding this bug.
  • You have confirmed that you are NOT using a fork of NachoSpigot in any way. YOUR changes are not OUR faults.
@HowardZHY HowardZHY added the bug Something isn't working label Feb 20, 2022
@HowardZHY
Copy link
Author

image

@sadcenter
Copy link
Contributor

authlib wasn't touched in the nacho, isn't it authlib-injector fault?

@HowardZHY
Copy link
Author

authlib wasn't touched in the nacho, isn't it authlib-injector fault?

Authlib-injector works well on Burrito.
Someting breaks handshake (might see https://github.com/Bukkit/mc-dev/blob/master/net/minecraft/server/PacketSplitter.java )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants