xmamo / VanillaVotifier

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

Unexpected exception while sending RCon command: java.net.SocketException: Broken pipe #19

Closed zedwick closed 8 years ago

zedwick commented 8 years ago

Found no notifications for votes were appearing in game, found the following in the console for every vote cast. A quick stop/start of Vanillavotifier fixed the issue.

`184.73.37.253:47116 established a connection. Received vote query from 184.73.37.253:47116: "VOTE" "Minestatus.net" "Test Notification" "127.0.0.1" "2016-10-22 12:15:31 -0700" Sending RCon command to localhost.localdomain:25565: tellraw @a {"text":" ","color":"darkaqua","extra":[{"text":"Test Notification just voted for us on Minestatus.net! ^^ ","color":"yellow"}]} Unexpected exception while sending RCon command: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:141) at mamo.vanillaVotifier.RconConnection.sendRequest(RconConnection.java:93) at mamo.vanillaVotifier.RconConnection.sendCommand(RconConnection.java:71) at mamo.vanillaVotifier.RconCommandSender.sendCommand(RconCommandSender.java:56) at mamo.vanillaVotifier.VotifierServer$1$1.run(VotifierServer.java:107) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

184.73.37.253:47116 disconnected.`

xmamo commented 8 years ago

Solved (see #20).