I set up a Minecraft server for my friends and I to play on. It is the current version (1.3.2 as of this post), and it is vanilla Minecraft. The server is running 6.0.5 (stable) Debian Linux and has an Intel Core 2 Duo 1.83GHz CPU and 3GB of RAM. The server is plugged into the router/switch using an Ethernet cable, not wireless. There are a total of 5 players, but usually there are only 2 or 3 of us playing at any one time.
The problem I am having is that I will get disconnected from the server a lot. On the client side, I see this:
I can always tell when that is about to happen because prior to getting disconnected, I no longer hear my footsteps while playing, monsters (if any are around) don't make sounds and don't move, and when I break blocks, my player doesn't pick up the fallen block piece. However, I can still move around the world ... or at least on my end, it appears as though I am walking and breaking blocks. But in reality, I am not moving, and any blocks I break are not really broken. When I reconnect to the server, the blocks I broke are still in place, and my character will have stopped moving at some point. I might break 10 blocks and move 10 squares and then get disconnected. So when I come back, those 10 blocks are still there, and I am moved back 10 squares to where I was standing at the point the problem started.
This problem has already killed me in the game once, and has nearly killed me several other times. The reason I die is because the game seems to continue playing even though I can't interact with the world. One time when this happened, I got killed by a spider. But from my side, the spider did not appear to be moving. It wasn't until I got disconnected and then reconnected that I realized I was being attacked. By that point, it was too late.
When this happens, I always see the same output on the server. The server shows this:
java version "1.7.0_06"
Java™ SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot™ 64-Bit Server VM (build 23.2-b09, mixed mode)
My Speedtest.net results as of this moment are:
Though, for my problem, the Internet connection isn't a factor since I am on the same LAN as the server. But my friends experience this problem as well (though oddly, not nearly as often as I do). So for their sake, the Internet connection is relevant.
I don't know what other information I could provide. If anyone has any idea what causes this problem, I'd sure like to hear from you.
when you experience random TCP drops (especially when they show up as connection resets) this can because caused by an IP address conflict on the network. You should double check that anything with a static ip address is unique and doesn't have an address from a DHCP pool. And that all devices using DHCP are behaving and respecting their leases.
when you experience random TCP drops (especially when they show up as connection resets) this can because caused by an IP address conflict on the network.
Thanks for the reply. That's an interesting thought, I hadn't considered that. My home network is really simple. I live alone so it's mainly just my computer that gets an IP address from the router. Occasionally my phone and blu-ray player will grab an IP address, but usually it's just my PC.
Since adding the Minecraft server, I now have a 2nd full-time device on my network.
I logged on to my Netgear router to make sure I didn't have random wireless activity that I wasn't aware of. I do have WPA2-PSK enabled in my router's security options, so hopefully I don't have any neighbors using my router by mistake.
My router confirms that my PC and my Minecraft server are the only 2 devices on the network.
The wired device (192.168.1.7) is the Minecraft server. The other is my client PC. (And I have the router set so that both of these get the same IP address every time ... based on their MAC address.) So there shouldn't be any IP address conflicts.
Okay, that's good. You might want to double check the phone though. I know that some don't respect DHCP leases when they go to sleep and have been the causes of conflicts on some networks.
Also verify that your client PC WiFi connection is strong and doesn't drop out, even for a split second. Ancillary to that you might want to see if there's a firmware update for that NetGear.
I noticed last night I was getting a variation of this error on the client side.
All the symptoms are the same ... can't hear footsteps, can't pick up blocks, but I'm able to move through the world and the server continues to play even though my actions apparently aren't registering ... (I died again while the connection was acting up. When I got reconnected, I had drowned.)
Really annoying problem. Sometimes I'm getting disconnected as much as several times per hour.
Edit: Yet another variation of this error message:
Also verify that your client PC WiFi connection is strong and doesn't drop out, even for a split second.
Seems that the problem is my wireless connection. Which I don't really understand because I play StarCraft 2 all the time and never get dropped or have that screen pop up that says the server is waiting on me. But - last evening I ran a long Ethernet cable from one side of the house to the other, down the hall and through the living room, and with a physical connection, I played Minecraft for hours and never had any problems.
Now I just have to figure out what's up with my wireless connectivity because this wired connection isn't a long term solution.
Might want to check for a firmware update for your wireless router.
Yep - when I log in to my router, it automatically checks for updates. I also check for updates for all my PC hardware at least once a month. Everything is current.
The problem I am having is that I will get disconnected from the server a lot. On the client side, I see this:
I can always tell when that is about to happen because prior to getting disconnected, I no longer hear my footsteps while playing, monsters (if any are around) don't make sounds and don't move, and when I break blocks, my player doesn't pick up the fallen block piece. However, I can still move around the world ... or at least on my end, it appears as though I am walking and breaking blocks. But in reality, I am not moving, and any blocks I break are not really broken. When I reconnect to the server, the blocks I broke are still in place, and my character will have stopped moving at some point. I might break 10 blocks and move 10 squares and then get disconnected. So when I come back, those 10 blocks are still there, and I am moved back 10 squares to where I was standing at the point the problem started.
This problem has already killed me in the game once, and has nearly killed me several other times. The reason I die is because the game seems to continue playing even though I can't interact with the world. One time when this happened, I got killed by a spider. But from my side, the spider did not appear to be moving. It wasn't until I got disconnected and then reconnected that I realized I was being attacked. By that point, it was too late.
When this happens, I always see the same output on the server. The server shows this:
My computer specs are as follows:
Intel Core i7-3610QM Processor 2.3GHz (Ivy Bridge / 3rd Generation)
16 GB DIMM RAM
Nvidia GTX 660M 2G GDDR5
Windows 7 Home Premium 64-bit
C:\Users\David>java -version
java version "1.7.0_06"
Java™ SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot™ 64-Bit Server VM (build 23.2-b09, mixed mode)
My Speedtest.net results as of this moment are:
Though, for my problem, the Internet connection isn't a factor since I am on the same LAN as the server. But my friends experience this problem as well (though oddly, not nearly as often as I do). So for their sake, the Internet connection is relevant.
I don't know what other information I could provide. If anyone has any idea what causes this problem, I'd sure like to hear from you.
Thanks for the reply. That's an interesting thought, I hadn't considered that. My home network is really simple. I live alone so it's mainly just my computer that gets an IP address from the router. Occasionally my phone and blu-ray player will grab an IP address, but usually it's just my PC.
Since adding the Minecraft server, I now have a 2nd full-time device on my network.
I logged on to my Netgear router to make sure I didn't have random wireless activity that I wasn't aware of. I do have WPA2-PSK enabled in my router's security options, so hopefully I don't have any neighbors using my router by mistake.
My router confirms that my PC and my Minecraft server are the only 2 devices on the network.
The wired device (192.168.1.7) is the Minecraft server. The other is my client PC. (And I have the router set so that both of these get the same IP address every time ... based on their MAC address.) So there shouldn't be any IP address conflicts.
Also verify that your client PC WiFi connection is strong and doesn't drop out, even for a split second. Ancillary to that you might want to see if there's a firmware update for that NetGear.
All the symptoms are the same ... can't hear footsteps, can't pick up blocks, but I'm able to move through the world and the server continues to play even though my actions apparently aren't registering ... (I died again while the connection was acting up. When I got reconnected, I had drowned.)
Really annoying problem. Sometimes I'm getting disconnected as much as several times per hour.
Edit: Yet another variation of this error message:
Seems that the problem is my wireless connection. Which I don't really understand because I play StarCraft 2 all the time and never get dropped or have that screen pop up that says the server is waiting on me. But - last evening I ran a long Ethernet cable from one side of the house to the other, down the hall and through the living room, and with a physical connection, I played Minecraft for hours and never had any problems.
Now I just have to figure out what's up with my wireless connectivity because this wired connection isn't a long term solution.
Yep - when I log in to my router, it automatically checks for updates. I also check for updates for all my PC hardware at least once a month. Everything is current.