Infinite "checking docker activity"

Hey, I have a NextJS app deployed on fly.io. When I deploy the app, the machine monitor is hanging and show me this message over and over :

2023-09-18T20:38:08.318 app[3d8d337a03e368] cdg [info] time="2023-09-18T20:38:08.318110228Z" level=debug msg="checking docker activity"
2023-09-18T20:38:08.318 app[3d8d337a03e368] cdg [info] time="2023-09-18T20:38:08.318419328Z" level=debug msg="Calling GET /v1.41/containers/json?filters=%7B%22status%22%3A%7B%22running%22%3Atrue%7D%7D&limit=0" 

I have tried to delete the machine and re-deploy. I have also tried to kill and restart the flyctl process. Both of these solutions are not working.

The whole building is working great however I have an error when checking the app state :

Updating existing machines in 'webapp-baltic' with rolling strategy
  [1/2] Waiting for 91857211b999e8 [app] to have state: started
Error: timeout reached waiting for machine to started failed to wait for VM 91857211b999e8 in started state: Get "https://api.machines.dev/v1/apps/webapp-baltic/machines/91857211b999e8/wait?instance_id=01HAN038QNGS5NEGS3FEWGYVR5&state=started&timeout=60": net/http: request canceled
note: you can change this timeout with the --wait-timeout flag

Note that I do not master fly.io so I might be missing something.

Can you post your fly.toml

I had a issue similar (different area stuck at), and I had a [http_service] section that I replaced with a regular [[services]] section. And that fixed it for me, I am not sure why.

# fly.toml app configuration file generated for webapp-baltic on 2023-08-25T19:38:21+02:00 #
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "webapp-baltic"
primary_region = "lax"

[http_service]
  internal_port = 3000
  force_https = true
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 0
  processes = ["app"]

[build.args]
   # some env variables...