# fly.toml app configuration file generated for summer-sound-6337 on 2023-08-21T17:17:03+07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "summer-sound-6337"
primary_region = "sin"
[build]
dockerfile = "dev.dockerfile"
[deploy]
release_command = "python manage.py migrate"
[processes]
app = "gunicorn config.wsgi --bind=0.0.0.0:8000 --workers=2 --threads=2 --worker-class=gthread --log-level=debug --worker-tmp-dir=/dev/shm --chdir=/app"
worker = "celery -A config.celery_app worker --concurrency=5 --loglevel=ERROR --loglevel=INFO --loglevel=DEBUG --pidfile=/tmp/celeryworker.pid"
flower = "celery -A config.celery_app flower --port=5751"
beat = "celery -A config.celery_app beat --loglevel=ERROR --loglevel=INFO --loglevel=DEBUG --pidfile=/tmp/celerybeatprocess.pid"
cronjob = "supercronic /app/crontab"
[http_service]
internal_port = 8000
force_https = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
[[services]]
internal_port = 5751
protocol = "tcp"
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["flower"]
Updating existing machines in '**summer-sound-6337**' with rolling strategy
-------
⠧ [1/5] Waiting for **148e435b340789 [cronjob]** to have state: started
[2/5] Waiting for job
[3/5] Waiting for job
[4/5] Waiting for job
[5/5] Waiting for job
-------
Error: timeout reached waiting for machine to started failed to wait for VM 148e435b340789 in started state: Get "https://api.machines.dev/v1/apps/summer-sound-6337/machines/148e435b340789/wait?instance_id=01HCCNM5XBC295S9W9ZJ2SFTEW&state=started&timeout=60": net/http: request canceled
You can increase the timeout with the --wait-timeout flag
I can’t even create a new app, I’m getting this error when running fly launch and selecting any region: Error: server returned a non-200 status code: 500
Also facing this issue. Increasing the timeout did not make a difference.
With bluegreen deployment:
Deployment failed after error: could not get all green machines into started state: wait timeout
Error: could not get all green machines into started state: wait timeout
With canary:
Error: timeout reached waiting for machine to started failed to wait for VM in started state