[Bug]: Using this modpack in crafty controller spits out this error
dovjonu opened this issue ยท 2 comments
Possible Fixes
Yes
Modpack Version
2.22 (one mod that has been modified, was kubejs, because it kept crashing while turning on prior to changing the mod)
What happened?
Crafty controller software is polling the server very often and Connectivity mod is not happy about it. I found an issue in the Connectivity github for the same problem, and it was answered as the problem of AllTheMods 10 and not Connectivity. I have also reached out to Crafty Controller support, and they said that polling a server for information is normal, they might do it more often that others, but it's not their issue.
Here is an error that is repeating every second or so:
[17:49:44] [Netty Epoll Server IO #4/ERROR] [minecraft/PacketEncoder]: Error sending packet clientbound/minecraft:disconnect
io.netty.handler.codec.EncoderException: Sending unknown packet 'clientbound/minecraft:disconnect'
at TRANSFORMER/[email protected]/net.minecraft.network.codec.IdDispatchCodec.encode(IdDispatchCodec.java:47) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.network.codec.IdDispatchCodec.encode(IdDispatchCodec.java:14) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.network.PacketEncoder.encode(PacketEncoder.java:24) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:computing_frames,re:classloading,pl:mixin:APP:connectivity.mixins.json:PacketEncoderMixin from mod connectivity,pl:mixin:APP:connectivity.mixins.json:networkstats.NettyPacketEncoderMixin from mod connectivity,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.network.PacketEncoder.encode(PacketEncoder.java:12) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:computing_frames,re:classloading,pl:mixin:APP:connectivity.mixins.json:PacketEncoderMixin from mod connectivity,pl:mixin:APP:connectivity.mixins.json:networkstats.NettyPacketEncoderMixin from mod connectivity,pl:mixin:A}
at MC-BOOTSTRAP/[email protected]/io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[netty-codec-4.1.97.Final.jar%23104!/:4.1.97.Final] {re:computing_frames,re:mixin}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {re:computing_frames,re:mixin}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection$2.write(Connection.java:528) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:classloading}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.doSendPacket(Connection.java:364) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:classloading,pl:mixin:APP:connectivity.mixins.json:AdvancedPacketErrorLogging from mod connectivity,pl:mixin:APP:connectivity.mixins.json:ConnectionMixin from mod connectivity,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.sendPacket(Connection.java:357) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:classloading,pl:mixin:APP:connectivity.mixins.json:AdvancedPacketErrorLogging from mod connectivity,pl:mixin:APP:connectivity.mixins.json:ConnectionMixin from mod connectivity,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.mixinextras$bridge$sendPacket$83(Connection.java) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:classloading,pl:mixin:APP:connectivity.mixins.json:AdvancedPacketErrorLogging from mod connectivity,pl:mixin:APP:connectivity.mixins.json:ConnectionMixin from mod connectivity,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.connectivity$wrapSend(Connection.java:758) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:classloading,pl:mixin:APP:connectivity.mixins.json:AdvancedPacketErrorLogging from mod connectivity,pl:mixin:APP:connectivity.mixins.json:ConnectionMixin from mod connectivity,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.wrapOperation$cbn000$connectivity$logErrorFor(Connection.java:750) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:classloading,pl:mixin:APP:connectivity.mixins.json:AdvancedPacketErrorLogging from mod connectivity,pl:mixin:APP:connectivity.mixins.json:ConnectionMixin from mod connectivity,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.send(Connection.java:339) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:classloading,pl:mixin:APP:connectivity.mixins.json:AdvancedPacketErrorLogging from mod connectivity,pl:mixin:APP:connectivity.mixins.json:ConnectionMixin from mod connectivity,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.send(Connection.java:333) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:classloading,pl:mixin:APP:connectivity.mixins.json:AdvancedPacketErrorLogging from mod connectivity,pl:mixin:APP:connectivity.mixins.json:ConnectionMixin from mod connectivity,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.exceptionCaught(Connection.java:168) ~[server-1.21.1-20240808.144430-srg.jar%23496!/:?] {re:mixin,re:classloading,pl:mixin:APP:connectivity.mixins.json:AdvancedPacketErrorLogging from mod connectivity,pl:mixin:APP:connectivity.mixins.json:ConnectionMixin from mod connectivity,pl:mixin:A}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1377) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:907) ~[netty-transport-4.1.97.Final.jar%23108!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.handleReadException(AbstractEpollStreamChannel.java:728) ~[netty-transport-classes-epoll-4.1.97.Final.jar%23109!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:826) ~[netty-transport-classes-epoll-4.1.97.Final.jar%23109!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:509) ~[netty-transport-classes-epoll-4.1.97.Final.jar%23109!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:407) ~[netty-transport-classes-epoll-4.1.97.Final.jar%23109!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.97.Final.jar%23105!/:4.1.97.Final] {}
at MC-BOOTSTRAP/[email protected]/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.97.Final.jar%23105!/:4.1.97.Final] {}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {re:mixin}
[17:49:44] [Netty Epoll Server IO #4/WARN] [co.co.Connectivity/]: Packet:net.minecraft.network.protocol.common.ClientboundDisconnectPacket caused an error above, printing name & data
[17:49:44] [Netty Epoll Server IO #4/WARN] [co.co.Connectivity/]: Packet data:
"ClientboundDisconnectPacket[reason=translation{key='disconnect.genericReason', args=[Internal Exception: io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer]}]"
latest.log
https://gist.github.com/dovjonu/bec1f4594abab2f53518c45046a5401a
Developer reports
Duplicate of #1814
Together with crafty developers we figured out that it's the problem of Better Compatibility Checker mod, current fix is removing Better Compatibility Checker from server-side.