-
Notifications
You must be signed in to change notification settings - Fork 8
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
Decryption Error #3
Comments
Thank you for reporting this issue. I will see what I can do :) |
I have to say I really don't know what is causing this. Now another one reported the same bug. I'll try do see if this also happens in v. 2.0 which I uploaded today. |
I closed this because we found the issue. It has to do with the public key not matching the mcsl public key. I struggled with this for a couple of hours before submitting the ticket. My son came back with his pc and copied the same key into mcsl and it somehow worked for him. Not sure what the difference was but his copy method worked and mine didn't. We were using the same keys but it just didnt work when I did it but it did when he did it. That is the only thing we did to get it to work. It has worked flawlessly since. Thanks! And good luck. Ps. Need to put manual on your github site. It would help. |
Thanks for describing the problem so well. I now replaced that ugly exception with a far more readable error message. I also added a link to the manual in the readme :) I'll copy it here: https://raw.githubusercontent.com/VirtualDragon/VanillaVotifier/master/src/main/resources/co/virtualdragon/vanillaVotifier/impl/lang/manual.txt. |
Hello,
First let me say thank you for this app. We have been using it for some time now and like it. we have recently we began having problems of people not getting there rewards. We have take the following steps to fix this.
Regened keys
updated mcsl with public key
tested with testmsg and testvote both appear to work
went to www.minestatus.net/votifier/test and did that with successful results.
we get this message when a player votes.
I am at a loss as to further direction to fix this. Can you shed any light on this problem?
[INFO] /104.200.31.26:49050 established a connection.
[WARNING] Unexpected exception while decrypting client request: Decryption error
javax.crypto.BadPaddingException: Decryption error
at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:389)
at javax.crypto.Cipher.doFinal(Cipher.java:2165)
at com.mamoslab.vanillaVotifier.handlers.ConnectionHandler$1.run(ConnectionHandler.java:127)
at java.lang.Thread.run(Thread.java:745)
The text was updated successfully, but these errors were encountered: