Skip to content

Use

Troubleshooting

“Refused: authorization is missing”

Every scan needs an authorization block with confirmed: true, an owner and a reference (a ticket, letter or self-owned). Nothing is sent to a target without it. This is deliberate. See responsible use.

The app says “missing or wrong session token”

The app protects itself with a random token per session. Reopen the link printed by agentkavach ui; it includes the token. Do not copy the link to another machine.

“Could not reach the target”

Use the wizard’s connection test. Check the base URL (including /v1 for OpenAI-compatible APIs), that the environment variable named in api_key_env is set in the same shell that started the app, and that a proxy is not blocking loopback traffic. The scanner never prints the key.

Many scenarios are “not evaluated”

A scenario can only be judged if Scan can observe what it needs, such as tool calls, a canary the agent can read, or an indirect channel. Open the coverage view (the wizard’s step 3, or agentkavach scan --dry-run) to see what each addition would unlock. Skipped scenarios are counted and explained, never silently dropped.

The grade is “incomplete”

Too few tests ran or too many errored for a grade to mean anything, so none is given. Fix the connection or raise the call budget and run again. A CI gate fails closed in this case.

Results differ between runs

Set seed (and canary_salt) for reproducible runs. With a live model, repeated attempts can differ, which is why each test repeats and the grade uses a stated rule.

Hindi text looks wrong in the report

Reports are self-contained and use your system’s Devanagari font. If characters show as boxes, install a Devanagari font such as Noto Sans Devanagari.