Run ephemera doctor
--json prints the same checks for scripts.
Errors
invalid token; run ephemera login
invalid token; run ephemera login
The token was revoked, or this machine was never signed in to this server. Sign in again:If
EPHEMERA_TOKEN or EPHEMERA_SERVER is set in your shell, it overrides the saved login. Check with env | grep EPHEMERA.no host can take a sandbox
no host can take a sandbox
When every host in your account is offline, A host that says
ephemera run and ephemera dev say which, and when it was last seen:ephemera login prints the same note when it signs you in, so you find out before the first run. ephemera hosts lists every host with when it was last seen. On the host, check the agent is running:connection to central server lost; reconnecting keeps trying, waiting up to a minute between tries. A host the central server has no record of, because it was removed, says so in its log: join it again with a new code.If a host is online but the error is none of this account's hosts is connected with room for a sandbox, every online host is full. Destroy a sandbox (ephemera ls, ephemera rm), or raise the host’s --capacity.The CLI can't reach a host
The CLI can't reach a host
Your laptop sends files and reads output straight from the host, at the address the host gave when it joined (
ephemera hosts lists it). The host’s connection to the central server can be fine while your laptop can’t reach it. ephemera doctor tries the host in three steps, and says which one failed:The MTU problem is most common on a VPN or tunnel; WSL2’s
eth0, for one, can have an MTU of 1280. It also makes SSH hang at key exchange, which is a quick way to recognise it.If you can SSH into the host, you can also skip the network: run ephemera on the host itself. See Use it over SSH.host lab-1's key changed
host lab-1's key changed
The host presented a different key from the one this CLI pinned. If you rebuilt the host or joined it again, that’s expected; accept the new key:If you didn’t, don’t: something may be between you and the host.
A command can't reach the internet
A command can't reach the internet
That’s the default. The end of the run names what was blocked:Add the host with
--allow registry.npmjs.org. With an allow list that doesn’t have it yet, the reason reads registry.npmjs.org:443 is not on the sandbox's allow list. If the summary shows nothing at all, the program ignores proxy settings; Node.js’s built-in fetch needs --env NODE_USE_ENV_PROXY=1. See Network access.allow lists need the firecracker backend
allow lists need the firecracker backend
The host runs the Docker backend, which is for building ephemera only. Run the host with
--backend firecracker; the installer does.limit reached
limit reached
The token has a limit on sandboxes at once or on sandbox-minutes a day:
ephemera usage shows the token’s use and limits. To change them, make a new token with other limits in the dashboard and revoke the old one, or, on a server you run, use ephemera-server token limits. See Tokens and CI.the code expired before it was approved
the code expired before it was approved
A sign-in code from
ephemera login works for 10 minutes. Run ephemera login again and approve the new code.ephemera run exits 125
ephemera run exits 125
125 means ephemera itself failed before or around your command: the message above it says why. Your command’s own exit codes pass through untouched; 124 means
--timeout stopped it.Still stuck
Open an issue on GitHub with the output ofephemera doctor and ephemera version. Neither prints your token.