[Extremely Annoying] Socket Reset by peer: socket write error

Discussion in 'Bukkit Help' started by mxms, Sep 9, 2011.

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

    mxms

    So this has been going on for a few days. I've tried different plugin versions and different bukkit versions (originally 1060, but I switched to 1089 for shits and giggles and still having the same problem) , but I keep getting the following error:

    Code:
    04:49 PM [SEVERE] java.net.SocketException: Connection reset by peer: socket write error
    04:49 PM [INFO] Connection reset
    04:49 PM [SEVERE]     at java.net.SocketOutputStream.socketWrite0(Native Method)
    04:49 PM [SEVERE]     at java.net.SocketOutputStream.socketWrite(Unknown Source)
    04:49 PM [SEVERE]     at java.net.SocketOutputStream.write(Unknown Source)
    04:49 PM [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    04:49 PM [SEVERE]     at java.io.BufferedOutputStream.flush(Unknown Source)
    04:49 PM [SEVERE]     at java.io.DataOutputStream.flush(Unknown Source)
    04:49 PM [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    04:49 PM [SEVERE] java.net.SocketException: Connection reset by peer: socket write error
    04:49 PM [SEVERE]     at java.net.SocketOutputStream.socketWrite0(Native Method)
    04:49 PM [SEVERE]     at java.net.SocketOutputStream.socketWrite(Unknown Source)
    04:49 PM [SEVERE]     at java.net.SocketOutputStream.write(Unknown Source)
    04:49 PM [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    04:49 PM [SEVERE]     at java.io.BufferedOutputStream.flush(Unknown Source)
    04:49 PM [SEVERE]     at java.io.DataOutputStream.flush(Unknown Source)
    04:49 PM [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    04:49 PM [INFO] *Playername* lost connection: disconnect.endOfStream 
    This seems to happen about once an hour, and is really really annoying... it doesn't give any indication where or what is causing it. The server itself runs absolutely perfect, no lag, no other errors to speak of. So with this happening about once an hour it gets aggravating. The server also continues on just fine too, it never crashes and the player who was disconnected can come back in and will be good to go for about another hour (though it's never exactly an hour, just randomly some point after 40-60 minutes).

    Here's a list of the plugins I'm currently using, all are up to date...

    Code:
    CommandBook
    DeathNotifier*
    MineBackup*
    MyHome
    MyWarp
    Pail*
    SimplyColours*
    Tombstone*
    WorldEdit
    WorldGuard
    
    * - These plugs were added AFTER I was already experiencing the issues, so I don't suspect them.

    And what the server is running on:

    Code:
    Windows 7 64bit
    Intel Core i5
    6GB RAM
    Latest Java 7 (64bit)
    CraftBukkit 1089
    
    I should also note that it isn't just one player experiencing this issue, me and 3 others were as well. I left my game open on my PC (the server is being hosted on another PC but on the same connection) and I was disconnected with the End of Stream error just standing their AFK.

    Is there anything I can do? Any help would be greatly appreciated. I can usually track the problem down if the console gives me a good idea of what plugin is causing what, but this one is a total mystery and seems to be happening from nowhere.

    Bump.

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

    Supersam654

    Try going back to the latest recommended build of craftbukkit (1060). Also, go back to Java 6. I know that Java 7 is no longer beta, but I have seen some weird minecraft/bukkit problems related to Java 7 that aren't really explainable (like this).
     
  3. Offline

    mxms

    Sorry for the lack of response, I've been testing some things and it required a few days to make sure it works. But I THINK I solved my problem, and I'll post it for future people searching via Google (like I tried lol).

    All I did was reinstall Java 7... it works... I don't know why. The server I'm running on was a fresh install of Windows 7 and a fresh install of Java 7. Nothing should have got messed up, but apparently it did. I removed Java 7, ran CCleaner, installed Java 7 again, rebooted and it's been about 3 days and no error messages.

    So, if others are frustrated by this try reinstalling Java even if it doesn't make sense to do it. Your suggestion of downgrading to Java 6 isn't a bad one either, but I like to stay current. :p
     
Thread Status:
Not open for further replies.

Share This Page