How To Fix : exisiting comnection was

How to fix error pls… !!!

java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.writev0(Native Method) ~[?:1.8.0_181]
at sun.nio.ch.SocketDispatcher.writev(Unknown Source) ~[?:1.8.0_181]
at sun.nio.ch.IOUtil.write(Unknown Source) ~[?:1.8.0_181]
at sun.nio.ch.SocketChannelImpl.write(Unknown Source) ~[?:1.8.0_181]
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:432) ~[NioSocketChannel.class:?]
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:856) [AbstractChannel$AbstractUnsafe.class:?]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.forceFlush(AbstractNioChannel.java:368) [AbstractNioChannel$AbstractNioUnsafe.class:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:618) [NioEventLoop.class:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:559) [NioEventLoop.class:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:476) [NioEventLoop.class:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [NioEventLoop.class:?]

I believe that typically happens when the client force-kills the game while connected to the server. It probably is not something to worry about unless people are complain, or it is getting spammed in the console.

In the future please include the full logs via Gist or Pastebin and report versions of sponge and forge (if being used).

1 Like

Forge : forge-1.12.2-14.23.4.2705-universal
Sponge : spongeforge-1.12.2-2705-7.1.0-BETA-3417