Canary

Canary

6M Downloads

Canary doesn't allow player to join server, tried installing neurina but didn't helped

SpinoFTW opened this issue ยท 4 comments

commented

Read me before you open an issue!

Instructions

This is a template for the issue you are about to open! It will help you provide the information necessary
to complete your bug report. Before you open an issue, ensure you've completed every step on the checklist below.

  • Have you used the search tool to find similar issues? Make sure you are not opening a duplicate.
  • Are you using the latest version of the mod? If not, try updating to see if it resolves your issue.

All good? Please read through the sections below, and fill out any lines starting with an arrow. Then, remove
everything above this dashed line (including the line itself.)


Version Information

Replace this text with the exact version of the mod you are using. Every part of the version is important! If you
do not know what version you are using, look at the file name in your "mods" folder.

Example: canary-mc1.20.1-0.3.2

Expected Behavior

Replace this text with what you expected to happen.

Example: Player tries to join server and doesn't get kicked

Actual Behavior

Replace this text with what actually happened.

Example: get kicked due to internal server error

Reproduction Steps

Provide information on how to reproduce this bug. You can either fill this section in like the example below
or do something else -- just make sure your instructions are minimal and clear, as other people will need to be able
to replicate your issue.

Example:

  1. install canary and neurina
  2. join server and ticking entity occur
    https://mcpaste.io/dcafc885c4de7255

Other Information

we tried to install neurina because the server kept crashing after someone joins

Provide a list of any other mods you are using, along with their respective versions. If you have any screenshots,
videos, or other information that you feel is necessary to explain the issue, feel free to attach them here.

commented

Please add this line mixin.entity.collisions=false in canary.properties file located in the config folder and see if the issue is fixed until i release a fix.

We're having a similar issue on our server, going to try this suggested fix and see if it resolves our ticking player kicks

[23Feb2024 11:51:05.607] [Server thread/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/multiplayer/PlayerInfo for invalid dist DEDICATED_SERVER
[23Feb2024 11:51:05.692] [Server thread/WARN] [neruina/]: Neruina Caught Exception
net.minecraft.ReportedException: Canary Class Analysis
	at net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:530) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.mixinextras$bridge$m_9240_$152(ServerGamePacketListenerImpl.java) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at com.bawnorton.neruina.handler.NeruinaTickHandler.safelyTickPlayer$notTheCauseOfTickLag(NeruinaTickHandler.java:63) ~[neruina-1.3.0-forge+1.18.2-1.20.1.jar%23521!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.wrapOperation$bcb000$catchTickingPlayer(ServerGamePacketListenerImpl.java:4296) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_9933_(ServerGamePacketListenerImpl.java:262) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.network.Connection.m_129483_(Connection.java:263) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:142) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:907) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:283) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/PlayerInfo for invalid dist DEDICATED_SERVER
	at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:57) ~[fmlloader-1.20.1-47.2.17.jar%2369!/:1.0]
	at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.9.jar%2355!/:?]
	at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.9.jar%2355!/:?]
	at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar%2355!/:?]
	at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.10.jar:?]
	at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.10.jar:?]
	at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.10.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
	at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
	at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
	at java.lang.Class.getDeclaredMethod(Class.java:2673) ~[?:?]
	at com.abdelaziz.canary.common.reflection.ReflectionUtil.hasMethodOverride(ReflectionUtil.java:23) ~[canary-mc1.20.1-0.3.3.jar%23395!/:0.3.3]
	at com.abdelaziz.canary.common.entity.EntityClassGroup.lambda$static$0(EntityClassGroup.java:30) ~[canary-mc1.20.1-0.3.3.jar%23395!/:0.3.3]
	at com.abdelaziz.canary.common.entity.EntityClassGroup.testAndAddClass(EntityClassGroup.java:78) ~[canary-mc1.20.1-0.3.3.jar%23395!/:0.3.3]
	at com.abdelaziz.canary.common.entity.EntityClassGroup.contains(EntityClassGroup.java:61) ~[canary-mc1.20.1-0.3.3.jar%23395!/:0.3.3]
	at com.abdelaziz.canary.common.world.WorldHelper.getEntitiesForCollision(WorldHelper.java:41) ~[canary-mc1.20.1-0.3.3.jar%23395!/:0.3.3]
	at com.abdelaziz.canary.common.entity.CanaryEntityCollisions$1$1.computeNext(CanaryEntityCollisions.java:106) ~[canary-mc1.20.1-0.3.3.jar%23395!/:0.3.3]
	at com.abdelaziz.canary.common.entity.CanaryEntityCollisions$1$1.computeNext(CanaryEntityCollisions.java:94) ~[canary-mc1.20.1-0.3.3.jar%23395!/:0.3.3]
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:146) ~[guava-31.1-jre.jar%2374!/:?]
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:141) ~[guava-31.1-jre.jar%2374!/:?]
	at com.abdelaziz.canary.common.entity.CanaryEntityCollisions.doesBoxCollideWithHardEntities(CanaryEntityCollisions.java:62) ~[canary-mc1.20.1-0.3.3.jar%23395!/:0.3.3]
	at net.minecraft.world.level.Level.m_45756_(Level.java:4044) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.level.CollisionGetter.m_45786_(CollisionGetter.java:44) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.entity.LivingEntity.m_20984_(LivingEntity.java:3128) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at com.faboslav.friendsandfoes.entity.PlayerIllusionEntity.tryToTeleport(PlayerIllusionEntity.java:230) ~[friendsandfoes-forge-mc1.20.1-2.0.9.jar%23476!/:?]
	at net.minecraft.world.entity.player.Player.friendsandfoes_createIllusion(Player.java:12969) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.entity.player.Player.friendsandfoes_createIllusions(Player.java:12915) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.entity.player.Player.handler$dia000$friendsandfoes_tryUseTotems(Player.java:12861) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.entity.player.Player.m_6469_(Player.java) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.level.ServerPlayer.m_6469_(ServerPlayer.java:695) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.effect.MobEffect.m_6742_(MobEffect.java:63) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.effect.MobEffectInstance.m_19550_(MobEffectInstance.java:204) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.effect.MobEffectInstance.m_19552_(MobEffectInstance.java:171) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.entity.LivingEntity.m_21217_(LivingEntity.java:758) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.entity.LivingEntity.m_6075_(LivingEntity.java:432) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.entity.Entity.m_8119_(Entity.java:422) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2259) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.world.entity.player.Player.m_8119_(Player.java:241) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	at net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:467) ~[server-1.20.1-20230612.114412-srg.jar%23609!/:?]
	... 12 more

edit:
Following up, this seems to have resolved our problem. No more ticking player kicks

commented

I have had my server crash many times due to this. If you need additional crash-reports, please let me know.

commented

Please add this line mixin.entity.collisions=false in canary.properties file located in the config folder and see if the issue is fixed until i release a fix.

commented

This seems to have fixed the problem