Redis – ECONNRESET

I get this error locally after connecting to the server and doing nothing on the computer for a while.

The systems I use
Docker

  • Redis
  • Docker Redis.conf / tcp.keepalive 60
  • Local Redis connect conf / no_ready_check: true, socket_keepalive: true

Redis connection to xxx:xxx failed – read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:208:20) {
errno: ‘ECONNRESET’,
code: ‘ECONNRESET’,
syscall: ‘read’
}


i am using macbook pro and i couldn’t find a problem to cut off the network.

I wonder what caused the error?

Source: Docker Questions