R
Railway14mo 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
Percy14mo ago
Project ID: 34201471-b3bb-47a4-84b4-5e87c08ca756
vhawk19
vhawk1914mo ago
34201471-b3bb-47a4-84b4-5e87c08ca756
vhawk19
vhawk1914mo ago
Oh wait I guess that explains, but then how do I deploy it?
No description
Brody
Brody14mo ago
uh, thats not ideal does it have any variables?
vhawk19
vhawk1914mo ago
nope, none thats alred altered*
Brody
Brody14mo ago
so yes all the variables are there?
vhawk19
vhawk1914mo 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
Brody14mo ago
does it have a source?
vhawk19
vhawk1914mo ago
could you elaborate?
Brody
Brody14mo ago
No description
vhawk19
vhawk1914mo ago
looks like it
No description
Brody
Brody14mo 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
angelo14mo ago
Literally was just talking about this
vhawk19
vhawk1914mo ago
gotcha, lemme try that
Brody
Brody14mo ago
angelo jinxed it, sorry
vhawk19
vhawk1914mo ago
cryingman
No description
Brody
Brody14mo ago
you clicked the little x besides the image, and then added it back?
vhawk19
vhawk1914mo ago
Nope, I deleted the service and deployed it again
vhawk19
vhawk1914mo ago
smh like this
No description
Brody
Brody14mo ago
not quite what i had in mind
vhawk19
vhawk1914mo ago
oh could you elaborate?
Brody
Brody14mo ago
click the little X to remove the image, then add it back
vhawk19
vhawk1914mo 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
Brody14mo ago
1. not yet 2. whatever you set it to
jr
jr14mo ago
Curious what flow you went through to originally deploy Redis where it failed
vhawk19
vhawk1914mo 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.
Want results from more Discord servers?
Add your server