running while a web server isn’t listening, a short-lived Viewer link has expired, or a mutation’s outcome is UNKNOWN. Diagnose the failing layer before stopping, deleting, or recreating Machines.
Sign-in, activation, and credentials
Signing out of the Console does not revoke Agent API Keys, and runtime links (Preview, Share, Viewer) cannot authenticate control API requests.
Machine and resource problems
Readresources.get() and the original Computer or Sandbox. Never add reserved + pending to total (they are already included in total), and never treat missing network or resident fields as 0.
See Account resources and Choose a Machine.
SSH, SFTP, and IDE connections
Refresh the SSH endpoint from the running Computer with an authorized public key, and use all returnedhost, port, and user values while keeping your private key local:
Permission denied (publickey): Match the-iprivate key to the public key fingerprint authorized on that specific Computer ID.- Connection refused or timed out: Verify
state === "running", active entitlement, and refreshssh.endpoint()before editing keys. - Host Key changed warning: Stop and investigate before deleting
known_hostsentries—never disable host-key checking. - SFTP works but VS Code Remote SSH fails: The SSH path is healthy; inspect VS Code’s Remote SSH output log, Guest architecture, disk, and Memory.
- Local port forward refuses traffic: Confirm the service is listening inside the Computer first, then check local
-Lbind and port conflicts.
Private Preview and Share
Verify the application inside the Computer first:
See Private Preview and Share. Never paste capability URLs into public bug reports.
Desktop and human assistance
A Desktop Viewer URL is a short-lived runtime entry to the same Computer. Reopen Desktop from the signed-in Console when a Viewer expires; closing the Viewer tab never stops Chromium or the Computer. Whenassistance.get() returns to agent, inspect the actual browser state before continuing—the 120-second idle handback, 1-hour expiry, or Viewer reconnect never guarantees that a login or 2FA challenge succeeded. See Desktop and Human assistance.
Tools, Docker, and outbound requests
- Tools: Command availability (
tools.inspect/--version) is separate from model-provider authentication. On download errors, verify Guest DNS and HTTPS reachability before retryingtools.install. - Docker: Separate daemon/socket checks, image architecture (
uname -m), Memory pressure, and Account Storage. - See Agent tools, Docker and Dev Containers, and Outbound networking.
Vault
Inspectvault.get() and computer(id).secretGrants.list() / sandbox(id).secretGrants.list(). Verify exact allowed_hosts DNS names, env_name placeholder, HTTPS usage, and TLS verification. Never paste raw secret values into the Guest to bypass a restart_required disposition—schedule an explicit Stop → Start instead. See Vault.
Reporting an issue
Include the operation, timestamp (UTC), affected Machine ID,idempotency_key (if any), error.code, retry, and minimal before/after observations. Redact all Agent API Keys, Human tokens, invite codes, Private Preview / Share / Viewer URLs, raw Secret values, and private browser session data, and preserve the original asset while outcomes remain uncertain.