9 months ago
1 Replies
6 months ago
Hi, I had a question regarding the requirepass
configuration for the redis deployment. Currently my application keeps providing me with the following error whenever I call my api's:NOAUTH Authentication required
. When I tried connecting to the deployed redis server and ran CONFIG GET requirepass
I got the following: NOAUTH Authentication required
. I tried setting the password to my provided REDIS_PASSWORD environment variable by doing AUTH <REDIS_PASSWORD>
and I received OK
but then it went back to the authentication error after some time. It seems that the redis configuration is either not being persisted or being reset between connections, so I was wondering how I could fix this issue.
Does the default redis configuration used by the railway template not have the requirepass
set to the default generated REDIS_PASSWORD? Is there an environment variable I can add or how I can I fix this error?