An exceptionCaught() event was fired

Error in log.
what does this mean?
An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.

how do I fix it?

INFO | jvm 1 | 2024/03/20 19:45:42 | at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
INFO | jvm 1 | 2024/03/20 19:45:42 | at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
INFO | jvm 1 | 2024/03/20 19:45:42 | at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
INFO | jvm 1 | 2024/03/20 19:45:42 | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
INFO | jvm 1 | 2024/03/20 19:45:42 | at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
INFO | jvm 1 | 2024/03/20 19:45:42 | at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
INFO | jvm 1 | 2024/03/20 19:45:42 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:01 | W [i.n.c.DefaultChannelPipeline ] [00:46:01]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
INFO | jvm 1 | 2024/03/20 19:46:01 | java.io.IOException: An existing connection was forcibly closed by the remote host
INFO | jvm 1 | 2024/03/20 19:46:01 | at java.base/sun.nio.ch.SocketDispatcher.read0(Native Method)
INFO | jvm 1 | 2024/03/20 19:46:01 | at java.base/sun.nio.ch.SocketDispatcher.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:01 | at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:01 | at java.base/sun.nio.ch.IOUtil.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:01 | at java.base/sun.nio.ch.IOUtil.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:01 | at java.base/sun.nio.ch.SocketChannelImpl.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:258)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
INFO | jvm 1 | 2024/03/20 19:46:01 | at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
INFO | jvm 1 | 2024/03/20 19:46:01 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:19 | W [i.n.c.DefaultChannelPipeline ] [00:46:19]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
INFO | jvm 1 | 2024/03/20 19:46:19 | java.io.IOException: An existing connection was forcibly closed by the remote host
INFO | jvm 1 | 2024/03/20 19:46:19 | at java.base/sun.nio.ch.SocketDispatcher.read0(Native Method)
INFO | jvm 1 | 2024/03/20 19:46:19 | at java.base/sun.nio.ch.SocketDispatcher.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:19 | at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:19 | at java.base/sun.nio.ch.IOUtil.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:19 | at java.base/sun.nio.ch.IOUtil.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:19 | at java.base/sun.nio.ch.SocketChannelImpl.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:258)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
INFO | jvm 1 | 2024/03/20 19:46:19 | at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
INFO | jvm 1 | 2024/03/20 19:46:19 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:36 | W [i.n.c.DefaultChannelPipeline ] [00:46:36]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
INFO | jvm 1 | 2024/03/20 19:46:36 | java.io.IOException: An existing connection was forcibly closed by the remote host
INFO | jvm 1 | 2024/03/20 19:46:36 | at java.base/sun.nio.ch.SocketDispatcher.read0(Native Method)
INFO | jvm 1 | 2024/03/20 19:46:36 | at java.base/sun.nio.ch.SocketDispatcher.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:36 | at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:36 | at java.base/sun.nio.ch.IOUtil.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:36 | at java.base/sun.nio.ch.IOUtil.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:36 | at java.base/sun.nio.ch.SocketChannelImpl.read(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:258)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
INFO | jvm 1 | 2024/03/20 19:46:36 | at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
INFO | jvm 1 | 2024/03/20 19:46:36 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2024/03/20 19:46:54 | W [i.n.c.DefaultChannelPipeline ] [00:46:54]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
INFO | jvm 1 | 2024/03/20 19:46:54 | java.io.IOException: An existing connection was forcibly closed by the remote host
INFO | jvm 1 | 2024/03/20 19:46:54 | at java.base/sun.nio.ch.SocketDispatcher.read0(Native Method)
INFO | jvm 1 | 2024/03/20 19:46:54 | at java.base/sun.nio.ch.SocketDispatcher.read(Unknown Source)

You'll need to provide the logs for more context.

I think I've seen this in code that uses the Netty library when the other side closes the connection.

What is the best program to open the log? I have downloaded the log, but any program that I open it with shows up as weird characters, I wanted to copy and paste it. part of my post.

Kindling can open the binary log files, though they are primarily meant to be sent to IA. There are text-based wrapper.log files in the logs directory wherever you installed Ignition.

1 Like

The MAX record in the store settings in the gateway for that database/ store and forward was increased to be too high for the database to handle. So it through this error.