xmamo / VanillaVotifier

Votifier plugin, but for Minecraft vanilla!
https://mamo.dev/vanillavotifier
Other
17 stars 8 forks source link

Vanilla Votifier-Pterodactyl: Unexpected exception while sending RCon command: #39

Open HanosThePlacid opened 1 year ago

HanosThePlacid commented 1 year ago

I'm trying to set up a Minecraft server and VanillaVotifier with Pterodactyl. But I keep getting this error. Me being pretty helpless I thought I would ask here.

Unexpected exception while sending RCon command: java.net.SocketException: Connection reset at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966) at java.base/java.io.InputStream.read(InputStream.java:218) at mamo.vanillaVotifier.RconConnection.sendRequest(RconConnection.java:106) at mamo.vanillaVotifier.RconConnection.logIn(RconConnection.java:67) at mamo.vanillaVotifier.RconCommandSender.logIn(RconCommandSender.java:46) at mamo.vanillaVotifier.RconCommandSender.sendCommand(RconCommandSender.java:61) at mamo.vanillaVotifier.VotifierServer$1$1.run(VotifierServer.java:115) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) [16:41:58] Sending RCon command to 192.168.0.180:25560: scoreboard players add Henosz v_rcont 1 [16:41:58] Unexpected exception while sending RCon command: java.net.SocketException: Connection reset at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966) at java.base/java.io.InputStream.read(InputStream.java:218) at mamo.vanillaVotifier.RconConnection.sendRequest(RconConnection.java:106) at mamo.vanillaVotifier.RconConnection.logIn(RconConnection.java:67) at mamo.vanillaVotifier.RconCommandSender.logIn(RconCommandSender.java:46) at mamo.vanillaVotifier.RconCommandSender.logIn(RconCommandSender.java:50) at mamo.vanillaVotifier.RconCommandSender.sendCommand(RconCommandSender.java:61) at mamo.vanillaVotifier.VotifierServer$1$1.run(VotifierServer.java:115) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) [16:41:58] Sending shell command: test -x onvote.sh && ./onvote.sh [16:41:58] Shell command sent.