'Authentication error when connecting to redis cluster
I have installed the redis cluster version 6.2.3-alpine on a kubernetes cluster and enabled authentication by setting the following parameters in the config map:
masterauth a-very-complex-password-here
requirepass a-very-complex-password-here
When I try to connect using an AspNet Core application, on the first attempt the following error occurs:
(error) NOAUTH Authentication required
On the next attempt to connect, this error no longer occurs. After the application successfully connects to redis, it runs for about 2 or 3 minutes and then stops communicating, with no apparent error
This behavior happens intermittently and I cannot find a cause for it.
Can anyone help me with this problem?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
