1

Installing Votifier on Bungeecord Servers.

SafeCraft's Avatar SafeCraft2/9/14 11:47 am
1 emeralds 1.1k 2
2/9/2014 6:47 pm
SafeCraft's Avatar SafeCraft
I have a Bungeecord server with 8 servers linked to the cord, run in a private box that is hosted by a server provider.

I am attempting to install Votifier on to the servers, but have met with some issues that for the life of me I cant figure out.

The setup of my servers is as follows.

1 bungeecord server (back end)
2 Lobby server with Votifier installed on it, with votes 4 cash listener installed
3-8 Different game servers no votifer installed on these.

The installation of Votifier on the lobby server has the config set up as follows:

host: (external ip of server box)
port: (actual port number of lobby server)
debug: false
listener_folder: plugins/Votifier/listeners

Within PMC I have I have mirrored the details of the host I.P and the Port number, and I have placed the public key in Votifier Public Key box.

When I click on the test votifer connection I get a positive response of:

Successfully connected to votifier on your server.
If you haven't already, don't forget to check "Enable Votifier".

I have ticked the Enable Votifier button, yet whenever I test the connection, despite the positive response on PMC in the console output of my lobby server I get the following error reports.

-----------------------------------------------------------------------------------------------------------
09.02 14:28:53 [Server] INFO at com.vexsoftware.votifier.net.VoteReceiver.run(VoteReceiver.java:130) [Votifier.jar:?]
09.02 14:28:53 [Server] INFO at com.vexsoftware.votifier.crypto.RSA.decrypt(RSA.java:65) ~[Votifier.jar:?]
09.02 14:28:53 [Server] INFO at javax.crypto.Cipher.doFinal(Cipher.java:2087) ~[?:1.7.0_10]
09.02 14:28:53 [Server] INFO at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:382) ~[sunjce_provider.jar:1.7.0_45]
09.02 14:28:53 [Server] INFO at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:356) ~[sunjce_provider.jar:1.7.0_45]
09.02 14:28:53 [Server] INFO at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:272) ~[?:1.7.0_45]
09.02 14:28:53 [Server] INFO at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:328) ~[?:1.7.0_45]
09.02 14:28:53 [Server] INFO javax.crypto.BadPaddingException: Blocktype mismatch: 0
09.02 14:28:53 [Server] WARN matches the one you gave the server list.
09.02 14:28:53 [Server] WARN Unable to decrypt vote record. Make sure that that your public key
-----------------------------------------------------------------------------------------------------------

I have checked the public key and rechecked it, but still this error, and no votes are being received either from PMC.

Once I have resolved this issue I can go on to add vote send so that rewards are moved to other servers, I just need to get this one solved first.

Can anyone tell me where I'm going wrong or what I have to do to rectify this.

Thank you.

EllisWin
Posted by SafeCraft's Avatar
SafeCraft
Level 35 : Artisan Architect
17

Create an account or sign in to comment.

2

1
02/09/2014 6:47 pm
Level 35 : Artisan Architect
SafeCraft
SafeCraft's Avatar
Yes I have Vote Send waiting for when I get Votifier to work properly on just the one server, I have ensured that the port number is not one that is in use on the box at all, and still despite PMC saying it is connecting ok with Votifier I get the following error in the console of the lobby server:

Click to reveal
09.02 23:44:09 [Server] INFO at com.vexsoftware.votifier.net.VoteReceiver.run(VoteReceiver.java:130) [Votifier.jar:?]
09.02 23:44:09 [Server] INFO at com.vexsoftware.votifier.crypto.RSA.decrypt(RSA.java:65) ~[Votifier.jar:?]
09.02 23:44:09 [Server] INFO at javax.crypto.Cipher.doFinal(Cipher.java:2087) ~[?:1.7.0_10]
09.02 23:44:09 [Server] INFO at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:382) ~[sunjce_provider.jar:1.7.0_45]
09.02 23:44:09 [Server] INFO at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:356) ~[sunjce_provider.jar:1.7.0_45]
09.02 23:44:09 [Server] INFO at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:272) ~[?:1.7.0_45]
09.02 23:44:09 [Server] INFO at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:328) ~[?:1.7.0_45]
09.02 23:44:09 [Server] INFO javax.crypto.BadPaddingException: Blocktype mismatch: 0
09.02 23:44:09 [Server] WARN matches the one you gave the server list.
09.02 23:44:09 [Server] WARN Unable to decrypt vote record. Make sure that that your public key


I have checked and can confirm the public key is the same both on the server and on PMC.

Please can anyone shed any light on this for me?
Thanks you.
1
02/09/2014 6:27 pm
Level 34 : Artisan Pokemon
DtigerCSK
DtigerCSK's Avatar
You can try something such as Vote Send

Also, make sure the port isn't the port which the minecraft server itself is running on.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome