my app can't connect to redis sometime.
Anonymous
TRIALOP

2 years ago

after redeploy, its working fine. but i can't know when its happening, unless i check the log or try to access my app.
I've noticed this to happened quite while already on my app.

project id: b548f8e7-3fd7-45a4-8bde-80f0a7fd7e1f
old deployment: https://railway.app/project/b548f8e7-3fd7-45a4-8bde-80f0a7fd7e1f/service/c81f3cc0-d622-4ed3-ae88-3e4a34348bc5?id=23228787-ae53-407c-ac5e-d2b595edefe4

9 Replies

2 years ago

Please use the private network to connect to redis


Anonymous
TRIALOP

2 years ago

can show me how to use private network. i read from https://docs.railway.app/reference/private-networking but cant understand it.

i tried to use REDIS_PRIVATE_URL , but got similar error

1249402412062609700


2 years ago

is redis in the same project?


Anonymous
TRIALOP

2 years ago

yes


2 years ago

what runtime are you using? check the service settings for your app


Anonymous
TRIALOP

2 years ago

this one is it?

1249403963103776800


2 years ago

switch it to v2


Anonymous
TRIALOP

2 years ago

okay nice, its working now. thanks man

1249404997192647000


2 years ago

no problem!


Loading...