-
Notifications
You must be signed in to change notification settings - Fork 11
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
Disconnect Error #40
Comments
Turns out it's not directly due to the minecraft-protcol version but rather the node version and minecraft-protcol doesnt support the latest yet. A fix for this was implemented here: I will mark this as closed as this will need to be fixed in minecraft-protocol |
@covyy can you confirm PrismarineJS/node-minecraft-protocol#1319 works? It's been blocked waiting for someone to test. |
Approved it but I don't have write access so I think its still blocked no? |
Have you actually tested it to work in-game? |
Yes, works. |
I used the example code from the repo.
Connecting to the proxy kicks the client with a "Disconnect" error.
This is because the minecraft-protocol module is not up to date, which uses a deprecated method in
node_modules/minecraft-protocol/src/server/login.js
at
const decryptedToken = crypto.privateDecrypt({...
which throws the following error:
Error during decryption: TypeError: RSA_PKCS1_PADDING is no longer supported for private decryption, this can be reverted with --security-revert=CVE-2023-46809
The text was updated successfully, but these errors were encountered: