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

Stack Overflow | CycDemo | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    Adding the million records into Redis by Jedis lpush - Connection reset by peer: socket write error

    Stack Overflow | 7 months ago | CycDemo
    redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Connection reset by peer: socket write error
  2. 0
    samebug tip
    Set larger socket timeout (or 0 to set no timeout).
  3. 0
    samebug tip
    Upgrade your nanohttpd
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Client closed the websocket connection (safe to ignore)

  1. linxiaolong 1 times, last 7 days ago
  2. Alireza Mohamadi 2 times, last 2 months ago
  3. Nikolay Rybak 1 times, last 3 months ago
  4. Tahir 11 times, last 6 months ago
  5. serious2monkeys 7 times, last 5 months ago
6 more registered users
89 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Connection reset by peer: socket write error

    at java.net.SocketOutputStream.socketWrite0()
  2. Java RT
    SocketOutputStream.write
    1. java.net.SocketOutputStream.socketWrite0(Native Method)
    2. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
    3. java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    3 frames
  3. Jedis
    Jedis.lpush
    1. redis.clients.util.RedisOutputStream.flushBuffer(RedisOutputStream.java:31)
    2. redis.clients.util.RedisOutputStream.write(RedisOutputStream.java:54)
    3. redis.clients.util.RedisOutputStream.write(RedisOutputStream.java:44)
    4. redis.clients.jedis.Protocol.sendCommand(Protocol.java:79)
    5. redis.clients.jedis.Protocol.sendCommand(Protocol.java:63)
    6. redis.clients.jedis.Connection.sendCommand(Connection.java:84)
    7. redis.clients.jedis.BinaryClient.lpush(BinaryClient.java:281)
    8. redis.clients.jedis.Client.lpush(Client.java:205)
    9. redis.clients.jedis.Jedis.lpush(Jedis.java:869)
    9 frames
  4. com.mutu.redis
    AddJosn.main
    1. com.mutu.redis.AddJosn.add(AddJosn.java:29)
    2. com.mutu.redis.AddJosn.main(AddJosn.java:48)
    2 frames