Unable to perform health checks

@lubien found the issue!!! :face_exhaling:

Broken config:

app = "my-app"
primary_region = "sjc"

[build]

[http_service]
  internal_port = 8443
  force_https = true
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 1
  processes = ["app"]
  [[http_service.checks]]
    grace_period = "10s"
    interval = "1m0s"
    method = "GET"
    path = "/"
    timeout = "5s"
    protocol = "https"

Solution: remove protocol = "https" from the sub-section.

I don’t know why. Perhaps the fly.io team may want to see why this is so fragile. Would be great to have seen a suggestion stating that protocol = "https" was not needed/bad/etc.

Anyway… problem averted! Thanks a lot for the help!

1 Like