1.7.10 build6 stable constantly disconnected from server [Server thread/WARN]: Failed to handle packet

841 views
Skip to first unread message

Devon Jacobs

unread,
Oct 13, 2014, 8:40:10 AM10/13/14
to minecraft...@googlegroups.com
Hi Guys,
running into a bunch of problems with 1.7.10 stable 6

originally installed on our old "server" which we knew was horribly underpowered (mac core2 duo 4GB Ram - mc server allocated 3GB)
previously running 10.6.4 stable 20. tons of lag, but still marginally playable at 5-7 players

installed 1.7.10 stable6, generated new world. 
I spent about 20 minutes solo, flying around generating chunks. ran server with 7 players, so laggy that in an hour kids couldn't even mine enough materials to build basic items. kids were continually kicked out of server. server totally crashed twice.

this week, installed clean on brand new core i5 w/8GB RAM (win 8.1 ,64-bit Java 1.7.0_64) 7GB allocated to server, copied world from old server.
lag seemed ok except when people were getting kicked from server with an internal server error message. Does this sound like just a corrupt world, and I need to regenerate? or is this a deeper issue??

One of our teachers at 192.168.1.200 (playing on a mac OSX10.9 machine) got bounced many many times
other players seemingly kicked at random. These are the errors we see most often:

[19:10:21] [Server thread/WARN]: Failed to handle packet for /192.168.1.200:52338
java.lang.NullPointerException
at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:101) ~[FMLProxyPacket.class:1.7.2]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) ~[ej.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) [nc.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:727) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:357) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:615) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:494) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:754) [li.class:?]
[19:10:21] [Server thread/INFO]: Theodore lost connection: TextComponent{text='Internal server error', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}
[19:10:21] [Server thread/INFO]: Theodore left the game
[19:48:45] [Server thread/WARN]: Failed to handle packet for /192.168.1.46:49602
java.lang.NullPointerException
at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:101) ~[FMLProxyPacket.class:1.7.2]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) ~[ej.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) [nc.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:727) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:357) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:615) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:494) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:754) [li.class:?]
[19:48:45] [Server thread/INFO]: DavieS lost connection: TextComponent{text='Internal server error', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}
[19:48:45] [Server thread/INFO]: DavieS left the game

MisterA

unread,
Oct 13, 2014, 10:57:11 PM10/13/14
to minecraft...@googlegroups.com
Hey Devon,

If I am reading this correctly

1. You have run an old 1.6.4 b20 world...and had issues with 5-7 players on 3GB of ram.

I can say from experience, that you have some definite issues other than just the world here. I have an old server with 4GB of ram dedicated to MCEdu and I can run 35 students on the world. I would look at how you are connecting. Clients (wireless? or wired?) Server (wireless? or wired?) Is your server network card connecting to the LAN with 100 or 1000? Does it go across different VLANs or SSIDs? How many devices (routers / switches) are between your clients and your server?

With that said, if you have the kids running in all directions doing all kids of things, you are gonna have issues with even the best server setup. Generating world chunks and keeping them loaded can be a lot of strain on the server. Without further details about what you were doing with the kids on the server, it is hard to tell.

2. Then you used 1.7.10 build 6 on that same server, and it was terribly laggy and unusable? Definitely 1.7.10 required more resources from the server due to all the big changes in world generation and additional biomes. It has been shown that 1.8 should be much less of a resource hog...I know that doesn't help right now.

3. New setup, I wouldn't allocate 7 GB of the Ram to MCEdu, I would dial that down to about 4GB (4096) and see how that goes. I am pretty sure that Windows 8.1 needs more than 1 GB of ram to run itself.

4. There was an issue with 1.7.10 build 6 where if a student tried to connect to the MCEdu server with a vanilla client it would cause all sorts of logout and crash issues. It has since been fixed and if you update to 1.7.10 build 8 you should not have that issue anymore.

5. My final piece of advice is to check your clients to make sure they are not maxed out on the video settings. Some of the killer ones are the FPS and the Render Distance.

Hope some of this helps.

Devon Jacobs

unread,
Oct 14, 2014, 8:55:50 AM10/14/14
to minecraft...@googlegroups.com
Hi MisterA,
thanks for the input!

1. I would look at how you are connecting. (etc....)
my guess here is that the box I was running it on was mostly the issue... it was a server only in the sense that it was running MCEdu server: old mac mini core2 duo running clean install of OSX10.6.4. wired gig ethernet 1 hop away from clients (also wired gig enet) all on primary (untagged) native vlan. playable most of the time, but lots (probably every 5 min or so) of "[Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running XXXXms (most around 2,000ms) behind, skipping XX tick(s)." messages. 
Avg. game tick >60ms on a good day.

Kids were starting from scratch, survival mode, trying to mine basic materials to make tools (wood, etc), all within sight of spawn, definitely within the region I pre-generated. often 10-15 second lag between action and effect (hitting a mob for instance... swing 10 times... wait... hit once)

2.Then you used 1.7.10 build 6 on that same server?...
yup. upgraded from 1.6.4 b20 to 1.7.10 build 6. left everything else the same. generated new world. spent about 30 minutes solo, flying around in concentric circles to generate chunks as that always kills the server. logged 7 kids in later that night, and had TONS of can't keep up messages all running >30,000ms behind

