Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Using this modpack in crafty controller spits out this error #1849

Closed
dovjonu opened this issue Jan 15, 2025 · 2 comments
Closed

[Bug]: Using this modpack in crafty controller spits out this error #1849

dovjonu opened this issue Jan 15, 2025 · 2 comments
Labels
Bug Something isn't working Duplicate This issue or pull request already exists Mod Bug Issue within or caused by a mod Reported to Mod Dev This issue has been reported to the mod dev

Comments

@dovjonu
Copy link

dovjonu commented Jan 15, 2025

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

someaddons/connectivity#116

@dovjonu dovjonu added the Bug Something isn't working label Jan 15, 2025
@pietro-lopes
Copy link
Contributor

Duplicate of #1814

@pietro-lopes pietro-lopes marked this as a duplicate of #1814 Jan 15, 2025
@TheBedrockMaster TheBedrockMaster added Duplicate This issue or pull request already exists Reported to Mod Dev This issue has been reported to the mod dev Mod Bug Issue within or caused by a mod labels Jan 17, 2025
@dovjonu
Copy link
Author

dovjonu commented Jan 19, 2025

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.

nanite/BetterCompatibilityChecker#26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Duplicate This issue or pull request already exists Mod Bug Issue within or caused by a mod Reported to Mod Dev This issue has been reported to the mod dev
Projects
None yet
Development

No branches or pull requests

3 participants