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

Immediate server disconnect - Failed to decode packet 'clientbound/minecraft:recipe' #137

Open
2 tasks
Eucrante opened this issue Jan 8, 2025 · 0 comments
Open
2 tasks

Comments

@Eucrante
Copy link

Eucrante commented Jan 8, 2025

Minecraft version

1.21.1

Farmer's Delight version

2.1.10

Fabric Loader version

0.16.9

Fabric API version

0.114.0+1.21.1

Description

I'm trying to create a modded fabric server, which is currently only running locally (haven't port forwarded successfully yet). The server itself launches fine when Farmer's Delight Refabricated is on it, but immediately disconnects me (although according to the terminal I am briefly in the world.) This is only a server thing; I can create, play in, etc a singleplayer world with these mods just fine. I can connect normally without specifically Farmer's Delight. Any clues? I'd really hate to leave this off the mods list, as everyone loves it.

I did check that every mod file is identical between instances, except two client side (LambDynamicLights and 3D skin layers, but again, those work fine without Delight.) The dependencies are also not creating the issue, I can connect just fine without removing them. I've tested a few versions of Farmer's Delight, and that didn't work either.

Steps to reproduce

  • attempt to connect to server

Mod list

architectury: Architectury 13.0.8
athena: Athena 4.0.1
balm-fabric: Balm 21.0.22
kuma_api: KumaAPI 21.0.5-SNAPSHOT
chipped: Chipped 4.0.2
cloth-config: Cloth Config v15 15.0.140
cloth-basic-math: cloth-basic-math 0.6.1
elytra-drag: Elytra Drag 0.4-1.21+
elytraslot: Elytra Slot 9.0.1+1.21.1
everycomp: Every Compat 1.21-2.8.3
fabric-api: Fabric API 0.114.0+1.21.1
fabric-api-base: Fabric API Base 0.4.42+6573ed8c19
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.70+b559734419
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.31+d527f9fd19
fabric-block-api-v1: Fabric Block API (v1) 1.0.22+0af3f5a719
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.10+6573ed8c19
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.52+0af3f5a719
fabric-client-tags-api-v1: Fabric Client Tags 1.1.15+6573ed8c19
fabric-command-api-v1: Fabric Command API (v1) 1.2.49+f71b366f19
fabric-command-api-v2: Fabric Command API (v2) 2.2.28+6ced4dd919
fabric-commands-v0: Fabric Commands (v0) 0.2.66+df3654b319
fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.18+b559734419
fabric-convention-tags-v1: Fabric Convention Tags 2.1.2+7f945d5b19
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.9.2+e60e56d419
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.29+0af3f5a719
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.4.0+da19b51a19
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.25+16c4ae2519
fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.0+6fc22b9919
fabric-entity-events-v1: Fabric Entity Events (v1) 1.7.0+2122d82819
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.13+ba9dae0619
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.53+6ced4dd919
fabric-item-api-v1: Fabric Item API (v1) 11.1.1+d5debaed19
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.6+6823f7cd19
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.47+0af3f5a719
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.45+df3654b319
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.5.0+01d9a51c19
fabric-loot-api-v2: Fabric Loot API (v2) 3.0.15+3f89f5a519
fabric-loot-api-v3: Fabric Loot API (v3) 1.0.3+3f89f5a519
fabric-message-api-v1: Fabric Message API (v1) 6.0.13+6573ed8c19
fabric-model-loading-api-v1: Fabric Model Loading API (v1) 2.0.0+fe474d6b19
fabric-networking-api-v1: Fabric Networking API (v1) 4.3.0+c7469b2119
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.2.1+40875a9319
fabric-particles-v1: Fabric Particles (v1) 4.0.2+6573ed8c19
fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.14+248df81c19
fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.2.0+34f5d91419
fabric-renderer-api-v1: Fabric Renderer API (v1) 3.4.0+c705a49c19
fabric-renderer-indigo: Fabric Renderer - Indigo 1.7.0+c705a49c19
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.68+df3654b319
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.48+73761d2e19
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.6+1daea21519
fabric-rendering-v0: Fabric Rendering (v0) 1.1.71+df3654b319
fabric-rendering-v1: Fabric Rendering (v1) 5.0.5+df16efd019
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.3.0+8dc279b119
fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.3.1+5b5275af19
fabric-screen-api-v1: Fabric Screen API (v1) 2.0.25+8b68f1c719
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.88+b559734419
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.23+6573ed8c19
fabric-transfer-api-v1: Fabric Transfer API (v1) 5.4.2+c24bd99419
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.2.0+45b9699719
fabricloader: Fabric Loader 0.16.9
farmersdelight: Farmer's Delight 1.21.1-2.2.8+refabricated
mm: Manningham Mills 2.3
porting_lib_base: Porting Lib Base 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_accessors: Porting Lib Accessors 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_asm: Porting Lib ASM 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_attributes: Porting Lib Attributes 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_common: Porting Lib Common 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_entity: Porting Lib Entity 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_extensions: Porting Lib Extensions 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_fluids: Porting Lib Fluids 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_gui_utils: Porting Lib Gui Utils 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_mixin_extensions: Porting Lib Mixin Extensions 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_tags: Porting Lib Tags 3.0
porting_lib_transfer: Porting Lib Transfer 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_config: Porting Lib Config 3.1.0-beta.47.hotfix.2+1.21.1
com_electronwill_night-config_core: core 3.8.0
com_electronwill_night-config_toml: toml 3.8.0
porting_lib_item_abilities: Porting Lib Item Abilities 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_blocks: Porting Lib Blocks 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_level_events: Porting Lib Level Events 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_lazy_registration: Porting Lib Lazy Register 3.1.0-beta.47.hotfix.2+1.21.1
mixinextras: MixinExtras 0.5.0-beta.3
porting_lib_core: Porting Lib Core 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_gametest: Porting Lib GameTest 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_loot: Porting Lib Loot 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_conditions: Porting Lib Conditions 3.1.0-beta.47.hotfix.2+1.21.1
porting_lib_recipe_book_categories: Porting Lib Recipe Book Categories 3.1.0-beta.47.hotfix.2+1.21.1
geophilic: Geophilic 3.1.5
incendium: Incendium 5.4.3
java: OpenJDK 64-Bit Server VM 21
lambdynlights: LambDynamicLights 3.1.4+1.21.1
pride: Pride Lib 1.2.1+1.21
spruceui: SpruceUI 5.1.0+1.21
lootr: Lootr 1.21-1.10.34.86
midnightlib: MidnightLib 1.6.3
minecraft: Minecraft 1.21.1
moonlight: Moonlight Lib 1.21-2.17.12
natures_spirit: Nature's Spirit 2.1.0-1.21.1
nullscape: Nullscape 1.2.10
repurposed_structures: Repurposed Structures 7.5.12+1.21.1-fabric
resourcefullib: Resourceful Lib 3.0.11
com_teamresourceful_bytecodecs: bytecodecs 1.1.2
com_teamresourceful_yabn: yabn 1.0.3
roughlyenoughitems: Roughly Enough Items 16.0.788
error_notifier: Error Notifier 1.0.11
skinlayers3d: 3d-Skin-Layers 1.7.4
structory: Structory 1.3.9
supplementaries: Supplementaries 1.21-3.0.30-beta
mixinsquared: MixinSquared 0.1.1
terrablender: TerraBlender 4.1.0.8
trinkets: Trinkets 3.10.0
cardinal-components-base: Cardinal Components API (base) 6.1.0
cardinal-components-entity: Cardinal Components API (entities) 6.1.0
waystones: Waystones 21.1.5

