Java.net.SocketException: Connection Reset

Discussion in 'Bukkit Help' started by OneUp03, Feb 25, 2011.

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

    OneUp03

    After dieing, my minecraft crashes and each subsequent login crashes. This is the console output:
    Code:
    2011-02-25 18:09:23 [SEVERE] java.net.SocketException: Connection reset
    2011-02-25 18:09:23 [SEVERE] 	at java.net.SocketInputStream.read(Unknown Source)
    2011-02-25 18:09:23 [SEVERE] 	at java.net.SocketInputStream.read(Unknown Source)
    2011-02-25 18:09:23 [SEVERE] 	at java.io.FilterInputStream.read(Unknown Source)
    2011-02-25 18:09:23 [SEVERE] 	at net.minecraft.server.Packet.b(SourceFile:113)
    2011-02-25 18:09:23 [SEVERE] 	at net.minecraft.server.NetworkManager.f(SourceFile:155)
    2011-02-25 18:09:23 [SEVERE] 	at net.minecraft.server.NetworkManager.c(SourceFile:9)
    2011-02-25 18:09:23 [SEVERE] 	at net.minecraft.server.NetworkReaderThread.run(SourceFile:62)
    2011-02-25 18:09:23 [SEVERE] java.net.SocketException: Connection reset by peer: socket write error
    2011-02-25 18:09:23 [SEVERE] 	at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-02-25 18:09:23 [SEVERE] 	at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-02-25 18:09:23 [SEVERE] 	at java.net.SocketOutputStream.write(Unknown Source)
    2011-02-25 18:09:23 [SEVERE] 	at java.io.DataOutputStream.writeByte(Unknown Source)
    2011-02-25 18:09:23 [SEVERE] 	at net.minecraft.server.Packet33RelEntityMoveLook.a(SourceFile:32)
    2011-02-25 18:09:23 [SEVERE] 	at net.minecraft.server.Packet.a(SourceFile:149)
    2011-02-25 18:09:23 [SEVERE] 	at net.minecraft.server.NetworkManager.e(SourceFile:130)
    2011-02-25 18:09:23 [SEVERE] 	at net.minecraft.server.NetworkManager.d(SourceFile:9)
    2011-02-25 18:09:23 [SEVERE] 	at net.minecraft.server.NetworkWriterThread.run(SourceFile:83)
    2011-02-25 18:09:23 [INFO] OneUp03 lost connection: disconnect.genericReason
    I'm running craftbukkit build 450 (although this happened with 432 as well and i tried to update to fix it, which it did till i died again) Both times I died by falling: one in normal world, one in nether.
    Plugins:
    Essentials-all except god and protect
    DeathTpPlus
    LWC
    MinecartManiaCore
    MoveCraft 0.6.8 beta2
    SkyPirates
    WorldEdit
    WorldGuard
    I checked and updated all plugins.
     
  2. Offline

    Zankou666

    I'm getting the same error, I think. How does one fix this?
    Code:
    2011-03-02 00:28:50 [SEVERE] java.net.SocketException: Connection reset by peer:
     socket write error
    2011-03-02 00:28:50 [SEVERE]    at java.net.SocketOutputStream.socketWrite0(Nati
    ve Method)
    2011-03-02 00:28:50 [SEVERE]    at java.net.SocketOutputStream.socketWrite(Unkno
    wn Source)
    2011-03-02 00:28:50 [SEVERE]    at java.net.SocketOutputStream.write(Unknown Sou
    rce)
    2011-03-02 00:28:50 [SEVERE]    at java.io.DataOutputStream.write(Unknown Source
    )
    2011-03-02 00:28:50 [SEVERE]    at net.minecraft.server.Packet.a(SourceFile:148)
    
    2011-03-02 00:28:50 [SEVERE]    at net.minecraft.server.NetworkManager.e(SourceF
    ile:130)
    2011-03-02 00:28:50 [SEVERE]    at net.minecraft.server.NetworkManager.d(SourceF
    ile:9)
    2011-03-02 00:28:50 [SEVERE]    at net.minecraft.server.NetworkWriterThread.run(
    SourceFile:83)
    2011-03-02 00:28:50 [SEVERE] java.net.SocketTimeoutException: Read timed out
    2011-03-02 00:28:50 [SEVERE]    at java.net.SocketInputStream.socketRead0(Native
     Method)
    2011-03-02 00:28:50 [SEVERE]    at java.net.SocketInputStream.read(Unknown Sourc
    e)
    2011-03-02 00:28:50 [SEVERE]    at java.net.SocketInputStream.read(Unknown Sourc
    e)
    2011-03-02 00:28:50 [SEVERE]    at java.io.FilterInputStream.read(Unknown Source
    )
    2011-03-02 00:28:50 [SEVERE]    at net.minecraft.server.Packet.b(SourceFile:113)
    
    2011-03-02 00:28:50 [SEVERE]    at net.minecraft.server.NetworkManager.f(SourceF
    ile:155)
    2011-03-02 00:28:50 [SEVERE]    at net.minecraft.server.NetworkManager.c(SourceF
    ile:9)
    2011-03-02 00:28:50 [SEVERE]    at net.minecraft.server.NetworkReaderThread.run(
    SourceFile:62)
    2011-03-02 00:28:50 [INFO] mustang88 lost connection: disconnect.genericReason
     
  3. Offline

    DJ_Idol

    2011-03-02 17:49:07 [SEVERE] java.net.SocketException: Connection reset
    2011-03-02 17:49:07 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-02 17:49:07 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-02 17:49:07 [SEVERE] at java.io.FilterInputStream.read(Unknown Source)
    2011-03-02 17:49:07 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113)
    2011-03-02 17:49:07 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155)
    2011-03-02 17:49:07 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9)
    2011-03-02 17:49:07 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62)
    2011-03-02 17:51:22 [SEVERE] java.net.SocketException: Connection reset
    2011-03-02 17:51:22 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-02 17:51:22 [SEVERE] at java.net.SocketInputStream.read(Unknown Source)
    2011-03-02 17:51:22 [SEVERE] at java.io.FilterInputStream.read(Unknown Source)
    2011-03-02 17:51:22 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113)
    2011-03-02 17:51:22 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155)
    2011-03-02 17:51:22 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9)
    2011-03-02 17:51:22 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62)

    Same here. It keeps causing my server to timeout until I reset.

    It could be a plugin problem, so could you 2 post your current plugins running?

    Me:

    Autosave v1.0.3
    BigBrother v1.6.3
    BigCatch v0.4
    CraftBook 3.0-alpha1
    DynamicMarket v0.4.8.4
    Elevators 1.3.1
    General v2.1.2.1
    iChat v2.04
    iConomy v4.1
    iMonster v1.7.1 (The recently reprogrammed version, not the original 1.7)
    LWC v1.57
    MagicCarpet v1.4.4
    mcMMO v0.8.10
    MyHome v1.9.2
    NoCheat v0.5.7
    Permissions v2.5.1
    ProperTime v1.7
    Spawnr v1.3
    Stargates v0.17
    WorldEdit v4.0-beta8
    WorldGuard v4.0-alpha1
    --- merged: Mar 3, 2011 8:22 AM ---
    Nobody has any idea?
     
  4. Offline

    cjc343

    Have you tried with no plugins?
     
  5. Offline

    DJ_Idol

    Well, the thing is. It's random. Doesn't happen immediately, may happen immediately, may happen a few hours later. And sometimes it fixes itself back to normal and allows players to login as usual. I'm too scared to leave my server running openly without an admin or moderator online in fear of griefers. But, if it happens again, I'll take some time out to run it without Bukkit enabled and see what happens.
     
  6. Offline

    cjc343

    Mmm... That's what test servers are for.

    I'm going to assume that you do not run your server on the computer you play minecraft on, in which case you can just run a local server for testing only on your computer.

    Unless that's already how you run your server... in which case you could run one with low ram on a different port, but that'd not be the best setup...
     
  7. Offline

    DJ_Idol

    Ah, never though of that. Good idea, and no I run my server through a dedicated host. If I'm to run a test server on my computer, I suppose I'll have to figure out how to do the SQL/SQLite thing huh? And I've tried deleting BigBrother to see if that's what's causing that problem for now
     
  8. Offline

    cjc343

    If you plan to use MySQL on your production server, it would be best to test with a MySQL backend.

    If you plan to use SQLite on your production server, then you only need to test with SQLite, and that's far easier to setup (just download and place the library).
     
  9. Offline

    DJ_Idol

    Ok, thank you alot for the help, I'll end up using SQLite then since I don't know anything about SQL databases and really don't have the time to try and learn right now haha!
     
  10. Offline

    Fob_Upset

    i got these errors also, im on a dedicated server so i can't restart :(
     
  11. Offline

    DJ_Idol

    Just wanted to let you guys know, I read somewhere that this could be cause by a player's MC client, like a sort of bug, and also maybe anti-virus software (specifically ZoneAlarm). I read if the player re-installs MC and disables ZoneAlarm if should fix it, and basically this error happens when the player disconnects from the server. Hopefully this helps...I can't tell you if it worked for me yet or not, but if it does I'll be sure to let you guys know :)
     
  12. Offline

    Valdiralita

    I get this error if someone just closes the MC windows over the little X on the right top.
    But my server does not crash.
     
Thread Status:
Not open for further replies.

Share This Page