Closed r-mc2 closed 3 years ago
I'm having the same issues too
Edit: Fix and cause found by @InfinitesLoop:
This can happen when singleplayer worlds are copied into servers.
Modify server-icon.png
in the server folder: If no such file exists, add one. One way to do the latter is to find icon.png
in the world directory, copy it into the root, and make it smaller or grayscale using paint or similar.
Sure thing:
Since I run the server I can check server-side to make sure it's up. So I can still click through to connect to the server anyway even though it shows it is "unavailable".
Log-wise and console wise, that's the only message that appears when I try to refresh the Servers list here.
Hmm interesting. Our dev server and play server don't have this issue, I wonder what's up. Did you add any mods, on client or server?
Sure thing:
Since I run the server I can check server-side to make sure it's up. So I can still click through to connect to the server anyway even though it shows it is "unavailable".
Log-wise and console wise, that's the only message that appears when I try to refresh the Servers list here.
The behavior is exactly the same. With no modifications to the mod pack whatsoever.
I don't know if it matters. But this error happened even while I was just publishing the world on the lan. My friends could connect if I gave them my ip, but it would result as unreachable in the multiplayer menu.
After a while I moved the world from my single player client to a dedicated server. But it does the same thing. Really weird 🤔
Yes, we did add 3 mods to the pack overall. Could be part of the issue? Although if Firestorm is having the same issue without the additional mods, I am not sure. Perhaps a situation of taking the same world from v0.3.2 to v0.3.4, then up to v0.3.5? Upgrading along the way.
i.e. maybe some lingering file from a previous version is keeping extra data in the query return that's overloading the limit?
Perhaps a situation of taking the same world from v0.3.2 to v0.3.4, then up to v0.3.5? Upgrading along the way.
Then the official server should have the same issue, it doesn't skip versions :/
I don't know ><
Hmm, well one last thing to mention, whether it factors or not, this was originally a v0.3.2 single-player world I converted to a server to help alleviate load on my own machine. The upgrades to 0.3.4 and 0.3.5 were done after it was already a server. To mention the v0.3.2 server (converted from a SSP world) worked fine in the Servers list.
A secondary thing, do we know what exactly the server is aggregating from to produce that packet of data that is now too large? Maybe could help us figure out where this extra bloat has come from.
I assume it's the datapack in the kubejs/data
folder :)
datapacks only get synced on join.
That said I don't know what might be the cause here.
Hmm, well I know when upgrading the server I always started with a fresh Kubejs folder. Started fresh with all the folders in the server zip for that matter. Backported some config changes, but those were mostly around where FTBBackups puts the backups + restoring the config files for the 3 added mods.
Random thought backed up by no real data, but could it have something to do with the packmenu/
folder? The assets and information that looks directly related to how the server shows up in the Servers list?
Random thought backed up by no real data, but could it have something to do with the packmenu/ folder? The assets and information that looks directly related to how the server shows up in the Servers list?
Nope unfortunately not, the packmenu assets are client side only and haven't changed in quite some time.
Hrm, darn. It was a shot in the dark 😄
I took at look again at the byte size that the console error mentioned, then looked at the server folder hoping to find anything that seemed to be about 32Kb in size (32.4169921875 Kb
). But I'm not really familiar enough with the pack's whole layout or what Minecraft decides to aggregate out of these files/folders to get that 32k data set.
May I have a screenshot of your server folder? :)
Since i have the same problem i could provide it if you want
Yes please.
Ok, give me one sec
just noticed the folder called DELETE ME. Maybe i should...
Interesting O_o did you try that? Which Forge version are you using?
I've only had this issue trying to using my own server-icon.png
Have you modified anything that would display on the serverlist (MOTD, Player Slots, Icon?)
Maybe try a fresh unmodified E6 server properties file.
Sorry for the delay, got caught up messing with automation of Powah's Orb... 😫
Directory: <App_Dir>\Enigmatica 6 - E6
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 12/29/2020 10:25 PM .mixin.out
d----- 1/3/2021 8:29 PM backups
d----- 12/29/2020 10:26 PM building_gadgets_patterns
d----- 1/10/2021 2:34 PM config
d----- 1/7/2021 3:35 PM config[0.3.2].bak
d----- 1/8/2021 7:50 PM config[0.3.4].bak
d----- 1/7/2021 11:58 PM crash-reports
d----- 1/8/2021 8:18 PM defaultconfigs
d----- 1/8/2021 8:25 PM downloads
d----- 12/29/2020 10:26 PM emojiful
d----- 12/31/2020 6:35 PM ESM
d----- 1/8/2021 8:18 PM kubejs
d----- 12/29/2020 10:26 PM local
d----- 1/11/2021 4:20 PM logs
d----- 1/8/2021 8:25 PM mods
d----- 12/29/2020 10:27 PM packmenu
d----- 12/29/2020 10:27 PM patchouli_books
d----- 1/8/2021 8:25 PM resourcepacks
d----- 1/8/2021 8:25 PM saves
d----- 1/9/2021 4:32 PM schematics
d----- 12/24/2020 12:47 AM themes
-a---- 1/10/2021 2:34 PM 44 BotaniaVars.dat
-a---- 1/11/2021 4:21 PM 0 dir_output.txt
-a---- 1/10/2021 2:35 PM 6516 knownkeys.txt
-a---- 1/8/2021 8:18 PM 24334 manifest.json
-a---- 1/11/2021 4:20 PM 867195 minecraftinstance.json
-a---- 1/10/2021 2:35 PM 73 mode.json
-a---- 1/8/2021 8:18 PM 29695 modlist.html
-a---- 1/9/2021 9:59 PM 14417 options.txt
-a---- 1/11/2021 12:12 AM 16812 patchouli_data.json
-a---- 1/10/2021 2:34 PM 772 reauth.toml
-a---- 1/4/2021 3:55 PM 12640 servers.dat
-a---- 1/4/2021 3:55 PM 71 servers.dat_old
-a---- 1/8/2021 8:51 PM 112 usercache.json
-a---- 12/22/2020 11:24 PM 61 usernamecache.json
That looks like client files?
Have you modified anything that would display on the serverlist (MOTD, Player Slots, Icon?)
You may be on to something. I did update my MOTD with the pack version at the front of the default one the devs here added:
[0.3.5] Enigmatica 6 Server
That looks like client files?
Some, yes. I did the "quick and dirty" zip up the client dir and copy to the server dir, then replace with the specific server files from the ZIP you all provide.
Does removing [0.3.5]
help?
Some, yes. I did the "quick and dirty" zip up the client dir and copy to the server dir, then replace with the specific server files from the ZIP you all provide.
Please use the server files :P
Interesting O_o did you try that? Which Forge version are you using?
I did, but nothing changed unfortunately. Those files were leftovers from the forge installer that came with the server I think
I've only had this issue trying to using my own server-icon.png
Have you modified anything that would display on the serverlist (MOTD, Player Slots, Icon?)
Maybe try a fresh unmodified E6 server properties file.
I changed nothing. I only removed spawn protection because it was messing with our house 😅
If you are curious I could zip and give you the entire server folder! It's not a game breaking bug, It's just really odd
That'd be nice actually :)
Will do right now
Please use the server files :P
You wouldn't happen to know which ones I should remove? 😄
I do not, the script I made that generates the server files knows very well though :P
https://silvavault.duckdns.org/nextcloud/s/KTgnitCfikMKp6j here you go! In theory this is a server with just a world from a single player game. It should be as untouched as possibile
NextcloudNextcloud - a safe home for all your data
Oh yeah I forgot. In the mods folder I installed vivecraft forge extensions because I wanted to try playing in VR. Unfortunately the mod pack crashes instantly. Anyway I had the problem even before adding that mod
(love how friendly you are guys 😁)
Please try removing the packmenu folder from the server.
Unfortunately it didn't fix it
just noticed this from the client log. Every time i try to ping this error pops up. looks like the problem is client side? maybe ?
So, apparently in my rush to respond I whole-derped and actually gave you the dir
output of the client after all 😩
Comparing the current actual server folder:
Directory of C:\Servers\Minecraft Modded
01/11/2021 10:29 PM <DIR> .
01/11/2021 10:29 PM <DIR> ..
01/04/2021 03:36 PM <DIR> .mixin.out
01/04/2021 03:35 PM 39,605 1.16.4.json
01/11/2021 10:18 PM <DIR> 2020
01/08/2021 02:55 AM <DIR> backups
01/08/2021 09:35 PM 2 banned-ips.json
01/08/2021 09:35 PM 2 banned-players.json
01/08/2021 09:33 PM <DIR> config
01/08/2021 09:30 PM <DIR> crash-reports
01/08/2021 09:02 PM <DIR> defaultconfigs
01/04/2021 03:36 PM 11 eula.txt
01/07/2021 04:37 PM 209,636 forge-1.16.4-35.1.29.jar
01/07/2021 04:37 PM 1,866,428 installer.log
01/08/2021 09:02 PM <DIR> kubejs
01/07/2021 04:37 PM <DIR> libraries
01/04/2021 04:52 PM <DIR> local
01/11/2021 12:13 AM <DIR> logs
01/07/2021 04:37 PM 37,961,464 minecraft_server.1.16.4.jar
01/08/2021 09:34 PM 73 mode.json
01/08/2021 09:32 PM <DIR> mods
01/10/2021 02:44 PM 275 ops.json
01/08/2021 09:02 PM <DIR> packmenu
01/08/2021 09:02 PM <DIR> patchouli_books
11/10/2020 03:04 PM 1,184 server-guide.txt
11/10/2020 03:04 PM 3,296 server-start-license.md
11/10/2020 03:04 PM 690 server-start-readme.md
11/10/2020 03:04 PM 45,884 server-start.bat
11/10/2020 03:04 PM 10,203 server-start.sh
01/11/2021 04:24 PM 1,136 server.properties
01/08/2021 09:12 PM 718 settings.cfg
01/11/2021 06:24 PM 435 usercache.json
01/09/2021 08:17 PM 228 usernamecache.json
01/09/2021 08:14 PM 348 whitelist.json
20 File(s) 40,141,618 bytes
15 Dir(s) 12,881,661,952 bytes free
(2020
is the world folder)
to a clean fresh install of the server with zero modifications:
Directory of C:\Servers\Test
01/11/2021 10:29 PM <DIR> .
01/11/2021 10:29 PM <DIR> ..
01/11/2021 10:23 PM <DIR> .mixin.out
01/11/2021 10:22 PM 39,605 1.16.4.json
01/11/2021 10:25 PM 2 banned-ips.json
01/11/2021 10:25 PM 2 banned-players.json
01/11/2021 10:23 PM <DIR> config
01/11/2021 10:20 PM <DIR> defaultconfigs
01/04/2021 03:36 PM 11 eula.txt
01/11/2021 10:22 PM 1,865,686 forge-1.16.4-35.1.29-installer.jar.log
01/11/2021 10:22 PM 209,636 forge-1.16.4-35.1.29.jar
01/11/2021 10:20 PM <DIR> kubejs
01/11/2021 10:22 PM <DIR> libraries
01/11/2021 10:26 PM <DIR> local
01/11/2021 10:23 PM <DIR> logs
01/11/2021 10:22 PM 37,961,464 minecraft_server.1.16.4.jar
01/11/2021 10:24 PM 71 mode.json
01/11/2021 10:20 PM <DIR> mods
01/11/2021 10:25 PM 2 ops.json
01/11/2021 10:20 PM <DIR> packmenu
01/11/2021 10:20 PM <DIR> patchouli_books
11/10/2020 03:04 PM 1,184 server-guide.txt
11/10/2020 03:04 PM 3,296 server-start-license.md
11/10/2020 03:04 PM 690 server-start-readme.md
11/10/2020 03:04 PM 45,884 server-start.bat
11/10/2020 03:04 PM 10,203 server-start.sh
01/11/2021 10:24 PM 1,138 server.properties
01/03/2021 04:02 PM 717 settings.cfg
01/11/2021 10:25 PM 2 usercache.json
01/11/2021 10:25 PM 2 whitelist.json
01/11/2021 10:26 PM <DIR> world
19 File(s) 40,139,595 bytes
13 Dir(s) 12,881,657,856 bytes free
The only different file I can see is usernamecache.json
exists in the actual server vs the clean server and I assume that's only because the clean server never had anyone connect to it considering this file has the usernames and MD5 hashes of those players I know have been on the real server.
I also tried changing the MOTD. Reduced it all the way down to Enigmatica
for extreme brevity. Error says the data packet is actually bigger than it used to be:
[22:44:20] [Netty Server IO #1/ERROR] [minecraft/NettyPacketEncoder]:
io.netty.handler.codec.EncoderException:
String too big (was 33470 bytes encoded, max 32767)
When I first reported this issue the byte size was 33195 bytes
.
I just downloaded 0.3.5 for the first time today, trying to get it setup on Heavy Node, ran the install script on my local PC then uploaded the folder to Heavy Node. After that I merged region files from the official curseforge Skyblock 4 map. I'm getting the same issue, server throws error any time I refresh the server list page, and it doesn't show the server status or MOTD.
I'm also getting alot of other errors on boot that are not related to this, but here is the entire log anyway. https://raw.githubusercontent.com/Ev1dentFir3/Console-Logs/main/log.log
I'm almost positive this is related to the world folder some how because when I generate a blank standard world it fixes the issue. Would love to get this to work with skyblock.
Hmm. Would one of you mind removing the mod RecipeBuffers from server and client, and trying again?
I'll try right now
nope 😥
So, decided to try and dig a bit deeper than just the main files/dirs in the root directory. Threw it into BeyondCompare to do the digging for me:
Almost nothing is really different that I can see, at least that shouldn't be different (e.g. whitelist, settings, server props, the addition of the 3 mods mentioned earlier, etc)
Anything jump out at you all?
(Edit: Ignore dir_output
and dir_blank_output
those were where I dumped the dir
commands you see above)
What are you comparing there? 😄
Ahh, sorry.
Left: Current Server Install <-----> Right: Clean Server Install (unmodified)
Hmm, what's the difference in settings.cfg
? Just RAM?
May I see the server.properties
file for your server?
server.properties
:
(Same comparison to above. Left is current server, right is clean install)
settings.cfg
; Just the changes I've made
MAX_RAM=10G
HIGH_CPU_PRIORITY=1
Modpack version v0.3.5
Issue Ever since updating past v0.3.2 the client's Servers list has been unable to query the server for its information. Every time I refresh the Servers page I get this on the remote server's console:
[21:23:50] [Netty Server IO #1/ERROR] [minecraft/NettyPacketEncoder]: io.netty.handler.codec.EncoderException: String too big (was 33195 bytes encoded, max 32767)
Not sure which mod may be doing it or if it's just the pack has gotten large enough to blow past this limit.
It currently does not effect one's ability to connect to the server, but hard to tell if it is ever really down.