Skip to content

Access audit logs and troubleshoot pipeline errors in Container Registry

Last updated on

Maintaining visibility into your Container Registry and ensuring smooth CI/CD pipeline operations are key for managing your software supply chain. This guide covers how to monitor system actions and troubleshoot common rate-limiting errors.

STACKIT Container Registry keeps a detailed record of all actions performed within the system. This includes user authentications, image pushes and pulls, role assignments, and project modifications.

You can access these records by navigating to the Logs folder within your project in the Container Registry UI. This view provides a timestamped trail of who performed what action, making it highly useful for security audits and debugging.

Troubleshooting pipeline errors (HTTP 429 / 401)

Section titled “Troubleshooting pipeline errors (HTTP 429 / 401)”

A common issue encountered in automated CI/CD pipelines is receiving an HTTP 429 Too Many Requests error when attempting to interact with the registry.

In the STACKIT Container Registry, a 429 error is not caused by running a high volume of successful docker pull or docker push commands.

Instead, a 429 error is a security measure triggered by a high number of authentication failures (HTTP 401 Unauthorized) associated with the same account.

The system monitors failed logins to protect against brute-force attacks and misconfigured automated scripts. The exact threshold is:

  • 5 authentication errors (401s) within a 30-second window.

If a pipeline or user hits this threshold:

  1. The credentials used for those requests are temporarily blocked. 2. Any subsequent requests using those credentials will immediately return a 429 Too Many Requests error. 3. The system enforces a mandatory cooldown period of 5 minutes.

If your pipeline is failing with a 429 error:

  1. Stop the pipeline immediately to prevent it from resetting or extending the cooldown period. 2. Wait out the 5-minute cooldown period. 3. Check your credentials. Ensure that the Robot Account token or STACKIT user password configured in your CI/CD variables is correct and has not expired. 4. Once the credentials are fixed and the 5 minutes have passed, trigger the pipeline again.