Auth Troubleshooting
Problems connecting to a locally running engine with the aether-cli, and what to do
about each.
Local play today. The transport is being rebuilt (spec 043): the old SSH + Google-sign-in flow is retired. Remote sign-in and its error cases are being rebuilt — see Remote sign-in (coming). Everything else here is for local play.
“Connection refused” / the CLI can’t reach the gateway
What’s happening. The engine isn’t running, or the CLI is pointed at the wrong port.
What to do.
- Make sure the gateway is running in another terminal (
npm start). It prints the port it’s listening on when ready. - The default is
443; if443was taken it falls back to8443. Point the CLI at it:--server https://localhost:8443. - If the engine failed to bind the port, free it with
npx ts-node src/maintenance.tsand start again.
TLS / “self-signed certificate” error
What’s happening. The gateway uses a self-signed development certificate, which your client won’t trust by default.
What to do. On localhost, add --insecure to accept it, or --ca <gateway-cert.pem>
to verify it. The CLI refuses --insecure against any non-loopback host (that would
remove MITM protection).
“Unauthenticated” / access denied on localhost
What’s happening. The loopback bypass isn’t active, so the gateway is demanding a token you don’t have locally.
What to do. Start the gateway with npm start (it sets AETHER_EXPOSE_LOOPBACK=1),
and connect from localhost / 127.0.0.1. If you launched the engine another way, set
that environment variable before starting it.
“Character not found” / “Awaiting character creation”
What’s happening. There’s no universe/characters/<name>.json matching the name you
passed.
What to do. Check spelling and case (names are case-sensitive). If the character
genuinely doesn’t exist yet, reconnect with --create to open the Session-0 wizard and
create it — see Player onboarding.
The stream closes immediately, or the DM never responds
What’s happening. The engine hit an error after you connected.
What to do. Check the engine terminal. Common causes:
- The model backend isn’t running —
llama-servernot started. Probe its/healthendpoint per docs/runbooks/llamacpp-phase1-setup.md (see also Your First Campaign, Step 3). - The Rust core isn’t built — run
cargo build --releaseundercore/. - A network error reaching Gemini (if you’re on the Gemini provider).
“Rate limited”
What’s happening. The application-layer rate limiter was removed with Transport v2. If you are seeing a rate-limit error it is coming from a firewall or upstream proxy, not the Aether server itself.
What to do. Wait a few minutes and retry. If the problem persists, contact your GM.
Remote sign-in (coming)
Connecting from another machine uses a Google OIDC sign-in. That flow—and its error cases (the “app isn’t verified” warning, link-token expiry, CSRF on return from Google, character-ownership 403s, token-exchange failures)—is being rebuilt as part of transport v2 and the remote sign-in handoff. This section will be restored when remote play ships.
Related docs
- Player onboarding—the happy path
- Player Manual
- Playing via the CLI