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.

10 min readUpdated 26 November 2026Import · launch · bridge · store

First checks

  1. Is the package signed and unchanged since signing?
  2. Does the catalog list the app as launchable: true?
  3. Does the error happen at import, at launch, or after the frame loads?
  4. Is the app calling the bridge, or is it calling the shell API directly?
  5. Which grant, origin or certificate is missing?

Package import fails

SymptomLikely causeFix
Signature does not verifyManifest changed after signing; wrong key or trust storeSign the exact manifest bytes and verify with the intended trust store
Unknown fieldManifest schema mismatch or a typoRemove the field; unknown fields are rejected
File digest mismatchA payload file changed after the manifest was writtenRegenerate the manifest and sign again
Package too largeOver 2,048 files, 64 MiB per file or 256 MiB totalReduce the payload
Manifest too largeOver 1 MiBMove data out of the manifest
Native package rejectedNativeTrustDenied, NativePublisherNotAllowed or a foreign ABIEnable native execution, allow the publisher and build the artifact for the host ABI
Native app installs but does not startExecutable not staged, bwrap unavailable or the sandbox failed at startupCheck the runtime supervisor log, the staged artifact and the host kernel namespace configuration
Native app has no windowNative apps are headless by designOpen the app management page and use Start/Stop; native apps have no iframe or bridge
Container app is not launchableNo declared HTTP endpoint, failed readiness or no app-host proxyDeclare the endpoint and health path, then check the runtime supervisor, broker and container state
Publisher update rejectedPublisher identity changedUse the same publisher key for an update
Installed app cannot launchPublisher or signing key was revokedStop the running process if needed and uninstall; revocation is loaded at startup
shell
# 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

ResponseMeaningFix
404Unknown app, wrong account or missing launch grantCheck the catalog and the live installation
423Safe mode is activeOpen recovery and leave safe mode
503Storage, asset publication or runtime unavailableCheck the platform service and published assets
Blank frameEntrypoint missing, assets unpublished or wrong pathConfirm the entrypoint directory and relative asset URLs
Frame disappears after 90 secondsLease renewal stoppedKeep the window open and renew every 30 seconds
Works in preview, fails in the shellAbsolute URLs or an unsupported browser APIUse 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.

expected launch response
{
  "launchVersion": 1,
  "id": "com.example.notes",
  "installationId": "0199…",
  "lease": "…",
  "frameUrl": "https://0199….apps.localhost/launch/…/index.html",
  "renewAfterSeconds": 30
}

Bridge calls fail

CodeMeaningFix
not-embeddedThe page is not inside a shell frameUse the standalone path or launch from the Store
timeoutNo response within 5 secondsCheck the handshake, parent frame and shell logs
deniedMissing permission, grant or consentDeclare the capability and request consent
no-providerNo handler registered for the capabilityOpen the provider app and register the handler
unknown-methodMethod not in the v1 surfaceCheck @rumahl/contracts/bridge
provider.invoke never arrivesProvider not running or not handshakenStart the provider; delivery waits for its handshake
debug 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

SymptomCauseFix
428 with a fingerprintUntrusted source certificateCompare the fingerprint, then trust or cancel
Index rejectedHTTP URL, credentials, fragment, redirect or invalid JSONServe stable HTTPS JSON without redirects
Index works, app is missingRequired field invalidCheck the required index fields and app IDs
Icons or screenshots missingCross-origin or unsupported imageUse the same origin; PNG, JPEG, WebP, GIF or AVIF under 8 MiB
GitHub source is emptyWrong owner, repository, ref or directoryResolve the raw store.json URL and open it directly
Package URL rejectedHTTP or a different certificate decisionUse HTTPS; trust the host once
App installs but the custom storefront shows different dataThe website is reading a stale copyFetch the live index and show fetch errors
source resolution
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

ResponseMeaningFix
403 {"reason":"approval-required"}The exact origin is not approvedShow the consent dialog for the origin
403 {"reason":"private-approval-required"}A private or loopback target needs explicit consentExplain the LAN target and request consent
403 {"reason":"blocked-target"}Forbidden destinationDo not retry; the platform will keep refusing
403 {"reason":"not-permitted"}The app did not declare network accessDeclare com.rumahl.os.network
401 from the upstream serviceThe service rejected its own authCheck the secret setting and the upstream account
3xx from the upstream serviceRedirects are not followedCall 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.
  • null clears 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