Hi, I'm using redis server 3.2.10. But when use redis-cli >info then it's show this

Replication

role:slave master_host:144.217.84.202 master_port:6379 master_link_status:down master_last_io_seconds_ago:-1 master_sync_in_progress:0 slave_repl_offset:1 master_link_down_since_seconds:1518001110 slave_priority:100 slave_read_only:0 connected_slaves:0 master_repl_offset:0 repl_backlog_active:0 repl_backlog_size:1048576 repl_backlog_first_byte_offset:0 repl_backlog_histlen:0

and when i check log 12094:S 07 Feb 06:03:17.085 * Connecting to MASTER 144.217.84.202:6379 12094:S 07 Feb 06:03:17.085 * MASTER <-> SLAVE sync started 12094:S 07 Feb 06:03:17.086 * Non blocking connect for SYNC fired the event. 12094:S 07 Feb 06:03:17.086 * Master replied to PING, replication can continue... 12094:S 07 Feb 06:03:17.086 # Unable to AUTH to MASTER: -ERR invalid password Help me out

Comment From: shumutang

your slave's master is password protected, the slave must config set masterauth .

Comment From: Manishjodhani

I Have done that..

masterauth

Comment From: Manishjodhani

masterauth

Comment From: Manishjodhani

masterauth slavepassword

Comment From: bubbajoe

For anyone who has this same issue: masterauth value will be the same as the master node's requireauth value, therefore master nodes don't use the masterauth . Please check the documentation below for those who are using ACL

# If the master is password protected (using the "requirepass" configuration
# directive below) it is possible to tell the replica to authenticate before
# starting the replication synchronization process, otherwise the master will
# refuse the replica request.
#
# masterauth <master-password>
#
# However this is not enough if you are using Redis ACLs (for Redis version
# 6 or greater), and the default user is not capable of running the PSYNC
# command and/or other commands needed for replication. In this case it's
# better to configure a special user to use with replication, and specify the
# masteruser configuration as such:
#
# masteruser <username>
#
# When masteruser is specified, the replica will authenticate against its
# master using the new AUTH form: AUTH <username> <password>.