Monitor and troubleshoot
Zuletzt aktualisiert am
Application statuses
Section titled “Application statuses”| Status | Meaning |
|---|---|
| Processing | The application is being deployed or updated. |
| Running | At least one instance has started. |
| Idle | The application has scaled to zero and starts on the next event. |
| Failed | The application could not start. The Portal shows the reason. |
Status transitions
Section titled “Status transitions”Deploying or updating moves an application to Processing.
From Processing it becomes Running when an instance starts, or Failed when it cannot start.
With a minimum of 0 instances, a Running application without load becomes Idle. The next request or event from a scaling rule makes it Running again.
Fixing the configuration of a Failed application moves it back to Processing.
Running means an instance has started, not that your application answers correctly. After every change, check the URL and the logs.
Read logs
Section titled “Read logs”Open the application and select Logs.

- Live logs stream what your containers write to standard output and standard error, as it happens.
- Previous instance shows the logs of the instance that ran before the current one. Use it when an instance crashed and was replaced.
Check your image before deploying
Section titled “Check your image before deploying”Most problems that show Running while requests fail can be reproduced on your own machine. Run the image with the same port and memory as in STACKIT Container Applications (SCA):
docker run --rm -p 8080:8080 --memory=512m registry.example.com/team/app:1.4.2Then send a request to it:
curl -I http://localhost:8080If this request fails, fix the image before you deploy it. Common causes are a different port, or an application that listens only on 127.0.0.1 instead of 0.0.0.0. If the container stops with an out-of-memory error, choose a larger size.
Common problems
Section titled “Common problems”| What you see | Likely cause | What to do |
|---|---|---|
| Failed, the image cannot be pulled | Wrong image name or tag, or missing or invalid registry credentials | Check the image reference and the registry credentials |
| Failed, a referenced secret is missing | A secret used by an environment variable was deleted | Recreate the secret, or remove the reference |
| Running, but the URL does not respond | The configured port is not the one the application listens on, or the application listens only on 127.0.0.1 |
Check the image locally, then set the right port or make the application listen on 0.0.0.0 |
| Instances keep restarting | The application runs out of memory or crashes after starting | Read the Previous instance logs, and choose a larger size if memory is the cause |
| The first request after a quiet period is slow | The application scaled to zero and is starting | Expected with a minimum of 0. Set the minimum to 1 to avoid it |
| Traffic grows but instances do not | The target value is too high, or the maximum is reached | Lower the target value, or raise the maximum (up to 10 during public preview) |
If a problem persists, create a support ticket and include the application ID.