Skip to content

Troubleshooting

You find logs, events and metrics of every component and environment in the portal under Component → Runtime Logs / Metrics, and the logs of every build step under Build. General information: Logs and Troubleshooting.

Build

Packages or base images cannot be downloaded (timeout, ECONNREFUSED, ETIMEDOUT)

The build reaches the internet only through the proxy. The usual tools use it automatically. Node/Corepack and Yarn Berry do not: set NODE_USE_ENV_PROXY=1, YARN_HTTP_PROXY and YARN_HTTPS_PROXY under buildEnv (see Build). Tools with their own proxy settings (e.g. Maven, Gradle) need them in their configuration.

no space left on device

A build's workspace has 10 GiB for the checkout, image layers and the export. Shrink the build context with a .dockerignore (node_modules, .git, dist, test data) and use multi-stage builds.

Private npm packages: 401 / 403 during install

The token is missing or has expired. Store it as buildArgs (e.g. NPM_TOKEN) on the component and use it in the Dockerfile via ARG (see Build arguments).

Checkout fails (Authentication failed, not found)

Check repository.url (…/onconnect/apps/<project>.git) and repository.secretRef (git-<project>). If the secret is missing, contact the platform team.

Build succeeded, but my change to workload.yaml has no effect

workload.yaml is read during the build. Check that the file is in repository.appPath, has been pushed to main, and that a new build ran afterwards.

Deployment

A release stays Not Ready in an environment

Usually the container does not start or fails its readiness check. Look at the runtime logs. Common causes:

  • The application listens on a different port than in workload.yaml.
  • The container wants to run as root or open a port < 1024.
  • An environment variable or a secret is missing.
  • The environment's quota is exhausted (event "exceeded quota").
The application cannot reach external services at runtime

At runtime, too, outgoing traffic only goes through the proxy. Set HTTP_PROXY, HTTPS_PROXY, NO_PROXY (and for Node NODE_USE_ENV_PROXY=1) in configurations.env (see workload.yaml).

Promoting to production is not possible

Promotion only goes from staging to production, and only with a release that ran in staging. Bring the state to staging first.

Reachability and login

404 on the environment's address
  • The endpoint has the wrong visibility (production needs external).
  • The path is wrong: check the component's publish or basePath (see Endpoints and hostnames).
  • Assets load with 404: the web application runs under a subpath but generates absolute links to /. Set the path in the application.
403 · Zugriff verweigert (access denied)

You are logged in but not a member of /apps/<project> (or of one of the groups or roles admitted by the trait). Request membership at https://groups.ccc-onconnect.de, then log out with the "Abmelden" (log out) button and log in again.

Endless loop between application and login

Usually the application itself redirects to a different path or hostname. Check that the application works under the path it is published under and does not generate absolute URLs with another host. If the problem persists, contact the platform team with the request ID from the error page.

Another component cannot be reached from inside the cluster

Call the project's components via dependencies.endpoints (in-cluster address), not via *.test. or *.app. — the test addresses require a login that a server-to-server call does not have.

Help

Contact the platform team with project, component, environment and — if available — the name of the build or the request ID.