LukiP0P Posted August 5, 2022 Share Posted August 5, 2022 Hello, again. I cant join my own 1.18.2 server because DecoderExceptions (incorrect header check, invalid distance too far back, etc.) other players dont have this problem, is it fault of my connection? Server just says "disconnected" and client is just disconnecting from server. Please help, I try to make this server work for few days, 1.18.2 is way more problematic than 1.12.2. Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted August 5, 2022 Share Posted August 5, 2022 Please post debug.log from server and client. Quote Link to comment Share on other sites More sharing options...
LukiP0P Posted August 5, 2022 Author Share Posted August 5, 2022 Client debug log: https://privatebin.net/?9bd8710bac46e1af#8oZZnPk7wwuhyNToopw8nnCQCuQhrMR5ruDBUCwNAKfD Server debug log: https://privatebin.net/?7330055668b201da#AndcZoEcyYKHcQu8EVsKrEpxu6uEyWtMxbrZPGewMxK6 Quote Link to comment Share on other sites More sharing options...
warjort Posted August 5, 2022 Share Posted August 5, 2022 Neither of those logs contains the "DecoderExceptions (incorrect header check, invalid distance too far back, etc.)" error message? The server does have a message saying you disconnected as you say. And the client has a message saying JEI is responding to a disconnect event, but no error message. Quote [05Aug2022 15:23:43.850] [Render thread/INFO] [mezz.jei.forge.startup.StartEventObserver/]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggedOutEvent The "DecoderException" error message says there is a problem with the decompression of the network packet. One thing I notice is you have the following on the client: Quote [05Aug2022 14:10:10.450] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Microsoft [05Aug2022 14:18:53.519] [Server Pinger #0/DEBUG] [io.netty.util.NetUtil/]: -Djava.net.preferIPv4Stack: true [05Aug2022 14:18:53.519] [Server Pinger #0/DEBUG] [io.netty.util.NetUtil/]: -Djava.net.preferIPv6Addresses: false [05Aug2022 14:18:53.924] [Server Pinger #0/DEBUG] [io.netty.util.NetUtilInitializations/]: Loopback interface: lo (Software Loopback Interface 1, 127.0.0.1) but on the server it is Quote [05Aug2022 14:06:30.433] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.4 by N/A [05Aug2022 14:10:00.889] [Server thread/DEBUG] [io.netty.util.NetUtil/]: -Djava.net.preferIPv4Stack: false [05Aug2022 14:10:00.889] [Server thread/DEBUG] [io.netty.util.NetUtil/]: -Djava.net.preferIPv6Addresses: false [05Aug2022 14:10:00.893] [Server thread/DEBUG] [io.netty.util.NetUtilInitializations/]: Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo) So it looks like the server is trying to use ipv6. If you look at the changelog for forge 1.18.2 https://maven.minecraftforge.net/net/minecraftforge/forge/1.18.2-40.1.69/forge-1.18.2-40.1.69-changelog.txt It says Quote - 40.1.62 [1.18.x] Implement full support for IPv6 (#8376) So one option would be try the latest release of forge, 40.1.69 which has this change. Another would be to configure the server to use ipv4 like the client? -Djava.net.preferIPv4Stack=true NOTE: I don't know if this really the cause of the DecoderException, it could be caused by one of the mods and the ip version is just a red herring. 🙂 1 Quote 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 More sharing options...
LukiP0P Posted August 5, 2022 Author Share Posted August 5, 2022 Aight, Im gonna configure server to use ipv4, if its still gonna kick me im gonna update forge, and i dont think thats caused by mods, other clients doesnt have this problem on same modpack Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted August 5, 2022 Share Posted August 5, 2022 As far as i know Network exceptions are not always shown. Please post launcher_log.txt as well. Quote Link to comment Share on other sites More sharing options...
LukiP0P Posted August 5, 2022 Author Share Posted August 5, 2022 6 hours ago, warjort said: Neither of those logs contains the "DecoderExceptions (incorrect header check, invalid distance too far back, etc.)" error message? The server does have a message saying you disconnected as you say. And the client has a message saying JEI is responding to a disconnect event, but no error message. The "DecoderException" error message says there is a problem with the decompression of the network packet. One thing I notice is you have the following on the client: but on the server it is So it looks like the server is trying to use ipv6. If you look at the changelog for forge 1.18.2 https://maven.minecraftforge.net/net/minecraftforge/forge/1.18.2-40.1.69/forge-1.18.2-40.1.69-changelog.txt It says So one option would be try the latest release of forge, 40.1.69 which has this change. Another would be to configure the server to use ipv4 like the client? -Djava.net.preferIPv4Stack=true NOTE: I don't know if this really the cause of the DecoderException, it could be caused by one of the mods and the ip version is just a red herring. 🙂 server now kicks me off rarely, but theres connection reset more often and kicks everyone, output says only timed out Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted August 5, 2022 Share Posted August 5, 2022 Please post debug.log from server and a client which get kicked off. Quote Link to comment Share on other sites More sharing options...
LukiP0P Posted August 5, 2022 Author Share Posted August 5, 2022 Client: https://privatebin.net/?b82c9ee6721b3341#8eUasesfY37jgBfwytjajmZFoZC8Gub4wQeX1FdShzyC Server (at line 18521 got kicked): https://privatebin.net/?d85c10bac83990ae#AuE2jL4ADyArScXs4idbWLKjetq7VPbnFFNYu8FapWRe Quote Link to comment Share on other sites More sharing options...
warjort Posted August 5, 2022 Share Posted August 5, 2022 (edited) Quote [05Aug2022 23:49:40.694] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Unknown custom packet identifier: supermartijn642configlib:sync_configs [05Aug2022 23:49:40.694] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Unknown custom packet identifier: spawnermod:main These messages look suspicious. They represent network packets the server sent, but the client doesn't understand them. Check you have latest versions of those mods on the client and server and then ask the mod authors if these are a problem. Edited August 5, 2022 by warjort Quote 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 More sharing options...
warjort Posted August 5, 2022 Share Posted August 5, 2022 You also have a number of long ticks before you got disconnected. Quote [05Aug2022 23:50:26.884] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4621ms or 92 ticks behind [05Aug2022 23:50:46.016] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4153ms or 83 ticks behind [05Aug2022 23:51:05.733] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4720ms or 94 ticks behind [05Aug2022 23:51:25.138] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4426ms or 88 ticks behind [05Aug2022 23:51:44.664] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4552ms or 91 ticks behind [05Aug2022 23:52:03.629] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 3966ms or 79 ticks behind [05Aug2022 23:52:08.472] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: LukiP0P lost connection: Timed out Are you sure your computer can run both the server and your client at the same time? Look at task manager and check your memory status. It might be doing a lot of paging of memory to and from disk if you don't have enough real memory to run both. Quote 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 More sharing options...
LukiP0P Posted August 6, 2022 Author Share Posted August 6, 2022 13 hours ago, warjort said: You also have a number of long ticks before you got disconnected. Are you sure your computer can run both the server and your client at the same time? Look at task manager and check your memory status. It might be doing a lot of paging of memory to and from disk if you don't have enough real memory to run both. Client is running on diffrent machine, cpu usage on machine where server is hosted is like max 50/60% and memory is on around 70% Quote Link to comment Share on other sites More sharing options...
LukiP0P Posted August 6, 2022 Author Share Posted August 6, 2022 (edited) 13 hours ago, warjort said: These messages look suspicious. They represent network packets the server sent, but the client doesn't understand them. Check you have latest versions of those mods on the client and server and then ask the mod authors if these are a problem. I dont think thats cause of the problem, Ive had same problem before adding this lib, and mod version is same on both machines Edited August 6, 2022 by LukiP0P Quote Link to comment Share on other sites More sharing options...
LukiP0P Posted August 6, 2022 Author Share Posted August 6, 2022 13 hours ago, warjort said: [05Aug2022 23:50:26.884] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4621ms or 92 ticks behind [05Aug2022 23:50:46.016] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4153ms or 83 ticks behind [05Aug2022 23:51:05.733] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4720ms or 94 ticks behind [05Aug2022 23:51:25.138] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4426ms or 88 ticks behind [05Aug2022 23:51:44.664] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4552ms or 91 ticks behind [05Aug2022 23:52:03.629] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 3966ms or 79 ticks behind [05Aug2022 23:52:08.472] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: LukiP0P lost connection: Timed out This is moment where ive had "connection retry" message at client after geting kicked Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted August 6, 2022 Share Posted August 6, 2022 Did you get this error if you don't use any Mod? Quote Link to comment Share on other sites More sharing options...
LukiP0P Posted August 6, 2022 Author Share Posted August 6, 2022 I dont get any errors on clean minecraft I think Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted August 6, 2022 Share Posted August 6, 2022 To be sure, you run the Forge Server without Mods and join with a client without Mods? If this is the case one of the Mods you are using is broken, unfortunately the logs do not contains any helpful informations. Because of this, you probably have no choice but to use binary search to find the broken Mod. The procedure is simple: Remove half of the existing things, and put them aside. Run the program / game. Does the issue still exist? If YES: Repeat from step 1 with the current things. IF NO: Swap out the current things with the ones set aside, and repeat from step 1. Repeat this process until the problematic thing/s have been found. If you have found the Mod which cause the issue, make sure the Mod is the on with the issue by only use this Mod. Report the Bug to the Mod author, and tell us which Mod was it (for further issues). 1 Quote Link to comment Share on other sites More sharing options...
LukiP0P Posted August 6, 2022 Author Share Posted August 6, 2022 Im gonna try it, but it will take some time. Server sometimes kicks me after 5 mins sometimes after 30 Quote Link to comment Share on other sites More sharing options...
LukiP0P Posted August 6, 2022 Author Share Posted August 6, 2022 Oh! and one more thing, i dont know if that information will help but when i was hosting my server via client (open to lan" option everything was working Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.