redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Connection reset by peer: socket write error

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by ritchieGitHub

Set larger socket timeout (or 0 to set no timeout).

,
via github.com by Unknown author

Upgrade your nanohttpd

Solutions on the web

via Stack Overflow by CycDemo
, 1 year ago
java.net.SocketException: Connection reset by peer: socket write error
via Stack Overflow by abi_pat
, 2 years ago
java.net.SocketException: Connection reset
via Stack Overflow by user1609085
, 2 years ago
java.net.SocketException: Software caused connection abort: socket write error
redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at redis.clients.util.RedisOutputStream.flushBuffer(RedisOutputStream.java:31)
at redis.clients.util.RedisOutputStream.write(RedisOutputStream.java:54)
at redis.clients.util.RedisOutputStream.write(RedisOutputStream.java:44)
at redis.clients.jedis.Protocol.sendCommand(Protocol.java:79)
at redis.clients.jedis.Protocol.sendCommand(Protocol.java:63)
at redis.clients.jedis.Connection.sendCommand(Connection.java:84)
at redis.clients.jedis.BinaryClient.lpush(BinaryClient.java:281)
at redis.clients.jedis.Client.lpush(Client.java:205)
at com.mutu.redis.AddJosn.add(AddJosn.java:29)
at com.mutu.redis.AddJosn.main(AddJosn.java:48)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
363 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.