Posted May 4, 20232 yr 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
May 4, 20232 yr 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.
May 5, 20232 yr Author 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
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.