3. New setup, I wouldn't allocate 7 GB of the Ram to MCEdu...
DOH! rookie move there.... got an 8.1 machine cause it was what was available locally on my budget of $0. I despise win 8 (sorry guys, I'm old school a bit in that respect) and haven't played with it much... It's sitting here hogging over 3GB or RAM sitting at the desktop from a clean boot, I can't believe that 80% of win8 machines you see are still selling with 4GB of RAM!.  next move is probably to wipe it and install some form of linux :-) For now, I cranked it back to 4GB.

4. issue with 1.7.10 build 6 ... MCEdu server with a vanilla client:
I'm running custom ini files in student accounts that makes all the choices for them (client type, alias/account, gender, multiplayer, server address, etc) all they have the option of is picking skin and choosing student to log in.

5. Clients running default settings (including FPS and render distance) 









 




Devon Jacobs
Director of Technology
North Country School and Camp Treetops
(518) 523-9329, ext. 5406
4382 Cascade Road
Lake Placid, NY, 12946
northcountryschool.org

--
You received this message because you are subscribed to the Google Groups "Minecraft Teachers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minecraft-teach...@googlegroups.com.
To post to this group, send email to minecraft...@googlegroups.com.
Visit this group at http://groups.google.com/group/minecraft-teachers.
To view this discussion on the web visit https://groups.google.com/d/msgid/minecraft-teachers/002f2f74-bb4d-4cf1-a56c-2cb3f0795c74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

MisterA

unread,
Oct 15, 2014, 1:32:03 AM10/15/14
to minecraft...@googlegroups.com
Hey Devon,

Wow that was a mouthful...okay so with all that out of the way...

Once you cut back the ram...how is it working now? It seems very strange that the machine you are running it on would have way better specs than mine...and yet still cannot handle the world.

Let us know.

Toni Paavola

unread,
Oct 15, 2014, 1:42:14 AM10/15/14
to minecraft...@googlegroups.com
Could you attach / paste the contents of all .log files in minecraftedu/debug/ folder of one of the client machines that gets disconnected from the server.

MisterA

unread,
Oct 15, 2014, 1:57:19 AM10/15/14
to minecraft...@googlegroups.com
A couple of questions that came up Devon as we discussed this:

1. Are you running behind any proxy?
2. Is the server on your local network or in a remote location?

Let us know. 

Devon Jacobs

unread,
Oct 15, 2014, 6:07:53 AM10/15/14
to minecraft...@googlegroups.com
Hi guys...
to catch up... 
MisterA: the lag doesn't seem to be a problem anymore since moving to the corei5 machine, it's just the disconnect issue at this point I think. we only run on Fridays, so I'll let you know if the RAM cutback helped later this week.

the entire setup is local. Our lab machines are connected to an unmanaged gig switch, directly connected to our backbone L2 switch, server is connected to the same L2 switch, no proxies, all on the same primary untagged native VLAN.

Toni: I'll see what I can do about logs. I'll need to go back through and find the kids that were getting kicked and pull the logs. the one that was getting kicked the most was actually a teacher that just started playing (I find later that he may have been connected via wireless)


--
You received this message because you are subscribed to the Google Groups "Minecraft Teachers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minecraft-teach...@googlegroups.com.
To post to this group, send email to minecraft...@googlegroups.com.
Visit this group at http://groups.google.com/group/minecraft-teachers.

MisterA

unread,
Oct 15, 2014, 11:38:18 PM10/15/14
to minecraft...@googlegroups.com
Devon,

The logs should be in the \minecraftedu\servertool\server\logs, just find the one for the last time you had these issues and attach it in here.

Devon Jacobs

unread,
Oct 18, 2014, 12:08:54 PM10/18/14
to minecraft...@googlegroups.com
Thanks for all your input everyone... issue seems to be resolved...
I dropped the RAM to 4096 (out of 8GB total), and the one person who was getting disconnected most of the time last session didn't play last night...

zero lag, and nobody got booted with about 15 kids... even when the kids entered nether for the first time we only had about a 300 tick skip during initial chunk generation...
I call that a win compared to where we were 2 weeks ago.

my guess about the one person that was getting kicked most of the time is something machine specific, or he was trying to login under standard MC instead of EDU. in talking to him the other day, it was repeated attempts to login but never actually connected to the server. (which would also account for the subsequent student failures due to the 1.7.10 b6 bug)... that'll teach me to be out during a session and leave a noob in charge :-)  at least he is teachable... 


Devon Jacobs
Director of Technology
North Country School and Camp Treetops
(518) 523-9329, ext. 5406
4382 Cascade Road
Lake Placid, NY, 12946
northcountryschool.org

On Wed, Oct 15, 2014 at 11:38 PM, MisterA <shane.as...@gmail.com> wrote:
Devon,

The logs should be in the \minecraftedu\servertool\server\logs, just find the one for the last time you had these issues and attach it in here.

--
You received this message because you are subscribed to the Google Groups "Minecraft Teachers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minecraft-teach...@googlegroups.com.
To post to this group, send email to minecraft...@googlegroups.com.
Visit this group at http://groups.google.com/group/minecraft-teachers.

MisterA

unread,
Oct 18, 2014, 1:11:16 PM10/18/14
to minecraft...@googlegroups.com
Great to hear Devon....have fun!
Reply all
Reply to author
Forward
0 new messages