Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
netty java.io.IOException: Connection reset by peer caused by RST,ACK #6029
We use haproxy to do load balance, and the netty server keep to rise "java.io.IOException: Connection reset by peer"
I use tcpdump to dump the network data of the netty server, and see below
So, I am wondering if I have to handle this situation in my handler(like check exception is IOException, just ignore it, because the log is full of this exception) , or it should be handled by netty it self?
If your peer sends a RST the TCP socket will be closed. You can ignore the exception at the application level but that doesn't change the kernel's behavior. Please identify why HAProxy is sending a RST and re-open this issue if you feel it can be attributed to a bug related to Netty.