When connecting to Redis, I get an "Invalid Password" error.

2019/07/23 11:34:26 Dial ERR invalid password

An Invalid Password error occurs when the password being passed with the -a flag is incorrect.

If you are getting this error, verify that you are using the correct password. To better review changes, we recommend the flags format to modify the connection string. For more on the flags format, see How to Connect to Redis, and MongoDB.

Verify that you are including the “–tls” flag in the connection string.
Verify your connection string and add your local machine to the database cluster’s trusted sources.
Add your machine to the database cluster’s list of trusted sources.