I'm hoping someone on here can help me out, because I cannot figure this out. I was on my local server earlier, and everything was fine. My client was in a background window and suddenly disconnected and crashed.
After restarting, I couldn't connect to the server, but I can create and enter single player games. When I start the server, and watch both the GUI and the console, it loads all the mods and I get the Done! message.
That's when it gets weird. The Memory Use amount continues to fluctuate, but the display of all the tick times in the GUI freezes, at whatever value they were at when the Done! message displayed.
When I look at the console, I see this, and this is without any clients trying to connect:
2014-03-12 17:45:50 [INFO] [STDERR] java.net.SocketTimeoutException: connect timed out
2014-03-12 17:45:50 [INFO] [STDERR] at java.net.PlainSocketImpl.socketConnect(Native Method)
2014-03-12 17:45:50 [INFO] [STDERR] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
2014-03-12 17:45:50 [INFO] [STDERR] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
2014-03-12 17:45:50 [INFO] [STDERR] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
2014-03-12 17:45:50 [INFO] [STDERR] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
2014-03-12 17:45:50 [INFO] [STDERR] at java.net.Socket.connect(Socket.java:579)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.www.http.HttpClient.New(HttpClient.java:308)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.www.http.HttpClient.New(HttpClient.java:326)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850)
2014-03-12 17:45:50 [INFO] [STDERR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
2014-03-12 17:45:50 [INFO] [STDERR] at hats.common.thread.ThreadGetContributors.run(ThreadGetContributors.java:57)
2014-03-12 17:45:50 [INFO] [Hats] [2.1.1] Loaded 64 contributor hats
I've tried connecting to localhost, my private 10. address, and had a friend try using the public address. I get the same result every time. I can't even issue a stop command to the server. I type stop in the GUI, hit Enter, the word stop vanishes, and nothing happens.
It's as if it's waiting for something, but I have no idea what. This is driving me insane, because it was just working. I didn't change anything on the server, and I wasn't even doing anything in-game; I was just parked in my house while I had the client window in the background.
I'm not sure if it's relevant, but when I did a Ctrl+C in the terminal window to stop the server, it spit this out, which I hadn't seen before. I highlighted one line in red, because it seems to be the only clue to what the server might be trying to do.
^C2014-03-12 18:14:47 [INFO] [Minecraft-Server] Stopping server
2014-03-12 18:14:47 [INFO] [Minecraft-Server] Saving players
2014-03-12 18:14:47 [INFO] [STDERR] java.net.SocketException: Socket closed
2014-03-12 18:14:47 [INFO] [STDERR] at java.net.PlainSocketImpl.socketAccept(Native Method)
2014-03-12 18:14:47 [INFO] [Minecraft-Server] Saving worlds
2014-03-12 18:14:47 [INFO] [STDERR] at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
2014-03-12 18:14:47 [INFO] [STDERR] at java.net.ServerSocket.implAccept(ServerSocket.java:530)
2014-03-12 18:14:47 [INFO] [STDERR] at java.net.ServerSocket.accept(ServerSocket.java:498)
2014-03-12 18:14:47 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:80)
2014-03-12 18:14:47 [INFO] [Minecraft-Server] Saving chunks for level 'GrayDoor'/Overworld
[color=#ff0000]2014-03-12 18:14:47 [INFO] [STDERR] Exception in thread "Listen thread" java.lang.Error: Interrupted attempt to aquire write lock[/color]
2014-03-12 18:14:47 [INFO] [STDERR] at javax.swing.text.AbstractDocument.writeLock(AbstractDocument.java:1349)
2014-03-12 18:14:47 [INFO] [STDERR] at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:702)
2014-03-12 18:14:47 [INFO] [STDERR] at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
2014-03-12 18:14:47 [INFO] [STDERR] at javax.swing.JTextArea.append(JTextArea.java:477)
2014-03-12 18:14:47 [INFO] [STDERR] at net.minecraft.server.gui.TextAreaLogHandler.publish(SourceFile:51)
2014-03-12 18:14:47 [INFO] [STDERR] at java.util.logging.Logger.log(Logger.java:610)
2014-03-12 18:14:47 [INFO] [STDERR] at java.util.logging.Logger.doLog(Logger.java:631)
2014-03-12 18:14:47 [INFO] [STDERR] at java.util.logging.Logger.log(Logger.java:654)
2014-03-12 18:14:47 [INFO] [STDERR] at net.minecraft.logging.LogAgent.func_98233_a(LogAgent.java:59)
2014-03-12 18:14:47 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:90)
logout
Like I said before, it was after a client crash that the server problem started, and now continues even if no one tries to connect to it. Just for reference, here is the crash report from the client: http://pastebin.com/9JT4gjGt
I've been scouring the internet at every opportunity, trying to find a solution, but I've got nothing. I suspect when the client crashed it may have corrupted something in the server files. Unfortunately, both my local and online backup systems failed me, and neither has a current version of the server folder more recent than December.
It is probably a problem with a mod or something. Just go through and remove one at a time and see what happens.
After some digging around, it turns out my online backup did save my server folder after all, and I was able to restore to just a few minutes before the crash. Everything is working; life may now continue.
I've never been so happy to see "Can't keep up" messages.
After restarting, I couldn't connect to the server, but I can create and enter single player games. When I start the server, and watch both the GUI and the console, it loads all the mods and I get the Done! message.
That's when it gets weird. The Memory Use amount continues to fluctuate, but the display of all the tick times in the GUI freezes, at whatever value they were at when the Done! message displayed.
When I look at the console, I see this, and this is without any clients trying to connect:
I've tried connecting to localhost, my private 10. address, and had a friend try using the public address. I get the same result every time. I can't even issue a stop command to the server. I type stop in the GUI, hit Enter, the word stop vanishes, and nothing happens.
It's as if it's waiting for something, but I have no idea what. This is driving me insane, because it was just working. I didn't change anything on the server, and I wasn't even doing anything in-game; I was just parked in my house while I had the client window in the background.
Any help is greatly appreciated!
Lots of mods
Normally I wouldn't do that, but the server wasn't responding to anything else, which is why I tried it.
Like I said before, it was after a client crash that the server problem started, and now continues even if no one tries to connect to it. Just for reference, here is the crash report from the client: http://pastebin.com/9JT4gjGt
I've been scouring the internet at every opportunity, trying to find a solution, but I've got nothing. I suspect when the client crashed it may have corrupted something in the server files. Unfortunately, both my local and online backup systems failed me, and neither has a current version of the server folder more recent than December.
It's certainly worth a try. I'll get started after work. Thanks!
After some digging around, it turns out my online backup did save my server folder after all, and I was able to restore to just a few minutes before the crash. Everything is working; life may now continue.
I've never been so happy to see "Can't keep up" messages.
Thanks for the help, though.