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
No description
Solution:
what runtime are you using? check the service settings for your app, if its on legacy, switch it to v2
Jump to solution
10 Replies
Percy
Percy6mo ago
Project ID: b548f8e7-3fd7-45a4-8bde-80f0a7fd7e1f,b548f8e7-3fd7-45a4-8bde-80f0a7fd7e1f,c81f3cc0-d622-4ed3-ae88-3e4a34348bc5,23228787-ae53-407c-ac5e-d2b595edefe4
Brody
Brody6mo ago
Please use the private network to connect to redis
qlupenguin
qlupenguinOP6mo ago
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 error
No description
Brody
Brody6mo ago
is redis in the same project?
qlupenguin
qlupenguinOP6mo ago
yes
Solution
Brody
Brody6mo ago
what runtime are you using? check the service settings for your app, if its on legacy, switch it to v2
qlupenguin
qlupenguinOP6mo ago
this one is it?
No description
Brody
Brody6mo ago
switch it to v2
qlupenguin
qlupenguinOP6mo ago
okay nice, its working now. thanks man
No description
Brody
Brody6mo ago
no problem!
Want results from more Discord servers?
Add your server