R
Railway9mo ago
vhawk19

Unable to connect to redis

Trying to move the redis instance to the new region, however am unable to connect to it on the UI as well as CLI. Any pointers as to how to resolve this?
No description
No description
27 Replies
Percy
Percy9mo ago
Project ID: 34201471-b3bb-47a4-84b4-5e87c08ca756
vhawk19
vhawk199mo ago
34201471-b3bb-47a4-84b4-5e87c08ca756
vhawk19
vhawk199mo ago
Oh wait I guess that explains, but then how do I deploy it?
No description
Brody
Brody9mo ago
uh, thats not ideal does it have any variables?
vhawk19
vhawk199mo ago
nope, none thats alred altered*
Brody
Brody9mo ago
so yes all the variables are there?
vhawk19
vhawk199mo ago
RAILWAY_RUN_AS_ROOT=true RAILWAY_RUN_UID=0 REDISHOST=${{RAILWAY_TCP_PROXY_DOMAIN}} REDISPASSWORD=${{REDIS_PASSWORD}} REDISPORT=${{RAILWAY_TCP_PROXY_PORT}} REDISUSER=default REDIS_PASSWORD=<REDACTED> REDIS_PRIVATE_URL=redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:6379 REDIS_URL=redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}} this is the env
Brody
Brody9mo ago
does it have a source?
vhawk19
vhawk199mo ago
could you elaborate?
Brody
Brody9mo ago
No description
vhawk19
vhawk199mo ago
looks like it
No description
Brody
Brody9mo ago
@Melissa @Angelo - even services with images sometimes fail to deploy, the force deploy button would be great in this situation but for now, youd have to remove the image and add it back
angelo
angelo9mo ago
Literally was just talking about this
vhawk19
vhawk199mo ago
gotcha, lemme try that
Brody
Brody9mo ago
angelo jinxed it, sorry
vhawk19
vhawk199mo ago
cryingman
No description
Brody
Brody9mo ago
you clicked the little x besides the image, and then added it back?
vhawk19
vhawk199mo ago
Nope, I deleted the service and deployed it again
vhawk19
vhawk199mo ago
smh like this
No description
Brody
Brody9mo ago
not quite what i had in mind
vhawk19
vhawk199mo ago
oh could you elaborate?
Brody
Brody9mo ago
click the little X to remove the image, then add it back
vhawk19
vhawk199mo ago
sweet, that worked thanks Also, quick question - Is it possible to deploy a service on a region that not us-west initially? - When 2 redis instance exists which one would the env variables point to?
Brody
Brody9mo ago
1. not yet 2. whatever you set it to
jr
jr9mo ago
Curious what flow you went through to originally deploy Redis where it failed
vhawk19
vhawk199mo ago
Not sure what triggered it, I created the service twice both times it didn't deploy. I did a region migration too, but the deploy did not happen even before that.