mojira.dev
MC-91

java.net.SocketException: Socket closed - On Server Shutdown

This error occurs on shutdown (stop) on both Windows and CentOS linux vanilla Minecraft servers. I have noticed it since the 1.4 pre-release. It causes no issues to game play obviously since it only occurs on shutdown.

I am including my start up scripts, command line outputs and server.logs in a single file as an attachment.

Reinstalling Java did not correct the issue on either system.

Related issues

Attachments

Comments

migrated
[media]
Ezekiel

So when you type /stop does this happen? if your not typing /stop, then its not a bug.

Joseph DeArmond

Yes. This occurs when typing stop on both the linux server and windows server as I said above. From within the game and from console.

Ezekiel

Ok, just checking.

Matthew Salsamendi

This will happen if the port is closed without sending the clients a disconnect packet first. This isn't really a bug and can occur naturally if the server isn't shut down fully.

Tails

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Joseph DeArmond

(Unassigned)

Unconfirmed

server

Minecraft 1.4.2

Retrieved