Troubleshooting
Find the message you see, then read the cause and the fix. Messages in code are printed exactly as shown.
The GitHub Actions login step fails
orkestia/registry-login prints one line that starts with orkestia:, then fails the step with "Orkestia registry login refused. See the message above."
| Printed | Cause | Fix |
|---|---|---|
orkestia: this job cannot request a GitHub identity token. Add 'permissions: id-token: write' to the workflow or the job. | The job has no id-token: write permission, or it is a pull request from a fork. GitHub never issues an identity token to a fork's pull request | Add permissions: id-token: write. For fork pull requests, build without the registry, or run the job after merge |
orkestia: GitHub did not issue an identity token for this job. | GitHub's token service did not answer | Re-run the job |
orkestia: the login service could not be reached. | The network call to Orkestia failed | Re-run the job |
orkestia: 'jq' is required on the runner (or 'curl') | Your own runner lacks the tool | Install curl and jq on the runner |
scope must be 'pull', 'push' or empty, got '...' | A typo in the scope input | Use pull, push, or leave it out |
orkestia: login refused (invalid_grant: no organization is federated for this repository owner) | The repository's GitHub organization is not connected to an Orkestia organization through the GitHub App | Connect that GitHub organization to your Orkestia organization, or run the workflow from a repository of the connected one |
orkestia: login refused (invalid_grant: the repository belongs to another organization) | The repository is registered to a different Orkestia organization | Run the workflow from a repository of your own organization |
orkestia: login refused (invalid_grant: subject_token was refused) | GitHub's identity token could not be verified, for example it expired | Re-run the job |
orkestia: login refused (invalid_target: the organization has no active registry) | The registry is off for your organization | An owner or an admin turns it on |
orkestia: login refused (access_denied: no trust rule admits this job) | Your organization has its own CI trust rules and none matches this repository, ref, environment, event or workflow | Add or widen a rule. Remember that repositories are numeric ids: gh api repos/OWNER/NAME --jq .id |
orkestia: login refused (invalid_scope: this job may pull, not push) | The step asked for scope: push, but the job may only pull: a pull request, a branch other than the default one with the default rules, or a pull rule | Push from the default branch, a tag or an environment, or add a push rule that matches |
orkestia: login refused (limit_exceeded: ...) | A limit pauses pushes and the step asked for push, or the daily download limit pauses all new logins. The text names the limit | Delete images to get under the stored data limit, or wait for 00:00 UTC for a daily limit. Ask support to raise a limit |
orkestia: login refused (temporarily_unavailable: trust rules could not be read; retry) | A temporary failure on Orkestia's side | Re-run the job |
A job with no scope that may only pull does not fail at the login. It gets pull, and the push fails later. Set scope: push on publishing jobs so the reason shows at the login.
A one-hour password is refused
From registry.native.login, or Create a one-hour password in Cockpit:
| Reason | Cause | Fix |
|---|---|---|
registry_space_missing | The registry was never turned on for this organization | An owner or an admin turns it on |
registry_login_closed | The registry was turned off | An admin turns it on again within 30 days |
registry_limit_exceeded: Registry access is paused for this organization: ... | The daily download limit was reached | Wait for 00:00 UTC, or ask support to raise the limit |
A password issued while pushes are paused comes back with access: pull and a limit_message. It can pull and delete, not push.
Docker
| What you see | Cause | Fix |
|---|---|---|
docker login or a pull fails with unauthorized, and the registry's reason is registry_scope_refused | The password expired (it lasts one hour), the username is not your namespace, or the password was mistyped | Create a new password and log in with your namespace as the username |
A push or pull of registry.orkestia.dev/<other>/... is refused | The first path part is not your namespace. A login only covers its own namespace | Use your namespace. Another organization's images are reachable only with that organization's own login |
Pull works, push is refused (unauthorized or denied) | The login may only pull: a CI job that got pull (pull request, rule, or scope: pull), or a login issued while a limit pauses pushes | Check the login step's scope output, or access in registry.native.status. See Who can push and When a limit is reached |
| A delete is refused from CI | A CI login can pull and push, never delete | Delete with a one-hour password |
A push fails with HTTP 413 (Request Entity Too Large) | One upload request was over 20 GiB | Split very large files across several layers, for example with separate COPY steps |
Requests fail with HTTP 429 (Too Many Requests) | Your namespace went over 500 requests per second sustained (2,000 burst) | Retry with a back-off, and reduce parallel pulls. Ask support if your normal load needs more |
| A push or a delete is refused for a short time around 06:30 UTC, while pulls work | The nightly cleanup is running | Retry after a minute |
| A push started more than an hour after the login fails | The token expired | Run the login step again before the push, or use the Docker credential helper from the action's README |
pip, uv and twine
The package index answers a refusal with HTTP 401 and the reason registry_scope_refused.
| What you see | Cause | Fix |
|---|---|---|
401 on install | No credentials, an expired password, or a username that is not the namespace in the URL | Log in again. From CI, run the login step in the same job before pip or uv |
401 on twine upload or uv publish | The login may only install: a pull-only CI job, or pushes paused by a limit. Or the project name or version is not valid | Publish from a job that may push. Check the name: letters, digits, ., _ and - |
413 and registry_limit_exceeded: this package file is larger than the 2 GiB limit for one package file. This limit can be raised: ask Orkestia support. | The file is over 2 GiB | Make the file smaller, or ask support |
503 and registry_catalog_busy | Many publishes to your namespace at the same moment | Retry the upload |
409 and File already exists | A file with this name is already published with other bytes. A published file never changes | Publish a new version. With twine, --skip-existing skips files that are already published |
400 and registry_digest_mismatch | The uploaded file does not match the checksum the client sent, usually a cut-off upload | Retry the upload |
409 and was deleted, and a deleted file name is never published again | This file was deleted. Its name stays reserved | Publish a new version |
403 and registry_delete_refused | A CI login tried to delete. CI can publish and yank, never delete | Delete with a one-hour password, or in Cockpit |
404 and not_found on a yank or delete | No such project, version or file in your namespace | Check the name and version on Registry → Packages |
| pip builds from the sdist instead of installing a wheel | No uploaded wheel matches the Python version or platform you install on | Build and upload a wheel for that platform. See How versions are stored |
| pip picks a package with the same name from PyPI | --extra-index-url lets pip choose the highest version from either index | Give private projects names that are not on PyPI, or pin the index with uv (see uv) |
npm
| What you see | Cause | Fix |
|---|---|---|
404 Not Found from registry.npmjs.org for @acme/... | npm does not know that @acme comes from your namespace | Add the scope line to .npmrc (see npm). In CI, run actions/setup-node before the login step |
401 on install or publish (registry_scope_refused) | An expired token, a package not named @<namespace>/..., or a pull-only login publishing | Log in again, name the package @<namespace>/<name>, and publish from a job that may push |
registry_npm_attachment_missing | The publish carried no package tarball | Publish with npm publish from the package folder |
You cannot publish over the previously published versions or 409 | This version is already published | Bump version in package.json and publish again |
400 and registry_digest_mismatch | The tarball does not match the checksum npm sent, usually a cut-off upload | Retry npm publish |
409 and version ... was deleted | This version was unpublished. Its number stays reserved | Bump version in package.json |
E403 and registry_delete_refused on npm unpublish | A CI login tried to unpublish | Unpublish from a laptop with a one-hour password, or in Cockpit |
409 and registry_package_has_dependents | Another package in your namespace needs this version, and no other version satisfies it | Delete or update those packages first, or select Delete anyway in Cockpit |
409 and the package changed since it was read | Someone published or unpublished at the same time | Run the command again |
Limits
| What you see | Cause | Fix |
|---|---|---|
| Cockpit: "Pushes and package publishes are paused because a limit was reached." | Stored data, data pushed today, image repositories, or tags in one repository reached its limit | Delete images you no longer need, wait for 00:00 UTC for the daily limit, or ask support to raise it |
| Cockpit: "New sign-ins are paused because a limit was reached." | Data downloaded today reached its limit | Logins resume at 00:00 UTC. Logins issued before keep working until their hour is up |
Any limit can be raised for your organization: contact support.
CI recipes
Complete GitHub Actions workflows for Orkestia Registry — build and push an image with a registry cache, publish and install a Python package, publish and install an npm package — with no stored secret.
FAQ
Short answers about Orkestia Registry — sharing between organizations, downloads from Orkestia runners, shared layers, freeing space, CI token lifetime and package versions.
