Jump to content

netty.handler error preventing friends from joining a LAN world


Recommended Posts

Minecraft 1.18.1

Forge 39.0.9 and 39.0.10


Connection Lost Internal Exception: io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0


My brother, my friend and I have tried all sorts of combinations of our modpack to try and play modded 1.18 together, and its only about 50 mods or less, not counting dependencies.

No matter what mods we include/exclude, the above error shows up for anyone trying to join my Survival LAN world and they cannot join. It says they joined and left in the chat almost instantly.

We tried with and without the bigger mods we're wanting to use such as Terralith 2.0 and Create, but even a fresh world without these mods still causes the error. We also tried the latest Forge version. We're at a loss here, I have no idea what's causing this and it's very disheartening.

Any help would be greatly appreciated, thank you for your time.

Edited by SomaSoul
missing details
Link to comment
Share on other sites


We tried more tests on fresh installs, and even with a vanilla world with Forge, the issue arises after a players inventory changes/they gain new items or blocks and then try to rejoin. We also tried fresh installs and fresh worlds with a variety of mod combinations, and we are almost entirely certain this is a Forge problem with referencing player data.


I hope this can be fixed soon; I don't envy the Forge devs right now, coding is hard. Best of luck to you!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.