Connection to Redis

INFORMATION

Relevant information to this issue:

ISSUE

Describe your issue here
Connected to redis is timed out, although I am passing the redis credentials (aliased) while instantiating the redis instance.
I am using “ioredis” to create a redis instance.
I tried to connect to redis using redis-cli by printing the redis container credentials, but it failed with “Connection refused”.
The code setup works perfectly fine on localhost on my machine, but on Qovery using redis container for my dev-env it is not working.
HOW TO REPRODUCE
Just see the logs on my backend application, it logs connection time out.
Describe step by step how to reproduce the issue

Hello @yousifelhady

Your Redis db is set as private

So I think the issue is because your are using the external redis host to connect to the Redis. Can you check by using the HOST_INTERNAL?

Cheers

1 Like