Jump to content

Getting an error about read-write overflow whenever I try to join the server I'm hosting


Recommended Posts

Hello, I'm currently trying to get a modded server to run (using my own modpack) and I've been unable to join. In this case, I keep getting the error "internal exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(9) + length(4) exceeds writerIndex(9): PooledUnsafeDirectByteBuff(ridx: 9, widx: 9, cap 9/10)" or some variation of it (length and reader index change fairly frequently). I've tried removing mods, changing mods, changing configs, etc. 

If anyone has any help, that would be great

Also, here are the logs for both the client and server 

 

https://github.com/CrystalKami/logs-and-stuff

Link to comment
Share on other sites

That error means one of your mods has broken networking (usually a broken custom recipe since this is at login).

The log message does not say which mod is causing the problem for this kind of error.

Probably the only way you will find the problem is to experiment with removing mods.

Backup your world before removing mods.

 

But here's all the bug reports on github with an error similar to yours.

https://github.com/search?q=readerIndex(9)+%2B+length(4)+exceeds+writerIndex(9)&type=issues

Maybe one of them matches a mod you have, or one of the bug reports points to another mod causing the problem?

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

3 hours ago, warjort said:

That error means one of your mods has broken networking (usually a broken custom recipe since this is at login).

The log message does not say which mod is causing the problem for this kind of error.

Probably the only way you will find the problem is to experiment with removing mods.

Backup your world before removing mods.

 

But here's all the bug reports on github with an error similar to yours.

https://github.com/search?q=readerIndex(9)+%2B+length(4)+exceeds+writerIndex(9)&type=issues

Maybe one of them matches a mod you have, or one of the bug reports points to another mod causing the problem?

Awesome, thanks for the help! I've been removing and re-adding mods for the past few days with little luck, I've got a modlist here if you're willing to look through it. This is the client list (I've taken all the client side mods out of the server list)
https://pastebin.com/vLQxXkad

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.

Guest
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.