About connection reset by peer: socket write error

After the sentinel mode is configured in the local redis, use spring to integrate redis and report an error

Caused by:  redis.clients.jedis . exceptions.JedisConnectionException :   java.net.SocketException : Connection reset by peer: socketwrite error

Solution: in redis slave sentinel.conf Add to profile

Read More: