ProtocolLib

3M Downloads

encryption error spigot 1.17

cicatrice74 opened this issue ยท 1 comments

commented

Hi, i'm using latest spigot dev 1.17 and latest protocollib dev and latest fastlogin dev and latest authme reloaded dev and i'm getting this error, fastlogin's developer said me it was fixed and it was related to protocollib, but i still have this error.

[19:50:24] [FastLogin Pool Thread #1/ERROR]: [FastLogin] Cannot decrypt received contents
java.lang.RuntimeException: Failed to find NMS class: MinecraftEncryption
at com.comphenix.protocol.utility.MinecraftReflection.lambda$getMinecraftClass$1(MinecraftReflection.java:2003) ~[ProtocolLib.jar:4.7.0-SNAPSHOT-b510]
at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?]
at com.comphenix.protocol.utility.MinecraftReflection.getMinecraftClass(MinecraftReflection.java:2003) ~[ProtocolLib.jar:4.7.0-SNAPSHOT-b510]
at com.github.games647.fastlogin.bukkit.listener.protocollib.VerifyResponseTask.enableEncryption(VerifyResponseTask.java:217) [FastLoginBukkit.jar:?]
at com.github.games647.fastlogin.bukkit.listener.protocollib.VerifyResponseTask.verifyResponse(VerifyResponseTask.java:116) [FastLoginBukkit.jar:?]
at com.github.games647.fastlogin.bukkit.listener.protocollib.VerifyResponseTask.run(VerifyResponseTask.java:92) [FastLoginBukkit.jar:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1800) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
[19:50:24] [Server thread/INFO]: /82.56.13.160:49691 lost connection: Disconnected

commented

Duplicate of #1221 - Only FastLogin related.

I said that you need to update the ProtocolLib version to support the new class name changes. What I didn't know is that you have that, which I can see here (~[ProtocolLib.jar:4.7.0-SNAPSHOT-b510]). However I missed that our CI didn't built the new version. So I now released a new FastLogin version on the GitHub page.