Fly machine is suspended, below is the config

My machine is always suspended. This application should be running all the time, sort of like worker in heroku. Not there is no worker concept in fly.io.

app = "deviator"
primary_region = "ams"

[env]
 APP_NAME=""

[experimental]
  allowed_public_ports = []
  auto_rollback = true
 
[http_service]
  auto_stop_machines = false

Single machine in Amsterdam region.

Hi @harsh-98. If the machine were manually stopped (e.g. with fly machines stop <id>) or if the proxy had stopped the machine, then I’d expect there to be a “stopping” event in the event logs and for requested_stop to be true. Instead, it seems like your app may have exited on its own. Do you see anything in the app logs that would indicate this (check in the dashboard online or with fly logs)?

There are no logs in printed by running fly logs. And I am also not able to get the logs from dashboard.
image

@harsh-98 ah, sorry, I didn’t notice that the machine events that you posted were over a week old. Logs are retained for 2 days, so it’s possible that there just hasn’t been any activity over that time.

Have you observed the machine stopping unexpectedly more recently?

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