2019-06-28 17:20:06,587 WARN 10960 [ClusterClient:Watcher] follower closed, and try to init it again
2019-06-28 17:20:06,593 ERROR 792 nodejs.ClusterClientNoResponseError: client no response in 3151986ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side.
at Timeout.Leader._heartbeatTimer.setInterval [as _onTimeout] (C:\Users\lenovo\Desktop\haowuadmin\node_modules\cluster-client\lib\leader.js:77:23)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
name: "ClusterClientNoResponseError"
pid: 792
hostname: DESKTOP-699PGPQ
2019-06-28 17:20:16,569 ERROR 10960 [egg-redis] client error: Error: read ECONNRESET
2019-06-28 17:20:16,576 ERROR 10960 nodejs.ECONNRESETError: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
errno: "ECONNRESET"
code: "ECONNRESET"
syscall: "read"
name: "ECONNRESETError"
pid: 10960
hostname: DESKTOP-699PGPQ
上面是报错信息
超时只有一种可能,redis服务的网络不通,
解决办法
1:检查配置文件是否正确
2:查看redis服务端口是对外开放