DEMO/Infrastructure

← Back to dashboard

Troubleshooting the agent demo cell

Audience: presenter · Profile: demo · Read this when: a part of the agent demo cell will not deploy, connect or grant.

Part of Agent Demo Cell.

The worker logs unattested. In order of likelihood:

With --token-source spiffe, every poll fails at the token endpoint. The dashboard could not verify the SVID: check Users → SPIFFE trust domains shows the lab's trust domain with a JWKS URL (a lab registers it when built; Refresh keys re-registers it), and that the dashboard can reach the lab's tcp/8443. A replayed or wrong-audience SVID is refused by design — the worker fetches a fresh one per exchange, audience-bound to /api/oauth/token on the MCP URL's origin.

Every poll fails with a 404. The MCP server is off, or /mcp is not routed — the worker's URL must be the SSE endpoint, /mcp/sse. The cell refuses a disabled MCP server at mint time, so a 404 here means the flag changed afterwards or the URL is wrong.

The unit restarts in a loop after a revoke. SuccessExitStatus=2 is missing from the unit. The worker exits 2 on a refusal deliberately, so systemd must treat that as a stop.

The agent sees more than expected. Look at the token's user, not the agent. Every tool applies that user's permissions — which is the point of the What the agent could see card.