Affects Version/s: Minecraft 1.8.7
Fix Version/s: Minecraft 1.10.2
Environment:OS X 10.10 Yosemite, possibly others
I noticed that sometimes, when I tried to connect to my Minecraft server via rcon, the connection failed. After getting the same problem a few times I began to test and tried to pinpoint what was different when it works and when it does not.
I wrote a simple script to start the server and stop it via a rcon connection. After some time and a seemingly random number of succeeding iterations of this script, the rcon connection fails. I then checked the Minecraft startup log (attached): everything normal.
Then I checked if the Minecraft server process was listening on the rcon port, but "lsof -i:25575" showed me no process listening on that port, although the server log says it is.
I can reproduce this with different ports on two different machines running OS X. The same script is running on my Ubuntu Server at the moment, so far I am at 1000 iterations and counting (1000 starts and stops via rcon) without any issues. So this seems to be OS X specific.
Since there is no error in the log, the Minecraft server does not seem to realise that the start of the rcon service failed.