Error connecting to redis in Authentication-Service plugin #557
Replies: 3 comments 5 replies
-
I forgot to mention, we are using version 3.9.0 of the authentication-service plugin |
Beta Was this translation helpful? Give feedback.
-
Hi @alexevansvu! |
Beta Was this translation helpful? Give feedback.
-
We opted to go in a different direction for using Redis in this project. We planned on using a Redis server external to the namespace for this but we've decided to use a Redis microservice in the namespace instead. So, while we didn't resolve the certificate issue it's now a moot point for us. |
Beta Was this translation helpful? Give feedback.
-
What product are you having troubles with?
Marketplace
What Console version are you using?
1.102.8
Description
When attempting to start the Authentication-Service with environment variables to connect to a redis server, we get the following error:
We believe we have the correct environment variables configured for the authentication service, and confirmed we can connect to the server via redis-cli from a pod on the Authentication-Service container.
Below are the environment variables we specify for the service:
The config files (including the ca.crt) do exist and are mounted.
Notably, we get a different error if we remove the TLS related variables, rather than the Go application crashing we get a response from the redis server in the logs of the authentication service noting the failure to connect.
We believe the issue is with the certs but are unable to prove that. Something specific to our situation is that our redis cert does not contain the full trust chain, so we need to include a chain of intermediate certs in the cert file we mount on the container. Could that be the issue? If not, what else could we be missing?
Actual Outcome
An error is logged by the go application specifying that the redis variables are not configured correctly
Expected Outcome
Service starts successfully with connection to redis
Beta Was this translation helpful? Give feedback.
All reactions