Fork me on GitHub
#minecraft
<
2022-01-16
>
raydel9506:01:43

Hello friends!!! Amazing project here!!! I was trying to run the plugin as in the first AoW video, but I’m getting this error while trying to connect to the server Internal Exception: io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (22 > 16) . Here is the whole server log:

Starting org.bukkit.craftbukkit.Main
System Info: Java 17 (Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39) Host: Mac OS X 12.0.1 (x86_64)
Loading libraries, please wait...
[00:34:23 INFO]: Environment: authHost='', accountsHost='', sessionHost='', servicesHost='', name='PROD'
[00:34:24 INFO]: Reloading ResourceManager: Default, bukkit
[00:34:25 INFO]: Loaded 7 recipes
[00:34:28 INFO]: Starting minecraft server version 1.18.1
[00:34:28 INFO]: Loading properties
[00:34:28 INFO]: This server is running Paper version git-Paper-152 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 78999b5)
[00:34:28 INFO]: Server Ping Player Sample Count: 12
[00:34:28 INFO]: Using 4 threads for Netty based IO
[00:34:28 INFO]: Default game type: SURVIVAL
[00:34:28 INFO]: Generating keypair
[00:34:29 INFO]: Starting Minecraft server on *:25565
[00:34:29 INFO]: Using default channel type
[00:34:29 INFO]: Paper: Using Java 11 compression from Velocity.
[00:34:29 INFO]: Paper: Using Java cipher from Velocity.
[00:34:30 INFO]: [Witchcraft] Loading Witchcraft v0.7.37
[00:34:30 INFO]: Server permissions file permissions.yml is empty, ignoring it
[00:34:30 INFO]: Preparing level "world"
[00:34:32 INFO]: Preparing start region for dimension minecraft:overworld
[00:34:32 INFO]: Time elapsed: 541 ms
[00:34:32 INFO]: Preparing start region for dimension minecraft:the_nether
[00:34:32 INFO]: Time elapsed: 211 ms
[00:34:32 INFO]: Preparing start region for dimension minecraft:the_end
[00:34:33 INFO]: Time elapsed: 318 ms
[00:34:33 INFO]: [Witchcraft] Enabling Witchcraft v0.7.37
[00:34:33 INFO]: [Witchcraft] Setting PluginClassloader as Context classloader: PluginClassLoader{plugin=Witchcraft v0.7.37, pluginEnabled=true, url=plugins/witchcraft-plugin-0.7.37-for-paper-1.18-shaded.jar}
[00:34:46 INFO]: [Witchcraft] Loading deps.edn
[00:34:50 INFO]: [Witchcraft] require: lambdaisland.witchcraft
[00:34:56 INFO]: [Witchcraft] require: lambdaisland.witchcraft.paper
[00:34:56 INFO]: [Witchcraft] init: (lambdaisland.witchcraft/init-xmaterial!)
[00:34:56 INFO]: [Witchcraft] init: (alter-var-root (var lambdaisland.witchcraft/server-type) (constantly :paper))
[00:34:56 INFO]: Running delayed init tasks
[00:34:56 INFO]: Done (28.647s)! For help, type "help"
[00:34:56 INFO]: Timings Reset
[00:35:02 INFO]: nREPL server started on port 25555 on host localhost - 
[00:35:08 INFO]: /127.0.0.1:63141 lost connection: Internal Exception: io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (22 > 16)
Any suggestions on what to do?

raydel9506:01:41

I tried with vanilla 1.8 and 1.8.1

plexus12:01:17

You mean 1.18 and 1.18.1, right?

yes 1
plexus12:01:52

I haven't seen this one before... shame there is no stacktrace. Is this the last thing in the log?

plexus12:01:54

finding a bunch of results when googling for that exception. Is this when starting the server, or when connecting to it from minecraft? did you start with a blank slate (empty directory) or do you have anything in there like a server.properties?

plexus12:01:41

if it's when connecting from the client then check your username, maybe it's too long?

plexus12:01:08

you're welcome to open a github issue on the plugin repo so we can track that and others with the same problem can find the conversation.

raydel9521:01:18

> finding a bunch of results when googling for that exception. Is this when starting the server, or when connecting to it from minecraft? did you start with a blank slate (empty directory) or do you have anything in there like a `server.properties`? when connecting to the server

raydel9521:01:07

> you're welcome to open a github issue on the plugin repo so we can track that and others with the same problem can find the conversation. sure!

raydel9521:01:38

thanks for the feedback!

plexus14:01:05

> when connecting to the server is it possible your username is too long?

plexus14:01:32

side note, have you tried taking out the witchcraft plugin? does that fix the problem?