Jump to content

[Solve][1.15.2]Player Disconnect after Connect Server Immediately


HeidFanatic

Recommended Posts

THIS SITUATION IS CAUSED BY PACKET ERROR!

 

-----------------------------------------------------------------

 

Original post:

Hello Everyone, it's a newbee modder here.

My mod works fine when runClient. And runServer also works fine until player is trying to join in server.

Here is what happen when player trying to connect server:

ON SERVER CONSOLE:

[18八月2020 15:14:05.120] [Server thread/INFO] [net.minecraftforge.common.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.advancements.PlayerAdvancements@3f183a2a
[18八月2020 15:14:05.123] [Server thread/INFO] [net.minecraft.server.management.PlayerList/]: Dev[/192.168.0.104:10376] logged in with entity id 176 at (55.5, 63.0, -44.5)
[18八月2020 15:14:05.124] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Dev joined the game
[18八月2020 15:14:05.129] [Netty Server IO #8/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize net.minecraftforge.server.command.ModIdArgument@3e41a31e (class net.minecraftforge.server.command.ModIdArgument) - will not be sent to client!
[18八月2020 15:14:05.129] [Netty Server IO #8/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize net.minecraftforge.server.command.EnumArgument@6349126 (class net.minecraftforge.server.command.EnumArgument) - will not be sent to client!
[18八月2020 15:14:05.174] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: Dev lost connection: Disconnected
[18八月2020 15:14:05.174] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Dev left the game

ON PLAYER CLIENT:

Internal Exception: io.netty.handler.codec.DecoderException: io.netty.handler.codec.EncoderException: java.io.UTFDataFormatException: malformed input around byte 9

 

Edited by HeidFanatic
Add Details
Link to comment
Share on other sites

2 hours ago, diesieben07 said:

The client log stops before the disconnect unfortunately.

I checked it for several time including repeatedly reconnecting.

I'm sure that the debug.log stop logging at the exact moment this sentence show up:

 [Netty Client IO #8/INFO] [net.minecraftforge.fml.network.NetworkHooks/]: Connected to a modded server.

Here is what I got from server console when I set -Dforge.logging.console.level=all

Gist

Edited by HeidFanatic
Link to comment
Share on other sites

45 minutes ago, HeidFanatic said:

I checked it for several time including repeatedly reconnecting.

I'm sure that the debug.log stop logging at the exact moment this sentence show up:


 [Netty Client IO #8/INFO] [net.minecraftforge.fml.network.NetworkHooks/]: Connected to a modded server.

Here is what I got from server console when I set -Dforge.logging.console.level=all

Gist

OK... Sometimes There is one more sentence after that:

[18八月2020 20:01:50.440] [Netty Client IO #2/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming func_192799_a with desc (Lnet/minecraft/network/play/server/SAdvancementInfoPacket;)V

 

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.