Redis一旦启动/重新启动就能正常工作; hovewer,一段时间后,它停止工作。但在日志中看到以下内容:
1:S 11 Nov 2022 08:32:57.889 * Connecting to MASTER xxxxx:xxxx
1:S 11 Nov 2022 08:32:57.889 * MASTER <-> REPLICA sync started
1:S 11 Nov 2022 08:32:58.025 * Non blocking connect for SYNC fired the event.
1:S 11 Nov 2022 08:32:58.164 # Failed to read response from the server: Connection reset by peer
1:S 11 Nov 2022 08:32:58.164 # Master did not respond to command during SYNC handshake
(the IP在安全性方面已被隐藏)
Redis通过标准配置的docker启动。
这个错误可以用什么方法解决?
我尝试设置密码,但没有帮助
1条答案
按热度按时间vh0rcniy1#
仅 在 启用 protected _ mode 和 password 后 , 问题 已 得到 修复