Logs

---- Minecraft Network Protocol Error Report ----
// Don't worry, I'll be fine

Time: 2025-01-08 13:01:24
Description: Packet handling error

io.netty.handler.codec.DecoderException: Failed to decode packet 'clientbound/minecraft:recipe'
at knot//net.minecraft.class_9136.method_56425(class_9136.java:38)
at knot//net.minecraft.class_9136.decode(class_9136.java:14)
at knot//net.minecraft.class_2543.decode(class_2543.java:31)
at knot//io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529)
at knot//io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:468)
at knot//io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.flow.FlowControlHandler.dequeue(FlowControlHandler.java:202)
at knot//io.netty.handler.flow.FlowControlHandler.channelRead(FlowControlHandler.java:164)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
at knot//io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
at knot//io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333)
at knot//io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:454)
at knot//io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at knot//io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at knot//io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at knot//io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at knot//io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at knot//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at knot//io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at knot//io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(12) + length(1) exceeds writerIndex(12): PooledUnsafeDirectByteBuf(ridx: 12, widx: 12, cap: 12)
at knot//io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442)
at knot//io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:730)
at knot//net.minecraft.class_8703.method_53016(class_8703.java:28)
at knot//net.minecraft.class_2540.method_10816(class_2540.java:484)
at knot//net.minecraft.class_2540.method_34068(class_2540.java:147)
at knot//net.minecraft.class_2540.method_34066(class_2540.java:163)
at knot//net.minecraft.class_2713.(class_2713.java:39)
at knot//net.minecraft.class_9139$6.decode(class_9139.java:37)
at knot//net.minecraft.class_9139$9.method_56441(class_9139.java:91)
at knot//net.minecraft.class_9139$9.decode(class_9139.java:87)
at knot//net.minecraft.class_9136.method_56425(class_9136.java:36)
... 45 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Netty Client IO #1
Stacktrace:
at knot//net.minecraft.class_2547.method_55622(class_2547.java:33)

-- Connection --
Details:
Protocol: play
Flow: CLIENTBOUND
Server type: OTHER
Server brand: vanilla
Stacktrace:
at knot//net.minecraft.class_2547.method_55622(class_2547.java:33)
at knot//net.minecraft.class_2600.method_59803(class_2600.java:62)
at knot//net.minecraft.class_8673.method_60882(class_8673.java:136)
at knot//net.minecraft.class_8673.method_60881(class_8673.java:127)
at knot//net.minecraft.class_2535.exceptionCaught(class_2535.java:161)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317)
at knot//io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:143)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:447)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.flow.FlowControlHandler.dequeue(FlowControlHandler.java:202)
at knot//io.netty.handler.flow.FlowControlHandler.channelRead(FlowControlHandler.java:164)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
at knot//io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
at knot//io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333)
at knot//io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:454)
at knot//io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at knot//io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
at knot//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at knot//io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at knot//io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at knot//io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at knot//io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at knot//io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at knot//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at knot//io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at knot//io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.base/java.lang.Thread.run(Unknown Source)

Minimal instance

  • I have tested this on a minimal instance

Performance and shader mods

  • I am using performance or shader mods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant