# My app doesn't work

What each problem looks like, where to see why, and what to ask your agent. Your agent can read the same logs and deployments you see in the dashboard, so it can usually fix it on its own.

## The build failed

The service's page says the last deployment **failed** while building. Open **Activity** and pick that deployment: its output ends with the error, usually a missing file in the `Dockerfile` or a dependency that did not install. If the app was already running, Estiba keeps the version that worked.

Ask your agent: "Read the build output of the failed deployment of my app on Estiba and fix the first error."

## It starts and then stops, or keeps restarting

The service shows **restarting**, or a count of restarts that keeps growing. The app is crashing: its logs, in **Activity**, say why, often a missing environment variable or a database it cannot reach. If a new version does not stay up, Estiba goes back to the previous one by itself and says so on the service's page.

Ask your agent: "My app on Estiba keeps restarting. Read its logs, tell me why and fix it."

## It runs but its address doesn't answer

The service is **running**, but its domain shows an error or never loads. Most often the app listens on `localhost` or `127.0.0.1`, where nothing from outside reaches it, or on a port other than the one its domain sends visitors to. It must listen on `0.0.0.0` and on that port.

Ask your agent: "My app on Estiba is running but its address doesn't answer. Check that it listens on 0.0.0.0 and on the port of its domain."

## It says ready, but it doesn't start

**Ready** means the app is set up and waiting for credit. Add credit in the dashboard's **Billing**, from $5: it starts by itself within a minute. See [Credit and prices](https://estiba.cloud/docs/credit-and-prices).

## My domain says pending

The service's page shows the DNS record the domain still needs, and what is missing. Create it where you bought the domain; it goes live by itself within minutes of the record being seen. See [Domains](https://estiba.cloud/docs/domains).

Ask your agent: "Which DNS record does my domain need for my app on Estiba?"

## The first visit is slow

A website with no visits for 5 minutes sleeps, and the next visit wakes it: that first visit waits while the app starts. If it must answer at once, ask your agent to keep it always on, which costs more because it never sleeps. See [Deploy an app](https://estiba.cloud/docs/deploy-an-app).

## Still stuck

Ask your agent to read the logs of the last deployment and tell you, in plain words, what fails. If it is something on Estiba's side, write to [hola@estiba.cloud](mailto:hola@estiba.cloud).
