Jump to content

Server works for a while then suddenly a "waiting for server" appears.


Recommended Posts

That crash is caused when something is taking too long on the main server thread.

The snapshot when it crashes suggests it could be one of 4 mods (underlined below).


java.lang.Error: ServerHangWatchdog detected that a single server tick took 180.00 seconds (should be max 0.05)

at java.util.stream.Sink$ChainedReference.begin(Sink.java:253) ~[?:?] {}

at java.util.stream.ReferencePipeline$2$1.begin(ReferencePipeline.java:173) ~[?:?] {}

at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:508) ~[?:?] {}

at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] {}

at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?] {}

at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] {}

at java.util.stream.IntPipeline.reduce(IntPipeline.java:515) ~[?:?] {}

at java.util.stream.IntPipeline.sum(IntPipeline.java:473) ~[?:?] {}

at sirttas.elementalcraft.infusion.tool.ToolInfusionHelper.getInfusionEnchantmentLevel(ToolInfusionHelper.java:110) ~[elementalcraft-1.18.2-4.4.28.jar%23134!/:1.18.2-4.4.28] {re:mixin,re:classloading}

at net.minecraft.world.item.enchantment.EnchantmentHelper.handler$bka000$getEnchantmentLevelReturn(EnchantmentHelper.java:1527) ~[server-1.18.2-20220404.173914-srg.jar%23354!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:apotheosis.mixins.json:EnchantmentHelperMixin,pl:mixin:APP:ae2.mixins.json:EnchantmentHelperMixin,pl:mixin:APP:elementalcraft.mixins.json:MixinEnchantmentHelper,pl:mixin:A}

at net.minecraft.world.item.enchantment.EnchantmentHelper.m_44843_(EnchantmentHelper.java:77) ~[server-1.18.2-20220404.173914-srg.jar%23354!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:apotheosis.mixins.json:EnchantmentHelperMixin,pl:mixin:APP:ae2.mixins.json:EnchantmentHelperMixin,pl:mixin:APP:elementalcraft.mixins.json:MixinEnchantmentHelper,pl:mixin:A}

at us.drullk.parry.ShieldParry.applyTimerBonus(ShieldParry.java:75) ~[parry-2.3.jar%23253!/:2.3] {re:classloading}

It could also be some other mod? The above is just at snapshot when the 60 second timeout occurs.


Check you have the latest versions of the above mods then contact the mod authors.


If it is none of the above mods, try using something like the following mod to see what is taking time on the server thread:


Edited by warjort


If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

  • 4 weeks later...

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.

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.