I am getting completely crazy. It has been 1 week since I try to connect my django app and my celery app to my redis app internally.
I have this error:
ERROR/MainProcess] consumer: Cannot connect to redis://ankiflow-redis.internal:6379/0: Error 111 connecting to ankiflow-redis.internal:6379. Connection refused..
Here is my fly.toml:
app = “ankiflow-redis”
primary_region = “cdg”
[build]
image = “redis:7”
[mounts]
source = “redis_data”
destination = “/data”
[env]
REDIS_APPENDONLY = “yes”
REDIS_DIR = “/data”
[processes]
app = “redis-server --appendonly yes --dir /data --protected-mode no --bind 0.0.0.0”
[[vm]]
memory = “256mb”
cpu_kind = “shared”
cpus = 1
[[services]]
internal_port = 6379
protocol = “tcp”
processes = [“app”]
[services.concurrency]
type = “connections”
hard_limit = 1000
soft_limit = 800
[scale]
min_machines = 1
max_machines = 1
[experimental]
private_network = true
autostop = false
allowed_public_ports =
auto_rollback = true
[deploy]
strategy = “rolling”
I really do not understand. The name of my app is ankiflow-redis this is why I try to connect to the host : ankiflow-redis.internal.
It could be a problem of ip adress.
You are my last hope I am deeply sad about the situation I am completely blocked.