Crash when using many mods. (Internal Execption: io.netty.handler.codec.DecoderException) #1207
Comments
Yabdat commented Jul 6, 2014
Not completely sure if this is a Forge issue or what, but whenever I try put together a modpack that’s larger than about 55ish mods i get this issue when trying to connect the the dedicated server.
It happens basically no matter what mod I add to the modpack. If I get the problem, disable one mod, it works. If i add another mod with the first one disabled, I get the same problem connection to the server again.
EDIT:
Using minecraft 1.7.10 w/ Forge 1160.
The text was updated successfully, but these errors were encountered:
LexManos commented Jul 6, 2014
Yabdat commented Jul 6, 2014
This is from the console when i try to connect, my bad..
EDIT:
The funny thing is that it works fine in singleplayer..
Thog commented Jul 6, 2014
[09:22:33] [Netty Client IO #2/INFO] [FML]: Attempting connection with missing mods [ThaumicTinkerer-preloader, ArmorStatusHUD, StatusEffectHUD, inventorytweaks, MineDeco, ThaumicTinkerer, AS_UpdateCheck, voxelmap, Waila] at SERVER
I think that MinecraftForge is not the problem (missing Thaumic Tinkerer mod on server side)
jeffreykog commented Jul 6, 2014
That is just the preloader. If that was an issue it would have said that in a nice way. The log doesn’t give that much information. My advice is to just remove some mods, try again, remove mods, try again. Until you found out which mod is causing it
jeffreykog commented Jul 6, 2014
Can you give a complete modlist so i can try and find what causes this?
Yabdat commented Jul 6, 2014
Here is the modlist atm:
I’ve been trying to figure it out, but its strange.. if I disable a bunch of mods, 2 each time, sooner or later it works again.. but if I enable the last two mods that i disabled, it still works.
This is getting annoying, with my luck is a complete derp by me that I’m missing..
And its only happends when I’m trying to connect to a dedicated server, it works just fine in singleplayer. Grrr
cpw commented Jul 6, 2014
FML at the client is getting a pile of junk in the network stream. This is not a forge or FML problem. I suspect something is really wrong with your dedi server host. If I were to bet, I would say you have some kind of thing like bukkit, or bungee cord in the middle. Anyway, this is not a forge or FML problem. Fix your network.
Yabdat commented Jul 6, 2014
I doubt that is the problem, since I’ve hosting it on my own linux computer next to me. Even if something was FUBAR with the connection, I get the exact same problem running it as a dedicated server on the same machine (Win7) as the one i start the client.
LexManos commented Jul 6, 2014
This is caused by someone sending a payload in the custom payload packet that is way beyond the scope of a unsigned 16-bit integer.
We’d have to see the actual data flowing through your network to see whats going on.
Yabdat commented Jul 6, 2014
Heh, that doesn’t tell me much.. 🙂 Any way to actually do that? Or any ideas what is causing it?
Pretty strange, since I’m running a 1.7.2 server on the linux machine without any problems, and that has 110ish mods and running just fine. That is why I thought it was a Forge problem.
I’m a bit over my head here 😉
cpw commented Jul 6, 2014
Clearly. Unless you can perform a network trace dump, this isn’t going to get very far. Your modlist isn’t fully 1.7.10 compatible, or you have FUBAR network.
CoreDuo commented Jul 14, 2014
I’m having the same issue with Forge 1180. I tried it on two different machines in two different continents to no avail.
¹These are not all the mods I was using, but the ones that can make it reliably fail.
EDIT: I also noticed there’s an ongoing forum thread about it here.
Yabdat commented Jul 14, 2014
I still have the problem, and if its a mod issue it is two or more mods interacting with each other that is causing it. I’ve tried to disable one mod at a time for every mod that I have in the pack, and the same problem is still there.
bloodmc commented Jul 15, 2014
@cpw you guys are missing a patch in FML
Mojang upped the size from 32KB to 1MB and I guess broke your patch during the 1.7.10 update.
radum706 commented Jul 15, 2014
the fact is that when i remove a mod with a lot of blocks and items, a can add more others. is not a compatibility issue, it’s something based on mods map generating, blocks and items
bloodmc commented Jul 15, 2014
Confirmed the missing patch fixes this issue, wait for FML to reapply the S3F patch.
rstat1 commented Jul 15, 2014
Submitted PR to FML re-adding missing S3F patch. Please don’t hate me too much 😛
LexManos commented Jul 15, 2014
The real issue is the size being over vanilla specification NOT just blidnly changing vanilla to be big enough for us.
Tomarrow I will look into a generic way of splitting and recombining CustomPayload packets. Should be a simple process as long as Netty doesn’t do odd threading to interrupt packet sequences.
CoreDuo commented Jul 15, 2014
Should this issue be re-opened in the mean time? I imagine new ones will be opened anyway once more people start putting together 1.7.10 mod packs.
cpw commented Jul 15, 2014
Huh? The packet is 1mb, why would this break? 1mb >> 32k..
b0bst3r commented Jul 15, 2014
Hi you probably don’t need anymore info on this but just to let you know that the mod pack I play, no one (inc several diff hosts and LAN play) has managed to get a 1.7.10 SMP server working due to the above error without removing a lot of fairly hefty mods. If you need some testing done all you need to do is release we’re all waiting on it 🙂
LexManos commented Jul 15, 2014
@cpw the issue is that mojang derped up.. again, the length is encoded as a unsigned short, 0-65535
Instead of a varInt which is needed to hold 1MB.
So anything over 60KB freaks out with to much data.
Like I said the proper solution would be to do a generic wrapper around the custom payload packets to split and reconstruct them.
LexManos commented Jul 16, 2014
I have written a proper system that does not break vanilla protocol compatibility yet allows us to have custom packets up to 16.7MB
I just need to speak with @cpw about how to properly implement a FML protocol change without breaking older clients
There are also other parts that I would like to address but may need to wait until 1.8.
whatthedrunk commented Jul 16, 2014
@LexManos Thank you so much dude I can’t wait to see it updated. I’ve been dealing with the same issue for a few days now.
jythri commented Jul 16, 2014
ITFactoryAUT commented Jul 16, 2014
When an updated version of FML will be published?
mrgreaper commented Jul 16, 2014
This issue is still ongoing.
b0bst3r commented Jul 16, 2014
It’s a FML issue not Forge issue and the main conversation between CPW/Lex and Grum on this is here MinecraftForge/FML#475 albeit that one is closed too lol
MightyBoss commented Jul 16, 2014
mrgreaper the issue is still ongoing, but it is fixed for an upcoming release of forge. LexManos clearly stated what he was doing before he released it a few comments up.
mrgreaper commented Jul 16, 2014
im aware of that, the thing is the issue is marked as closed, so when i first found it while hunting for a solution i came to the natural conclusion that it had been fixed, i then wasted a lot of time trying each subsequent forge version and then trying each mod separately assuming that my issue must have a different cause to this as this issue is closed
i was pointing out to anyone else that may stumble on this and make the same conclusions that this issue is not yet fixed.
We can see it will be fixed, and it was not designed to in anyway hurry up the process just let other admins know that the issue is not resolved despite it being closed.
ITFactoryAUT commented Jul 16, 2014
I have to agree with @mrgreaper, a issue should not be closed until the problem in the issue is solved, and comments of issues are built for tracking the state and provide information.
LexManos commented Jul 16, 2014
Just so people stop bitching i’ve reopened this.
We have not pushed a fix for it yet as this is a NON-CRITICAL issue, it only happens if you have quite a few mods installed.
There WILL be a fix I am just talking with cpw about some best practices as this falls into a few areas that I want to fix anyways and new territory
We typically try to be backwards compatible within a single MC version, however we can not at this point in time.
b0bst3r commented Jul 16, 2014
40-50 mods is not a lot considering there’s mod packs with 200+ and the average FTB modpack is about 90-120. Basically this issue is completely breaking modded 1.7.10 SMP, practically the whole modded MC world is watching and waiting for this to be resolved, it cannot move forward without the fix. If that’s not critical then I don’t know what is. Either way keep up the good work.
quebber commented Jul 16, 2014
While we are all grateful for the work people do calling this a Non-critical issue depends on your point of view for example I just spent 17 hours straight trying to get a set of mods to work together 40-50 mods is in no way a large amount especially as most public mod packs reach the 200+ mark.
I checked every mod, got them all working find, setup a dedicated box connected via gb lan, server runs fine, single player on client machine runs fine but no way to get them connecting.
If you do a google search you will see a lot of people are getting this error and talking about it all over the place, most never find this thread.
As I said and I will repeat I very much appreciate how much work goes in to these kind of things (mud coder for 14 years).
All about perspective, my wife is ill in bed and I was trying to put together a 1.7.10 server with all her favourite mods her and friends could play to me that is as critical as it gets 🙂
mrgreaper commented Jul 16, 2014
Yeah i too agree this is pretty serous issue, we are all waiting for a fix, not said to hurry the process as i know it cant be hurried just agreeing that 50 mods in this day and age is a small amount, hell project red is about 5 mods technicly.
As others have i said, i do really appreciate the work you guys do.
ITFactoryAUT commented Jul 16, 2014
ghost commented Jul 17, 2014
I have 30 mods and off this error. Waiting for the second day of fixation.
GirafiStudios commented Jul 17, 2014
cpw commented Jul 17, 2014
Locking this issue- we don’t need to know all your agony stories, we’re well aware of what’s broken.
Minecraft Forums
I’ve been experiencing this issue since a week ago, and it happens no matter what server I join. I’ve seen this was an issue back in 2015, and apparently it was fixed, but I’m experiencing this issue now all of a sudden. I usually use optifine for 1.8.9 (plz no 1.9 pvp) and it used to work just fine, but when this started happening a ton, I looked up how to fix it, so i tried setting down the render distance, to no avail. Even 2 chunks still does as much as 10 chunks. I’ve tried using different versions of minecraft, like 1.9, 1.12, normal 1.8.9, and the situation doesn’t change. Can someone tell me if there really is any fix to it? Servers include mc.hypixel.net, and other popular ones.
Ok, so i looked into it more, and it seems to be a thing for spigot, but I’m just plain surprised that I’m getting it on Hypixel, of all servers, since they have to have fixed it if it was only an issue in 2015. And also, oddly enough, when I got on today, I didn’t even get any of these error messages at all for an hour straight, and this happened a few other days. I’m just surprised this could happen like this, as its like it only does it on certain days.
I even tried reinstalling Minecraft. Twice. It still just constantly disconnects me every 5 minutes no matter what I do.
Why cant someone respond?
I just want 1 response, I don’t care how pointless it can be, just once in 2 months.
last i checked hypixel uses a protocol hack to allow players from more than one version to play together, the downside of this is that they have to use spesific versions and yours will eventually be obsoleted and not work at all
Its gotten to the point where its impossible to do even 1 minigame without a dc mid game in hypixel. Can someone just please help out with this?
join the server using 1.12.1, it’ll fix your issues
I’ve been experiencing this issue since a week ago, and it happens no matter what server I join. I’ve seen this was an issue back in 2015, and apparently it was fixed, but I’m experiencing this issue now all of a sudden. I usually use optifine for 1.8.9 (plz no 1.9 pvp) and it used to work just fine, but when this started happening a ton, I looked up how to fix it, so i tried setting down the render distance, to no avail. Even 2 chunks still does as much as 10 chunks. I’ve tried using different versions of minecraft, like 1.9, 1.12, normal 1.8.9, and the situation doesn’t change. Can someone tell me if there really is any fix to it? Servers include mc.hypixel.net, and other popular ones.
Is it possible for you to try using the computer on a different internet connection? And/or try your connection using a different computer, such as a borrowed laptop?
That would hopefully show whether its your machine or your internet connection.
The specific error might be caused by the way the router is constructing the packets.
If you use wireless, it would definitely be worth trying a cable connection to the router too.
I would think its the former anyways. This computer is kinda breaking down, mainly cuz its older than me I think. I wish I could test the latter, my parents won’t ever allow me to change anything on my shared computer, and im not gonna try to minecraft on a school laptop. We only use 1 source of wifi, and they aren’t planning on changing that anytime soon, along with the fact that this computer is in a place where i can’t use ethernet cables. Sometimes, I wish life could be easier on me for this sort of thing :/




