NetworkDispatcher exception on forcibly closed remote host

Caused when players close client instead of disconnecting.

No noticeable in game or server effects.

Will post to git if this is an actual issue.

[16:56:55] [Netty Server IO #4/ERROR] [FML]: NetworkDispatcher exception An existing connection was forcibly closed by the remote ho
at Method) ~[?:1.8.0_71]
at Source) ~[?:1.8.0_71]
at Source) ~[?:1.8.0_71]
at Source) ~[?:1.8.0_71]
at Source) ~[?:1.8.0_71]
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDi ~[UnpooledUnsafeDirectByteBuf.class:4.0.23.Final]
at io.netty.buffer.AbstractByteBuf.writeBytes(
at ~[NioSocketChannel.class:4.0.23.Final]
at$ [AbstractNioByteChannel$NioByteUnsafe.class:4.0.23.Fi
a:511) [NioEventLoop.class:4.0.23.Final]
at [NioEventLoop.class:4.0.23.Final]
va:382) [NioEventLoop.class:4.0.23.Final]
at [NioEven
at io.netty.util.concurrent.SingleThreadEventExecutor$ [SingleThreadEventExecutor$2.class:4.0.23.Final]
at Source) [?:1.8.0_71]
[16:56:55] [Server thread/INFO]: Thorns_Ofire lost connection: TranslatableCompo
nent{key=‘disconnect.genericReason’, args=[Internal Exception:
on: An existing connection was forcibly closed by the remote host], siblings=[],
style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=nul
l, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[16:56:55] [Server thread/INFO]: Thorns_Ofire left the game

– System Details –
Minecraft Version: 1.8.9
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_71, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1052759544 bytes (1003 MB) / 2077753344 bytes (1981 MB) up to 10667687936 bytes (10173 MB)
JVM Flags: 3 total; -Xms2G -Xmx10G -XX:+UseConcMarkSweepGC
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.19 Powered by Forge 19 mods loaded, 19 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCHIJAAAA mcp{9.18} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{} [Forge Mod Loader] (forge-1.8.9-
UCHIJAAAA Forge{} [Minecraft Forge] (forge-1.8.9-
UCHIJAAAA sponge{1.8.9-1694-3.1.0-BETA-1084} [SpongeForge] (spongeforge-1.8.9-1694-3.1.0-BETA-1084.jar)
UCHIJAAAA AdminShop{1.3} [AdminShop] (AdminShop-1.3b.jar)
UCHIJAAAA AntiSwear{1.1.3} [AntiSwear] (AntiSwear.jar)
UCHIJAAAA nl.kippers.ArmorHUD{1.0} [ArmorHUD] (ArmorHUD v1.0.jar)
UCHIJAAAA Blood Money{0.2.8} [Blood Money] (BloodMoney.jar)
UCHIJAAAA EssentialCmds{7.0-777f4c9} [EssentialCmds] (EssentialCmds-7.0.jar)
UCHIJAAAA foxcore{0.6.2} [FoxCore] (FoxCore-v0.6.2-70-SNAPSHOT.jar)
UCHIJAAAA Kits{1.3} [Kits] (Kits-1.3.jar)
UCHIJAAAA landiscovery{1.0.1} [LanDiscovery] (landiscovery-1.0.1.jar)
UCHIJAAAA PermissionsEx{2.0-SNAPSHOT} [PermissionsEx] (PermissionsEx-Sponge.jar)
UCHIJAAAA PJP{0.7.26} [Project Portals] (ProjectPortals-3.1.0-v0.7.26.jar)
UCHIJAAAA PJW{0.6.40} [Project Worlds] (ProjectWorlds-3.1.0-v0.6.40.jar)
UCHIJAAAA PvPLogger{1.1} [PvPLogger] (PvPLogger-1.1.jar)
UCHIJAAAA TotalEconomy{1.3.1} [Total Economy] (TotalEconomy-v1.3.1.jar)
UCHIJAAAA Vanish{4.0.0} [Vanish] (vanish.jar)
UCHIJAAAA worldedit{6.1.1} [WorldEdit] (worldedit-forge-mc1.8.9-6.1.1.jar)

The client hung up without telling the server. Nothing to worry about.

Would it be possible to suppress the warning?

I don’t think it should be suppressed, there may be a case where this is happening when it shouldn’t so you would need to debug it - suppressing the error will make it more difficult.

I think this happens in vanilla too so perhaps it’s something for Mojang to fix.

1 Like

Agreed. Never good to push information aside, might be helpful one day. New platform though, thought I would make sure it’s not a relevant bug…