# Logstash pipeline did not handle exception

**URL:** <https://discuss.elastic.co/t/logstash-pipeline-did-not-handle-exception/356070>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [March 25, 2024, 4:59am UTC](https://discuss.elastic.co/t/logstash-pipeline-did-not-handle-exception/356070 "2024-03-25T04:59:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThELocal\_GUiDE](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thelocal_guide/32/132949_2.png) [@ThELocal\_GUiDE](https://discuss.elastic.co/u/ThELocal_GUiDE)\
**Post date:** [March 25, 2024, 4:59am UTC](https://discuss.elastic.co/t/logstash-pipeline-did-not-handle-exception/356070/1 "2024-03-25T04:59:31Z")

</div>

Hello i am new to logstash. I was trying to send logs from filebeats to logstash then to my indexer. But after running the stack for sometime i ran into an error which im not sure of how to handle. I have used docker to containerize logstash and this error stopped my container. Can anyone explain me why?

```auto
[2024-03-22T08:20:06,372][WARN][io.netty.channel.DefaultChannelPipeline][main][96eb77f7fc811a9324d7bdd08171a2225d64172472f8b03fcc6953de2010aabf] 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.
java.net.SocketException: Connection reset
        at sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394) ~[?:?]
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426) ~[?:?]
        at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253) ~[netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132) ~[netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350) ~[netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151) ~[netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) ~[netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) ~[netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) ~[netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) [netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-all-4.1.65.Final.jar:4.1.65.Final]
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-all-4.1.65.Final.jar:4.1.65.Final]
        at java.lang.Thread.run(Thread.java:833) [?:?]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 22, 2024, 4:59am UTC](https://discuss.elastic.co/t/logstash-pipeline-did-not-handle-exception/356070/2 "2024-04-22T04:59:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
