Redis password removed?
mo6zes
PROOP

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:

  1. How to put a password on it

  2. What happened here

I am using the default redis template from Railway

Solved

29 Replies

2 months ago

Can you confirm that there's no REDISPASSWORD env var on your Redis service?


mo6zes
PROOP

2 months ago

There is in fact 'REDISPASSWORD'

1463190687255368000


2 months ago

Is it empty? (do not share it here)


mo6zes
PROOP

2 months ago

no it's not empty


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?


mo6zes
PROOP

2 months ago

yes I can connect with redis insight if I dont put a password


mo6zes
PROOP

2 months ago

but database tab does not work


2 months ago

Have you tried redeploying the Redis service?


mo6zes
PROOP

2 months ago

Yes, and also changing the password through the UI in the Database>Credentials tab


mo6zes
PROOP

2 months ago

but error message stays the same


2 months ago

Can I get a link to that service?


mo6zes
PROOP

2 months ago

Yes, I'll send it privately


2 months ago

Send it in this thread so I can escalate it to the team.


mo6zes
PROOP

2 months ago

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


mo6zes
PROOP

2 months ago

Ah I get it



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


mo6zes
PROOP

2 months ago

Thanks


mo6zes
PROOP

2 months ago

Redeploying actually removes the password if I set it using redis-cli


2 months ago

And what if you regenerate the credentials and redeploy the service?


mo6zes
PROOP

2 months ago

It didn't work when I tried 30mins ago, but unable to try again since the tab is not showing

1463201148667302000


mo6zes
PROOP

2 months ago

Do you perhaps have an update on this?


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


mo6zes
PROOP

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"


mo6zes
PROOP

2 months ago

And good to know, my redis instances in other projects dont experience the same issue


mo6zes
PROOP

a month ago

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


Loading...