1

Huge votifier problem!

Crura 8/7/14 1:10 pm
612
8/9/2014 7:28 pm
Okay so whenever i vote or test vote on a server website it gives me this error in console.


07.08 11:08:33 [Server] INFO at com.vexsoftware.votifier.net.VoteReceiver.run(VoteReceiver.java:130) [Votifier.jar:?]
07.08 11:08:33 [Server] INFO at com.vexsoftware.votifier.crypto.RSA.decrypt(RSA.java:65) ~[Votifier.jar:?]
07.08 11:08:33 [Server] INFO at javax.crypto.Cipher.doFinal(Cipher.java:1922) ~[?:1.7.0_55]
07.08 11:08:33 [Server] INFO at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:382) ~[sunjce_provider.jar:1.7.0_55]
07.08 11:08:33 [Server] INFO at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:356) ~[sunjce_provider.jar:1.7.0_55]
07.08 11:08:33 [Server] INFO at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291) ~[?:1.7.0_55]
07.08 11:08:33 [Server] INFO at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380) ~[?:1.7.0_55]
07.08 11:08:33 [Server] INFO javax.crypto.BadPaddingException: Decryption error
07.08 11:08:33 [Server] WARN matches the one you gave the server list.
07.08 11:08:33 [Server] WARN Unable to decrypt vote record. Make sure that that your public key




This makes it so that when someone on my server votes it does not register.

When i connect it to pmc testing votifer it says it connects.


Please assist me.
Posted by
Crura
Level 1 : New Network
1

  Have something to say?

JoinSign in

13

TheRedHun1
08/09/2014 7:28 pm
Level 9 : Apprentice Network
Do this, delete your private and public key, restart and reload, reset up the connection between the two and make sure you are using the right key.
1
Crura
08/09/2014 12:26 pm
Level 1 : New Network
This still does not solve my problem. LOL
1
nickfromgreece
08/09/2014 12:20 pm
Level 54 : Grandmaster Programmer
Decryption error means that it wasn't able to decrypt the message sent by the website,

Remember you give the website the public key and leave the private one as is.

A classic case of PEBKAC
1
Crura
08/09/2014 12:13 pm
Level 1 : New Network
But when i connect on voting website and test votifer it shows up as connecting to my server. Doesn't that mean im using the correct key?
1
Crura
08/09/2014 11:30 am
Level 1 : New Network
Ga Listener 1.3.1
Votifer 1.9
Im using Spigot 1.7.9
1
TheRedHun1
08/08/2014 10:41 pm
Level 9 : Apprentice Network
What craftbukkit version are you using? Votifier version and galistener version?
1
Crura
08/08/2014 12:51 pm
Level 1 : New Network
Im using GAListener and i made sure the copy paste it good and everything. I get the same error. It is in the plugins folder. The basic answers to this question i have already tried. Its something else.
1
MCPr0Pancakes
08/08/2014 7:04 am
Level 5 : Apprentice Modder
Use GAListener for the listener, throw it in plugins folder not listeners folder
Make sure your port your using isn't taking
8192 is probably taken btw.

If you look here
"07.08 11:08:33 [Server] INFO at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380) ~[?:1.7.0_55]"

It is referring to your RSA folder. if you see that in the files.
Make sure you accidently didnt delete a letter or something when copy/pasting
1
nickfromgreece
08/09/2014 12:09 pm
Level 54 : Grandmaster Programmer
It does what? No RSAPadding.java is one of the classes used to decrypt mesasges encrypted with RSA asymmetric encryption.


07.08 11:08:33 [Server] INFO javax.crypto.BadPaddingException: Decryption error

Looks like your RSA private key might have got reset or you gave the wrong public key to the website.
1
TheRedHun1
08/08/2014 2:38 am
Level 9 : Apprentice Network
What votifier and listener are you using?
1
Crura
08/07/2014 9:41 pm
Level 1 : New Network
It is my public key. everything matches exactly. I dont understand why its giving me this error.
1
TheRedHun1
08/07/2014 4:14 pm
Level 9 : Apprentice Network
You have two voting keys in your votifier, public and private. Change the key you used on the voting site as public and make sure it the exact same key and it is the full key. Basically what the error is saying is that it cannot make out the key that the voting site is sending it which means you get that error every time someone votes. Make sure you also have a listener for the votes on your server so it can give out the rewards.
1
Crura
08/07/2014 2:00 pm
Level 1 : New Network
help me plox
1

Welcome