BlueGreen Deploys Fail with Timeout

Hi i’ve been attempting to get bluegreen deploy to work I tried with scale count set to 3 and 4 and they seem to timeout with an error that says:

Error: wait timeout
could not get all green machines to be healthy

I’ve scaled to count 2 and ran the deploy and it worked. Idk why it’s failing on a scale count larger than 2:

app = 'my-api'
primary_region = 'ord'
kill_signal = 'SIGINT'
kill_timeout = '5s'

[build]
dockerfile = "./Dockerfile"

[experimental]
auto_rollback = true
cmd = ['./my-api']

[deploy]
strategy = "bluegreen"

[env]
PORT = '8080'

[http_service]
internal_port = 8080
force_https = true
auto_start_machines = true
auto_stop_machines = "stop"
processes = ['app']

[[http_service.checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
path = "/check_health"
timeout = "5s"

[[vm]]
cpu_kind = 'shared'
cpus = 2
memory = '2gb'

I’ve created the /check_health on my server endpoint and tested it locally and got a 200 response.

Is it something in my config? Anyone know what is going wrong here?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.