Skip to content

A persistent task wasn't ready in time

api#dev Axle stopped this task: it wasn't ready after 60 seconds, waiting for http://localhost:8080/health
error: api#dev failed with exit code 1
hint: Run axle run api#dev --only to see it by itself.

The task has a ready check, and it didn’t pass before the timeout: nothing listened on the port, the address didn’t answer without an error, or the task never printed the text. Axle stops the task and fails it, and the tasks waiting for it don’t run.

Run the task by itself and check that it starts, and that the port, address or text in its ready check is the one it uses. If it needs longer, raise timeout, in seconds:

[tasks.dev]
ready = { port = 3000, timeout = 180 }