Redis从站无法连接到Redis主站。 我们已经在Azure服务器上设置了Redis。
以下是redis日志,
Connecting to MASTER MasterIP:6379
* MASTER <-> SLAVE sync started
* Non blocking connect for SYNC fired the event.
* Master replied to PING, replication can continue...
* Partial resynchronization not possible (no cached master)
* Master does not support PSYNC or is in error state (reply: -ERR Can't SYNC while not connected with my
* Retrying with SYNC...
# MASTER aborted replication with an error: ERR Can't SYNC while not connected with my master
也正好在从属连接丢失时找到MASTER redis连接,
* Background saving terminated with success
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
# Connection with slave IP:6379 lost.
* SLAVE OF **UNKNOWN IP**:8888 enabled (user request)
* Connecting to MASTER **UNKNOW IP**:8888
* MASTER <-> SLAVE sync started
* Non blocking connect for SYNC fired the event.
* Master replied to PING, replication can continue...
# Unable to AUTH to MASTER: -Reading from master: Connection timed out
在此,主服务器会自动尝试连接到某个未知IP。
我该如何调试呢?