These come from the Community Edition's exit for the agents it wraps. The dashboard's Activity page shows them, and when the exit refuses a request, the agent receives the code. A connection the exit refuses before it reads any request ends without a response.
The exit's rules refused this request
[policy-denied]
Your exit policy does not allow this request, for example to this host. A request the exit's checks would ask about when your policy itself does not ask for it is refused this way too, and so is a request sent again while its approval is still waiting, or while too many approvals are waiting.
It protects: The hosts and requests your exit policy does not allow.
- See the refused request on the dashboard's Activity page.
- If your policy should allow it, change the exit policy's rule and reload the exit's policy, or restart the exit.
- If an approval is waiting, answer it first with
isonapse egress answer <reference>, then let the agent send the request again.
The agent's rules could not be applied
[agent-policy-binding-invalid]
The exit could not apply its loaded policy to this wrapped agent, so it refuses the agent's requests until a policy loads that it can apply.
It protects: Your agent, from running under rules that do not apply to it.
- Reload the exit's policy, or restart the exit, which loads it again.
- If the refusals continue, check the exit with
isonapse hook status --details. A reload whose agent sections do not load is refused, and the exit keeps its last working policy.
This request waits for your approval
[approval-required]every mode
The exit holds this request for your approval: your policy asks for it, or you asked the exit to ask before this host or kind of request. The refusal the agent receives carries a reference.
It protects: Requests you want to see before they leave.
- Approve it with Approve once on the dashboard's Activity page, or run
isonapse egress answer <reference> with the reference from the refusal. - Then let the agent send the same request again within five minutes. The approval covers that exact request, once.
- To stop an ask you added with
isonapse egress ask <host>, run the same command with --revoke, keeping its --method and --path if it had them: a revoke removes only the exact ask it names. Or use Stop asking on that ask's row under Allowed hosts on the dashboard's Hosts page. An ask your policy makes stays until you change the policy.
The approval no longer applies
[approval-expired]
Its five minutes ran out, or the request, the exit's policy or its mode changed since it was asked.
It protects: Requests, from an approval given long ago or for something else.
- Let the agent send the request again for a new reference, approve that one, and let the agent send the request again within five minutes.
This approval was already used
[approval-replay]
An approval covers one request, once. This request's approval was already used, or you refused it.
It protects: Requests, from riding on an approval meant for one.
- Wait until the approval's five minutes are over: five minutes after it was asked, or after you approved it. The agent's next attempt then asks for a new approval.
The request was malformed
[request-invalid]
The request had a shape the exit does not accept, for example a method, path or query that is too long, a query with too many parts, or a destination the exit could not read.
It protects: Your rules, from requests the exit cannot check.
- This comes from how the agent or its tool built the request. Sending the same request again is refused the same way.
The request named a different host
[authority-mismatch]
The host the agent connected to, the host its secure connection named and the host the request names are not all the same.
It protects: Your rules, from a request that claims one host and goes to another.
- This comes from how the agent or its tool built the connection. Sending the same request again is refused the same way.
The address is not allowed
[address-forbidden]
The exit sends requests only to port 443 of public addresses. This request named another port, or would have gone to an address that is not public.
It protects: Your local network and private services, from your agent.
- Use the service's public HTTPS address on port 443. The exit does not reach private addresses or other ports.
The exit may not look up this host
[resolution-not-authorized]every mode
The exit looks up only the hosts your exit policy names, its configuration allows or you allowed. This host is not one of them, or its lookup failed or gave an address that is not public. On a route that passes through without inspection, the exit policy itself must name the host: a host that only you or the configuration allowed is always inspected and cannot use the route.
It protects: Your network, from requests to hosts you did not choose.
- To let the agent reach the host, allow it with
isonapse egress allow <host>, or with Allow host on the dashboard's Activity page when the page offers it. Your exit policy's other rules still apply to it. - A host whose lookup fails or gives an address that is not public stays refused.
- To use a pass-through route, add the host to your exit policy's
egress_resolve_hosts and reload the exit's policy, or remove the route so the exit inspects the host. Allowing the host does not open the route.
The connection used a protocol the exit does not handle
[protocol-unsupported]
The connection used a protocol or handshake the exit does not inspect, for example a WebSocket upgrade or an encrypted client hello.
It protects: Your rules, from traffic the exit cannot check.
- Make the agent or its tool use ordinary HTTPS.
This credential may not go to this host
[secret-destination-mismatch]
The request would send a credential the exit holds to a host that credential is not for. A host one of the exit's credentials is for also cannot use a route that passes through without inspection.
It protects: Your credentials, from going to the wrong host.
- Send requests that need the credential only to the host it is for.
- If that host has a pass-through route, remove the route from the exit policy, so the exit inspects the host.
The request carried a credential where the exit does not place it
[secret-location-mismatch]
The exit places a credential only in a request's one Authorization header. It refuses a request with a Cookie or an x-api-key header, whatever they hold, and a request that carries the credential's placeholder in another header or in another form, for example in a second Authorization header. A placeholder in the request's address or body is refused with another code, under "The request asked for a credential it may not use".
It protects: Your credentials, from being sent where the exit cannot check them.
- Leave those headers out, and let the agent send the placeholder setup gave it, unchanged, in its Authorization header: the exit places the credential there.
The request asked for a credential it may not use
[secret-grant-invalid]
The request carried its own Authorization value instead of the placeholder, or a Proxy-Authorization header, asked for a credential this agent may not use, carried an Isonapse secret placeholder in its address or body, or a known secret field name in its query or headers. A request in flight while the agent's key was replaced, or one whose key the exit could not read, is refused this way too.
It protects: Your credentials, from being handed to a request that may not have them.
- Do not set your own Authorization value: let the agent use the placeholder setup gave it, which the exit replaces with the key.
- If the key was just replaced, let the agent send the request again.
The agent's key is not on the exit
[credential-not-placed]
The request uses a credential this agent may use, but the exit holds no value for it: the agent's key is not placed on the exit.
It protects: Your requests, from going out without the credential they need.
- Place the key with
isonapse setup, or replace it with isonapse agent key <agent>. - The Agent key block on the dashboard's Hosts page and
isonapse setup --name-prefix isonapse --status show whether it is placed; if you gave setup another prefix, put it in place of isonapse.
The exit could not keep a copy your policy requires
[payload-evidence-required]
Your exit policy requires a copy of this kind of request or response, and the exit could not keep it. If that happened before sending, the request was refused; if after, the response had already been handed to the agent, and only the copy is missing.
It protects: Your records, for the requests you require to be kept.
- Check the evidence rules of your exit policy: a rule marked required refuses a request whose copy cannot be kept.
A body could not be handled or kept
[payload-unavailable]
Before sending, the exit refuses a request body that is too large, compressed, not the length it announced, or labelled JSON but not valid JSON. It also stops a response that is too large or that it cannot handle. After a request went through, the code can also mean only that your exit policy asks for a copy the exit could not keep, for example of the answer to a request that carries the agent's key (a sensitive.response level), or of a body the exit cannot read, such as a web page (an unsupported level): then nothing was refused, and the agent got the whole response. With no such rule, as in setup's policy, a request whose body the exit does not keep, such as a web page, ends succeeded.
It protects: Your rules and records, from bodies the exit cannot check.
- If the agent got a refusal, send an uncompressed body within the exit's size limit.
- If the request went through, nothing needs fixing: only the copy is missing.
- To stop asking for a copy the exit cannot keep, remove that level from the evidence rules of your exit policy.
The exit could not record this request
[witness-unavailable]every mode
The exit sends a request only after it has recorded its decision, and its record store did not answer, so it refused the request.
It protects: Your records: no request leaves without one.
- Wait a moment and let the agent try again.
- If it keeps happening, check the exit with
isonapse hook status --details or the Wrapped agent card on the dashboard's Hosts page.
The exit could not decide in time
[decider-unavailable]
The exit could not get a decision for this request, for example because the session was busy with too many requests at once, or its policy or mode was changing, so it refused it.
It protects: Your rules: no request leaves undecided.
- Wait a moment and let the agent try again.
- If it keeps happening, check the exit with
isonapse hook status --details or the Wrapped agent card on the dashboard's Hosts page.
The request timed out
[deadline-exceeded]
Looking up the host, deciding or sending the request took too long, so the exit stopped it. On a route that passes through without inspection, the route's end date may have passed, or the server did not answer its handshake in time.
It protects: Your agent, from waiting on requests that do not finish.
- Let the agent try again.
- For a pass-through route, check its end date,
expires_unix, in the exit policy.
The agent's secure connection to the exit failed
[client-tls-refused]
The agent's secure connection to the exit did not complete, for example because the agent did not accept the exit's certificate, the handshake did not finish in time, or too many connections were opening at once.
It protects: Your agent's connections: the exit inspects only connections the agent trusts it for.
- Let the agent try once more.
- If it keeps happening, check the exit with
isonapse hook status --details or the Wrapped agent card on the dashboard's Hosts page.
The server did not answer with the handshake a pass-through route needs
[upstream-tls-refused]
On a route that passes through without inspection, the server did not answer with the TLS 1.3 handshake such a route requires, so the connection ended.
It protects: Your rules: a route that passes through carries only connections the exit can recognize.
- Check that the server supports TLS 1.3, or remove the host's pass-through route from the exit policy, so the exit inspects it.
The server could not be reached
[upstream-failed]
The exit could not connect to the server, the connection failed partway, the server's certificate was not valid, or its response was malformed.
It protects: Your agent, from a reply it cannot trust.
- Check that the server is up and its address is right, then let the agent try again.
The response did not arrive in full
[partial]
The response stopped or timed out before the exit could pass it on in full, or the agent's connection ended first. The agent got a refusal, or the part that arrived.
It protects: Your agent, from taking an incomplete reply for a complete one.
- Let the agent try again. The server may have acted on the request, so for a request that changes something, check first whether it took effect.
The exit could not tell whether the whole request was sent
[unknown-outcome]
The exit could not confirm that it sent the whole request, so it passed no response on, and the agent got a refusal. The server may still have acted on the request. On a route that passes through without inspection, the code instead records a connection that ended without the exit's count of the bytes it carried, or one whose end the exit had not recorded when it stopped, recorded when it starts again. The agent got no refusal there, and what went through the connection may have reached the server.
It protects: Your records: a request whose result is unknown is not reported as done.
- Check on the server whether the request took effect before the agent sends it again.
- For a pass-through route, the agent's own results say whether its requests went through: the exit does not see them.
The response was stopped
[credential-echo]
The exit stopped this response because it repeated the credential the exit placed, in a form the exit recognizes, or used an encoding or size the exit cannot check. Bytes before the repeated credential can have reached the agent; the credential did not.
It protects: Your credential, from coming back to the agent in a response.
- Find out why the server repeats the credential: the exit does not pass a copy it recognizes on.
- Ask the server for an uncompressed response within the exit's size limit.