Recent Discussions
Forge Server Joining Issue
Unanswered
Polar bear posted this in #questions
52 messages
0 views
Polar bearOP
Software Forge - 47.3.25 Server
Related Plugins [Server Mods](https://pastebin.com/yeL0DhXH), [Client Mods](https://pastebin.com/xpnprKSb)
Hi,
I have a Forge server which is almost working, but it is unjoinable due to the uploaded error
I cant upload the server log or client log anywhere because theyre too big, so ill give snippets
[Client log Snippet](https://mclo.gs/zHUaG4H), [Server Log Snippet](https://mclo.gs/3v9JteB)
I have tried everything i can think of to get this to work (reinstall the mods in question, reset their configs on both Client and Server, try and remove the doors with a datapack and KubeJS, deleted the world)
If i remove dimdoors the server does the same error but with a different mod, and if i remove almostunified, it doesnt boot at all,
It was loading fine before so somthing has changed but im not sure what it is
Related Plugins [Server Mods](https://pastebin.com/yeL0DhXH), [Client Mods](https://pastebin.com/xpnprKSb)
Hi,
I have a Forge server which is almost working, but it is unjoinable due to the uploaded error
I cant upload the server log or client log anywhere because theyre too big, so ill give snippets
[Client log Snippet](https://mclo.gs/zHUaG4H), [Server Log Snippet](https://mclo.gs/3v9JteB)
I have tried everything i can think of to get this to work (reinstall the mods in question, reset their configs on both Client and Server, try and remove the doors with a datapack and KubeJS, deleted the world)
If i remove dimdoors the server does the same error but with a different mod, and if i remove almostunified, it doesnt boot at all,
It was loading fine before so somthing has changed but im not sure what it is
forge-server-joining-issue-v0-htuuymld25ie1.png
ServerLog.log
DownloadPolar bearOP
^ Dont look at that, it doesnt include the whole file, you have to use the uploaded file
Polar bearOP
Looking now. There are several other issues that aren't necessarily directly causing this, which I'll call out.
https://mclo.gs/3v9JteB#L2605
Significant performance issues. Run a Spark profiler report via the method the bot above specifies.
Significant performance issues. Run a Spark profiler report via the method the bot above specifies.
@Polar bear is this a server that you have been playing on for a while? You talk about it loading before. What is "before". What was the event that defines "before" and "after"? Did you change something?
@PM_ME_YOUR_REPO @Polar bear is this a server that you have been playing on for a while? You talk about it loading before. What is "before". What was the event that defines "before" and "after"? Did you change something?
Polar bearOP
Not quite, a friend who im playing with added more mods (without telling me) and it was then it started not working, but he said hed rather not remove what he added (though he cant remember what they were)
I can try and run a spark profiler from the console and see how tha tgoes
I can try and run a spark profiler from the console and see how tha tgoes
Yeah ive noticed it mention the client mod, though i cant pinpoint which mod it is
!binary
oh ffs do we not have that set up yet?
# How to perform a Binary Search
A Binary Search is a faster way to find out which mod or mod interaction is causing problems on your server. The brute force way would be to remove (or add) mods one by one, until the problem went away (or appeared). But with a Binary Search, you can achieve the same result MUCH faster.
Start by moving half of your mods out of your mod folder. Put them somewhere safe. Ensure that you leave required libraries behind for the mods that are not removed. Start the server. Does it throw the same error? If so, the mod (or mod interaction) that is causing the issue is in that half. If not, then the mod (or mod interaction) is in the half you removed.
Whichever half is now known to be the cause, put that half in your mods folder and then remove half of THOSE mods, putting those in another folder, separate from the first round of this process. Do the same test again, by starting your server, and identifying if the problem persists.
Continue this pattern until you narrow it down to a single mod (or small set of mods that, when together, cause the problem).
https://devopedia.org/images/article/28/2951.1490520804.gif
A Binary Search is a faster way to find out which mod or mod interaction is causing problems on your server. The brute force way would be to remove (or add) mods one by one, until the problem went away (or appeared). But with a Binary Search, you can achieve the same result MUCH faster.
Start by moving half of your mods out of your mod folder. Put them somewhere safe. Ensure that you leave required libraries behind for the mods that are not removed. Start the server. Does it throw the same error? If so, the mod (or mod interaction) that is causing the issue is in that half. If not, then the mod (or mod interaction) is in the half you removed.
Whichever half is now known to be the cause, put that half in your mods folder and then remove half of THOSE mods, putting those in another folder, separate from the first round of this process. Do the same test again, by starting your server, and identifying if the problem persists.
Continue this pattern until you narrow it down to a single mod (or small set of mods that, when together, cause the problem).
https://devopedia.org/images/article/28/2951.1490520804.gif
Polar bearOP
Okay, i was able to find and remove the singular client side mod, now just onto figuring out the error
Polar bearOP
Okay so ive gotten past that issue now, new issue (because of course) its timing me out every time i try to join
Here is the spark profile and ill send the client/server log over in a mo
https://spark.lucko.me/MV2KLdCGVY
Here is the spark profile and ill send the client/server log over in a mo
https://spark.lucko.me/MV2KLdCGVY
latest.log
DownloadPolar bearOP
Polar bearOP
Okay i fixed that too, woo, increased my timeout limit so it doesnt kick me, now all i gotta deal with is the server being over 600 ticks behind, not sure
@Polar bear Okay i fixed that too, woo, increased my timeout limit so it doesnt kick me, now all i gotta deal with is the server being over 600 ticks behind, not sure
mcfunctions (datapacks or command blocks) are taking up 2/3rds of your CPU time.
image.png
Polar bearOP
Okay, well it cant be command blocks (id imagine, as there arnt any?) So must be datapacks, is there an easy method to find the culprits or will i just have to rip a couple out and go from there
@Polar bear Okay, well it cant be command blocks (id imagine, as there arnt any?) So must be datapacks, is there an easy method to find the culprits or will i just have to rip a couple out and go from there
You'll have to binary search them.
In general, be wary of adding more than a few datapacks. They're EXTREMELY inefficient compared to mods, like easily 100x slower. So anything that is an actual Datapack that is doing more than just like, adding a recipe or something simple, it going to nuke your performance like an alien mothership glassing a planet from orbit.
The tricky thing is that some "mods" are just a datapack with a thin layer of mod paint pasted over it. You can usually tell which these are by checking the Modrinth page and seeing if the supported versions include Forge AND Datapack. I would recommend avoiding those, too.
In general, be wary of adding more than a few datapacks. They're EXTREMELY inefficient compared to mods, like easily 100x slower. So anything that is an actual Datapack that is doing more than just like, adding a recipe or something simple, it going to nuke your performance like an alien mothership glassing a planet from orbit.
The tricky thing is that some "mods" are just a datapack with a thin layer of mod paint pasted over it. You can usually tell which these are by checking the Modrinth page and seeing if the supported versions include Forge AND Datapack. I would recommend avoiding those, too.
Polar bearOP
do you think its worth switching datapacks over to mod versions if it has mod versions avaliable?
Loading...
Loading...