Hi all, so my deployment of my django + celery got all greens
But when i visit the app, aininjas.fly.dev, I keep getting the following error.
Failed to proxy HTTP request (error: no known healthy instances found for route tcp/443. (hint: is your app shutdown? is there an ongoing deployment with a volume or using the 'immediate' strategy? if not, this could be a delayed state issue)). Retrying in 1000 ms (attempt 20)
The fly.toml is below:
app = "aininjas"
primary_region = "mia"
[build]
dockerfile = "compose/production/django/Dockerfile"
[deploy]
release_command = "python /app/manage.py migrate"
[env]
DJANGO_DEBUG = "0"
PORT = "5000"
RUNTIME_ENV = "PROD"
kill_signal = "SIGINT"
kill_timeout = "5"
[processes]
celeryworker = "/start-celeryworker"
django = "/usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app"
[[services]]
protocol = "tcp"
internal_port = 5000
processes = ["django"]
[[services.ports]]
port = 80
handlers = ["http"]
force_https = true
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0
Any ideas on how I can resolve this?