2 months ago
It seems like railway removed the password on my redis instance.
I get this error message in the UI:
"AUTH failed: ERR AUTH called without any password configured for the default user. Are you sure your configuration is correct? *"
And my services stopped being able to connect, and locally I can connect to it without a password which shouldnt be possible.
Can someone assist me with:
How to put a password on it
What happened here
I am using the default redis template from Railway
29 Replies
2 months ago
Can you confirm that there's no REDISPASSWORD env var on your Redis service?
2 months ago
Is it empty? (do not share it here)
2 months ago
Can you connect to said Redis service using an external client like Redis Insight, Tableplus…. Or through the Database tab on the service modal?
2 months ago
Have you tried redeploying the Redis service?
Yes, and also changing the password through the UI in the Database>Credentials tab
2 months ago
Can I get a link to that service?
2 months ago
Send it in this thread so I can escalate it to the team.
Ah would prefer not sharing the redis url since it doesnt have a password atm 🥲
2 months ago
Not the Redis url, the browser URL when you click the service
2 months ago
my bad for not being specific
2 months ago
thanks, will escalate
2 months ago
!t
2 months ago
This thread has been escalated to the Railway team.
Status changed to Awaiting Railway Response medim • about 2 months ago
2 months ago
And what if you regenerate the credentials and redeploy the service?
It didn't work when I tried 30mins ago, but unable to try again since the tab is not showing

2 months ago
Did you make any changes to the service? You shared a link to the "Redis" service but your screenshot says "Redis Dev" which is a different service - can you confirm which service you're referring to?
Status changed to Awaiting User Response Railway • about 2 months ago
Yes, it is actually happening in both. The link I sent you is the production redis, the screenshot has 'Redis Dev' which is the development one: https://railway.com/project/73cb2ea8-ee75-4e55-8f55-6fda0b0d950c/service/78aa5c6d-3fbb-4766-8f4b-0b9d51b384cf?environmentId=bdb07b17-a9ea-4a3e-857c-f58b553b81c6
I did not do customizations afaik
But when I make a new redis instance, I notifce the configuration is different from mine. It mentions a custom start command: /bin/sh -c "rm -rf $RAILWAYVOLUMEMOUNTPATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDISPASSWORD --save 60 1 --dir $RAILWAYVOLUMEMOUNT_PATH"
And good to know, my redis instances in other projects dont experience the same issue
Oke I fixed it by swapping my redis with a new instance, but I still dont know what happened
Status changed to Solved medim • about 1 month ago
