# Connection reset by peer issue with cratedb cluster

**URL:** <https://community.cratedb.com/t/connection-reset-by-peer-issue-with-cratedb-cluster/231>\
**Category:** CrateDB\
**Created:** [June 17, 2019, 8:04am UTC](https://community.cratedb.com/t/connection-reset-by-peer-issue-with-cratedb-cluster/231 "2019-06-17T08:04:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddhesh](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@siddhesh](https://community.cratedb.com/u/siddhesh)\
**Post date:** [June 17, 2019, 8:04am UTC](https://community.cratedb.com/t/connection-reset-by-peer-issue-with-cratedb-cluster/231/1 "2019-06-17T08:04:55Z")

</div>

I have 3 nodes of cluster and 3rd node is frequently facing **Connection reset by peer** issue.

Every day I have got 30 to 40 error in log file.

Is there any way to fix this issue.

[2019-06-17T04:45:13,435][ERROR][i.c.p.p.PostgresWireProtocol] [crate3] Uncaught exception:  
java.io.IOException: Connection reset by peer  
at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0\_181]  
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:1.8.0\_181]  
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0\_181]  
at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0\_181]  
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0\_181]  
at io.netty.buffer.PooledHeapByteBuf.setBytes(PooledHeapByteBuf.java:261) ~[netty-buffer-4.1.31.Final.jar:4.1.31.Final]  
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132) ~[netty-buffer-4.1.31.Final.jar:4.1.31.Final]  
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:347) ~[netty-transport-4.1.31.Final.jar:4.1.31.Final]  
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148) [netty-transport-4.1.31.Final.jar:4.1.31.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:648) [netty-transport-4.1.31.Final.jar:4.1.31.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:548) [netty-transport-4.1.31.Final.jar:4.1.31.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:502) [netty-transport-4.1.31.Final.jar:4.1.31.Final]  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462) [netty-transport-4.1.31.Final.jar:4.1.31.Final]  
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897) [netty-common-4.1.31.Final.jar:4.1.31.Final]  
at java.lang.Thread.run(Thread.java:748) [?:1.8.0\_181]

---

<div class="post-metadata">

**Author:** ![Bhargav\_Patel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/bhargav_patel/32/101_2.png) [@Bhargav\_Patel](https://community.cratedb.com/u/Bhargav_Patel)\
**Post date:** [June 24, 2019, 6:17am UTC](https://community.cratedb.com/t/connection-reset-by-peer-issue-with-cratedb-cluster/231/2 "2019-06-24T06:17:39Z")

</div>

Can you send full stacktrace ?
