Can't connect to redis internal but can over ipv4 addr
I am trying to use the railway internal network for a Redis store in a NodeJS server but I can only connect using the external ipv4 address. Here is the JS connection logic:
REDIS_URL
is a service variable defined in the NodeJS service.
ipv4 address: redis://default:(password here)@viaduct.proxy.rlwy.net:27261
ipv6 address: redis://default:(password here)@redis.railway.internal:6379
I have also tried redis://default:(password here)@redis:6379
as this is valid schema.
Error Log:
6 Replies
Project ID:
b88cd4f4-3e33-4c82-8bb1-90877719ae87
b88cd4f4-3e33-4c82-8bb1-90877719ae87
@Brody any ideas?
do you have a 3 second sleep?
I do not
could you elaborate
I only connect to redis via a specific endpoint, its not instant
so the delayed internal start isnt the issue here
(probably)
New reply sent from Help Station thread:
@nxfi777 I'm also facing the same issue. Seems like the REDIS_URL is undefined even though it's set in the project variables. How did you fix it?You're seeing this because this thread has been automatically linked to the Help Station thread.