[Help]Socket Closed

Discussion in 'Bukkit Help' started by HadrienM, Jun 13, 2011.

Thread Status:
Not open for further replies.
  1. Offline



    i've a problem, all my players are disconnected frequently, idk why. Here's a part of log :

    18:22:00 [INFO] Connection reset
    18:22:00 [GRAVE] java.net.SocketException: Socket closed
    18:22:00 [GRAVE]        at java.net.SocketOutputStream.socketWrite(Unknown Source)
    18:22:00 [GRAVE]        at java.net.SocketOutputStream.write(Unknown Source)
    18:22:00 [INFO] spidi-nina lost connection: disconnect.quitting
    18:22:00 [GRAVE]        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    18:22:00 [GRAVE]        at java.io.BufferedOutputStream.flush(Unknown Source)
    18:22:00 [GRAVE]        at java.io.DataOutputStream.flush(Unknown Source)
    18:22:00 [GRAVE]        at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    18:22:02 [INFO] spidi-nina [/] logged in with entity id 13255781 at ([ LaForteresse] 193.7282071109863, 63.0, -31.731849607512437)
    18:22:05 [INFO] ThomasClement used command "/tpo drak"
    18:22:05 [INFO] º9[PLAYER_COMMAND] ThomasClement: /tpo drak
    18:22:14 [INFO] Connection reset
    18:22:14 [INFO] spidi-nina lost connection: disconnect.quitting
    18:22:14 [GRAVE] java.net.SocketException: Socket closed
    18:22:14 [GRAVE]        at java.net.SocketOutputStream.socketWrite(Unknown Source)
    18:22:14 [GRAVE]        at java.net.SocketOutputStream.write(Unknown Source)
    18:22:14 [GRAVE]        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    18:22:14 [GRAVE]        at java.io.BufferedOutputStream.flush(Unknown Source)
    18:22:14 [GRAVE]        at java.io.DataOutputStream.flush(Unknown Source)
    18:22:14 [GRAVE]        at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    18:22:15 [INFO] spidi-nina [/] logged in with entity id 13290850 at ([ LaForteresse] 193.7282071109863, 63.0, -31.731849607512437)
    18:22:20 [INFO] Connection reset
    18:22:20 [GRAVE] java.net.SocketException: Socket closed
    18:22:20 [GRAVE]        at java.net.SocketOutputStream.socketWrite(Unknown Source)
    18:22:20 [GRAVE]        at java.net.SocketOutputStream.write(Unknown Source)
    18:22:20 [GRAVE]        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    18:22:20 [GRAVE]        at java.io.BufferedOutputStream.flush(Unknown Source)
    18:22:20 [GRAVE]        at java.io.DataOutputStream.flush(Unknown Source)
    18:22:20 [GRAVE]        at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    18:22:20 [INFO] ThomasClement lost connection: disconnect.quitting
    18:22:22 [INFO] ThomasClement [/] logged in with entity id 13308101 at ([ LaForteresse] 370.5, 96.5499999821186, -1230.5)
    18:22:24 [INFO] spidi-nina used command "/home"
    18:22:24 [INFO] º9[PLAYER_COMMAND] spidi-nina: /home
    18:22:31 [GRAVE] java.net.SocketException: Socket closed
    18:22:31 [GRAVE]        at java.net.SocketOutputStream.socketWrite(Unknown Source)
    18:22:31 [GRAVE]        at java.net.SocketOutputStream.write(Unknown Source)
    18:22:31 [GRAVE]        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    18:22:31 [GRAVE]        at java.io.BufferedOutputStream.flush(Unknown Source)
    18:22:31 [GRAVE]        at java.io.DataOutputStream.flush(Unknown Source)
    18:22:31 [GRAVE]        at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    18:22:31 [INFO] Connection reset
    18:22:31 [INFO] ThomasClement lost connection: disconnect.quitting
    18:23:07 [GRAVE] java.net.SocketException: Socket closed
    18:23:07 [GRAVE]        at java.net.SocketOutputStream.socketWrite(Unknown Source)
    18:23:07 [GRAVE]        at java.net.SocketOutputStream.write(Unknown Source)
    18:23:07 [GRAVE]        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    18:23:07 [GRAVE]        at java.io.BufferedOutputStream.flush(Unknown Source)
    18:23:07 [GRAVE]        at java.io.DataOutputStream.flush(Unknown Source)
    18:23:07 [GRAVE]        at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    18:23:07 [INFO] spidi-nina lost connection: disconnect.endOfStream
    18:23:11 [INFO] spidi-nina [/] logged in with entity id 13435951 at ([ LaForteresse] 196.50554964185258, 63.0, -29.545560342273784)
    18:23:56 [INFO] Connection reset
    18:23:56 [GRAVE] java.net.SocketException: Socket closed
    18:23:56 [GRAVE]        at java.net.SocketOutputStream.socketWrite(Unknown Source)
    18:23:56 [GRAVE]        at java.net.SocketOutputStream.write(Unknown Source)
    18:23:56 [GRAVE]        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    18:23:56 [GRAVE]        at java.io.BufferedOutputStream.flush(Unknown Source)
    18:23:56 [GRAVE]        at java.io.DataOutputStream.flush(Unknown Source)
    18:23:56 [GRAVE]        at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    18:23:56 [INFO] spidi-nina lost connection: disconnect.quitting
    I've always the error "socket closed", why ?
  2. Offline


    Well a Socket Error has to do with a connection being forcibly rejected. Not sure if thats the same as a Socket Exception or Socket Closed.

    Are you running your server on your own PC, using Hamachi, or some other server hosting thats not your own pc?
  3. Offline


    Own PC, via no-ip.org
  4. Offline


    Im having the same problem also i run my minecraft server via hamachi and my server gets the socket exception error and he lags out but im still in the game with no lag at all any idea?
  5. Offline


    Same. But i'm not on Hamachi.
  6. Offline


    I get a very similar error, running craftbukkit [860] on Mac OS 10.6, check it out:

    20:07:05 [INFO] Read timed out
    20:07:05 [SEVERE] java.net.SocketException: Socket closed
    20:07:05 [SEVERE]     at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
    20:07:05 [SEVERE]     at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    20:07:05 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    20:07:05 [SEVERE]     at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    20:07:05 [SEVERE]     at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    20:07:05 [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    20:07:05 [INFO] cowbot93 lost connection: disconnect.endOfStream
    20:07:20 [INFO] carapace2e lost connection: disconnect.endOfStream
  7. Offline


    I have a dedicated VPS server and we get the same error every now and then. No idea.
  8. Offline


    I get it ALL THE TIME. Maybe it's the Netgear WGT624 v3 I'm using...
  9. Offline


    One of my friends can only stay on the server from 2-30 minutes before he's disconnected by this error:

    21:57:30 [INFO] Read timed out
    2011-06-15 21:57:30 [SEVERE] java.net.SocketException: Socket closed
    2011-06-15 21:57:30 [SEVERE]     at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-06-15 21:57:30 [SEVERE]     at java.net.SocketOutputStream.write(Unknown Source)
    2011-06-15 21:57:30 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2011-06-15 21:57:30 [SEVERE]     at java.io.BufferedOutputStream.flush(Unknown Source)
    2011-06-15 21:57:30 [SEVERE]     at java.io.DataOutputStream.flush(Unknown Source)
    2011-06-15 21:57:30 [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    2011-06-15 21:57:30 [INFO] Keithmoo lost connection: disconnect.endOfStream
    It seems that I have the same problem as you guys do, only most of the errors are from unknown sources. I'm running the server from my desktop, and I'm playing from a separate computer on the same network.
  10. Offline


    Was told this is a common error its to do with Minecraft beta not Bukkit.
  11. Offline


    If it was a common error, it would've been fixed, because a forcibly closed socket causing disconnects is a big problem. The same error can occur just after someone disconnects, but only if the don't click "disconnect" upon quitting.
  12. Offline


    I see i'm not the only one having this problem...
  13. Offline


    Yeah I think a lot of people hosting from home or as an amateur are having this problem.
  14. Offline


    I've been hosting sense mc was out. I get this ERROR alot and my players get a little annoyed by it.
  15. Offline


    Help! Please
  16. Offline


  17. Offline


    i'm getting the same on mine. i'm running the server on a local network, but out of 3 computers only one gets this error the other 2 work just fine.

    I think i fixed this on mine, this is how, out of my 3 computers 2 had the same java on them and the computer that had the problem had an old java. so i updated it to the same java as the host computer and it seems that it fixed it for now have to test it some more.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  18. Offline


    I get this error with only one player of my server. I'm on b860 and no-hamachi ...

    The concerned player is getting THIS error --->> java.net.socketexception:software caused connection abort: recv failed
  19. Offline


    this is the EXACT same error as me, even the scorcefile:116, and then a person is disconnected! im using hamatchi. i also experience no lag, while others do. it increases the more people that get on. im playing on the same comp as the server. my computer can handle it. even with 5 people including me on the same computer, im running at less than 50% ram and cpu. i have the server set at 7GB ram out of my 12GB. i thought it might be my internet upload speed, since it wasnt effecting me, but now i think it might be this [SEVERE] error
  20. Offline


    Nope, I've been running this on a dedicated server for quite a while now. I have quite a bit of experience in java and server administration. I haven't been able to fix this for one of my donators yet. =/

    See now that seems like more of an internet bottleneck than a RAM bottleneck if the server is on your computer. Do a speed test and if your upload speed isn't faster than 3Mbps, I wouldn't suggest that you have more than 5 players on the server at the same time.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  21. Offline


    The strange thing is i use an external host with 10 mb/s ... so why connection closed? randomly many times sequentially. For like 6-8 hours no issues and then start to crash 4-5 times then no issues again.

    Any solution? Any idea?
  22. Offline


    I'm getting this exact same error and I've never had it before using CraftBukkit in the past. Is there a proper solution to this?
  23. Offline


    No? :(
  24. Offline


  25. Offline


    So, no solution?
  26. Offline


    Try updating your Java, Network drivers and disabling Firewall
  27. Offline


    Well I think I might be of help, this error from all of your points of view is happening with certain players. I am having this same error and after some tests determined that it was only one player. Now I am not sure if it is the issue that they don't have the latest java or that they close the game without disconnecting. As far as I am concerned it takes the whole server with it on mine. The one solution I can see is banning the person since I do not know them personally, or just ask them if they often close the game without disconnecting and if yes tell them not to, or just ask them to update java.
  28. This error usually happens when you run the game on 32-bit java on an 64-bit machine.
    This means that those of you running the cracked version are screwed :p (You others should just run it with 64-bit :))
  29. Offline

    Chris Schwing

    I"m getting the same errors when i'm running the server on a separate computer, with fully updated java on 64-bit and it is only me connecting to the server from another machine.
    So there has got to be something else causing these.
Thread Status:
Not open for further replies.

Share This Page