Platform · diagnostics
Troubleshooting.
Most failures are one of five boundaries: package verification, launch authorization, asset publishing, the bridge channel or user consent. Find the boundary before changing code.
First checks
- Is the package signed and unchanged since signing?
- Does the catalog list the app as
launchable: true? - Does the error happen at import, at launch, or after the frame loads?
- Is the app calling the bridge, or is it calling the shell API directly?
- Which grant, origin or certificate is missing?
Package import fails
| Symptom | Likely cause | Fix |
|---|---|---|
| Signature does not verify | Manifest changed after signing; wrong key or trust store | Sign the exact manifest bytes and verify with the intended trust store |
| Unknown field | Manifest schema mismatch or a typo | Remove the field; unknown fields are rejected |
| File digest mismatch | A payload file changed after the manifest was written | Regenerate the manifest and sign again |
| Package too large | Over 2,048 files, 64 MiB per file or 256 MiB total | Reduce the payload |
| Manifest too large | Over 1 MiB | Move data out of the manifest |
| Native package rejected | NativeTrustDenied, NativePublisherNotAllowed or a foreign ABI | Enable native execution, allow the publisher and build the artifact for the host ABI |
| Native app installs but does not start | Executable not staged, bwrap unavailable or the sandbox failed at startup | Check the runtime supervisor log, the staged artifact and the host kernel namespace configuration |
| Native app has no window | Native apps are headless by design | Open the app management page and use Start/Stop; native apps have no iframe or bridge |
| Container app is not launchable | No declared HTTP endpoint, failed readiness or no app-host proxy | Declare the endpoint and health path, then check the runtime supervisor, broker and container state |
| Publisher update rejected | Publisher identity changed | Use the same publisher key for an update |
| Installed app cannot launch | Publisher or signing key was revoked | Stop the running process if needed and uninstall; revocation is loaded at startup |
# Verify exactly what the platform will verify.
rumahl-package verify \
--package dist/notes \
--trust-store trust.json
# Inspect the signed manifest bytes.
sha256sum dist/notes/package.json
cat dist/notes/package.sig.json
Do not edit package.json after signing. Re-signing changes the signature envelope and requires the private key; never put the key in the package.
App will not launch
| Response | Meaning | Fix |
|---|---|---|
404 | Unknown app, wrong account or missing launch grant | Check the catalog and the live installation |
423 | Safe mode is active | Open recovery and leave safe mode |
503 | Storage, asset publication or runtime unavailable | Check the platform service and published assets |
| Blank frame | Entrypoint missing, assets unpublished or wrong path | Confirm the entrypoint directory and relative asset URLs |
| Frame disappears after 90 seconds | Lease renewal stopped | Keep the window open and renew every 30 seconds |
| Works in preview, fails in the shell | Absolute URLs or an unsupported browser API | Use relative asset URLs and the bridge |
Web and container apps launch through the frame route; web assets must be published under the installation root, and a container must expose a ready HTTP endpoint. Native apps are headless and use the runtime route instead of a frame. A missing asset, failed readiness check or missing runtime keeps the app not launchable or stopped.
{
"launchVersion": 1,
"id": "com.example.notes",
"installationId": "0199…",
"lease": "…",
"frameUrl": "https://0199….apps.localhost/launch/…/index.html",
"renewAfterSeconds": 30
}
Bridge calls fail
| Code | Meaning | Fix |
|---|---|---|
not-embedded | The page is not inside a shell frame | Use the standalone path or launch from the Store |
timeout | No response within 5 seconds | Check the handshake, parent frame and shell logs |
denied | Missing permission, grant or consent | Declare the capability and request consent |
no-provider | No handler registered for the capability | Open the provider app and register the handler |
unknown-method | Method not in the v1 surface | Check @rumahl/contracts/bridge |
provider.invoke never arrives | Provider not running or not handshaken | Start the provider; delivery waits for its handshake |
const rumahl = connectRumahlBridge();
if (!rumahl.available) {
// This is a standalone preview.
}
const welcome = await rumahl.ready();
console.log(welcome.appId, welcome.methods);
A method is refused if the signed manifest did not declare its capability. The shell does not fall back to a broad baseline for a modern manifest.
Store source fails
| Symptom | Cause | Fix |
|---|---|---|
428 with a fingerprint | Untrusted source certificate | Compare the fingerprint, then trust or cancel |
| Index rejected | HTTP URL, credentials, fragment, redirect or invalid JSON | Serve stable HTTPS JSON without redirects |
| Index works, app is missing | Required field invalid | Check the required index fields and app IDs |
| Icons or screenshots missing | Cross-origin or unsupported image | Use the same origin; PNG, JPEG, WebP, GIF or AVIF under 8 MiB |
| GitHub source is empty | Wrong owner, repository, ref or directory | Resolve the raw store.json URL and open it directly |
| Package URL rejected | HTTP or a different certificate decision | Use HTTPS; trust the host once |
| App installs but the custom storefront shows different data | The website is reading a stale copy | Fetch the live index and show fetch errors |
GitHub source
github:owner/repo
github:owner/repo@main/catalog
https://github.com/owner/repo/tree/main/catalog
Resolves to
https://raw.githubusercontent.com/owner/repo/main/catalog/store.json
Only GitHub is recognized by the current source parser. Another Git host is not a supported GitHub source; use an HTTPS index instead.
Network consent fails
| Response | Meaning | Fix |
|---|---|---|
403 {"reason":"approval-required"} | The exact origin is not approved | Show the consent dialog for the origin |
403 {"reason":"private-approval-required"} | A private or loopback target needs explicit consent | Explain the LAN target and request consent |
403 {"reason":"blocked-target"} | Forbidden destination | Do not retry; the platform will keep refusing |
403 {"reason":"not-permitted"} | The app did not declare network access | Declare com.rumahl.os.network |
401 from the upstream service | The service rejected its own auth | Check the secret setting and the upstream account |
| 3xx from the upstream service | Redirects are not followed | Call the final URL directly |
The origin is scheme://host[:port] only. A path, query or fragment is not part of consent. Revocation applies to the next request; a cached private response is not reused.
Settings and secrets
- A required value must be present after the write, or the write is denied.
- A secret is write-only. A read returns the key in
secrets, never the plaintext. nullclears an optional value. An empty secret clears the stored secret.- Settings belong to one installation. A reinstall does not inherit the old installation.
- Limits: 64 settings, 64 KiB per plain value, 16 KiB per secret.
What to include in a bug report
- The step: import, launch, bridge call, store fetch or network request.
- The exact status code and response body, with secrets removed.
- The manifest excerpt, app ID and version.
- The source URL and whether its certificate was trusted.
- The bridge method and whether
ready()resolved. - The runtime: development server, installed shell or recovery environment.
- Whether the failure is reproducible after a fresh login and a relaunch.
Next
- HTTP API guide — request shapes and status codes.
- Bridge SDK reference — methods and error codes.
- Runtime status — what is actually launchable.
- Testing and release — a repeatable verification path.
Was this page helpful?