Can someone read out the error code?

Cr
- in Servers
18

We have a Minecraft server and are constantly being kicked with the following error code: "Name" lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: LazyOptional is empty or otherwise returned null from getValue () unexpectedly

Here again from the log file:

[11Jan2021 11: 26: 17.434] [Netty Epoll Server IO # 6 / ERROR] [net.minecraft.network.NettyPacketEncoder /]: java.lang.IllegalStateException: LazyOptional is empty or otherwise returned null from getValue () unexpectedly

[11Jan2021 11: 26: 17.482] [Server thread / INFO] [net.minecraft.network.play.ServerPlayNetHandler /]: "Name" lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang. IllegalStateException: LazyOptional is empty or otherwise returned null from getValue () unexpectedly

[11Jan2021 11: 26: 17.482] [Server thread / INFO] [net.minecraft.server.dedicated.DedicatedServer /]: "Name" left the game

Da

Do you host the Minecraft server or with which host?

Fo

Yes connection problems apparently

Cr

I got the server from G-Portal.

Da

Can your friends be on the server?

Da

Do you get the MODT displayed?

Da

What kind of server version is running on the server? (Bukkit, Spigot, normal vanilla, Forge, …)

Cr

Yes, everyone can always go on for a short time and then get kicked. Some more, some less.

Cr

The latest version of Forge. 1.16.4-forge-35.1.36

Cr

What is MODT?

Da

Make an ICMP echo request.

So take the IP / address and enter it in your console.

ping IPADDRESS -t

If there's time, the ping should now be available. If you only get timeout errors, then contact your hoster support.

Da

Do you have mods installed on the server?

Da

Will the server stay online? Or does he continuously write in the log?

Cr

Yup

Cr

Yes, he stays and he writes all the time.

Da

Your server seems to keep restarting. All mods out at night. (Rename the Mods folder) and see if it boots. And then comes to a standstill at some point.

You can also look in the crashes folder to see whether log files were created there. Please upload the latest to hastebin.com.

Cr

I don't get it saved on Hastebin - "something went wrong". Do you have Discord? If so and if you want, you can contact me, maybe it will be better there. Floris # 7474

Da

FA is out

Da
1

For everything that comes afterwards to look for a solution. The mod https://github.com/...ssues/4547 has problems for the 1.16.4