my app can't connect to redis sometime.
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
Solution:Jump to solution
what runtime are you using? check the service settings for your app, if its on legacy, switch it to v2
10 Replies
Project ID:
b548f8e7-3fd7-45a4-8bde-80f0a7fd7e1f,b548f8e7-3fd7-45a4-8bde-80f0a7fd7e1f,c81f3cc0-d622-4ed3-ae88-3e4a34348bc5,23228787-ae53-407c-ac5e-d2b595edefe4
Please use the private network to connect to redis
can show me the sample on 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 erroris redis in the same project?
yes
Solution
what runtime are you using? check the service settings for your app, if its on legacy, switch it to v2
this one is it?
switch it to v2
okay nice, its working now. thanks man
no problem!