redis连接超时了怎么解决啊,node egg-redis
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
上面是报错信息
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
超时只有一种可能,redis服务的网络不通,
解决办法
1:检查配置文件是否正确
2:查看redis服务端口是对外开放