207006 - OPNsense Request Failed
Agent error code #207006 is the fallback code for OPNsense API errors that don't match a more specific classification. The agent reached the firewall and the call completed, but the response indicated a transport-level or unclassified failure.
This error is distinct from the more specific codes (#207000 through #207005, #207100 through #207103, #207200) and indicates that none of the typical failure modes applied.
Common causes include:
- A transient network glitch (TCP reset, mid-stream connection drop)
- An HTTP response code that the agent does not recognise as a known failure mode
- A proxy or load balancer between the agent and OPNsense returning a non-OPNsense error body
- A firmware upgrade in progress on OPNsense
Steps to Resolve
Check the Agent Log for the Underlying Error
- Open the orchestration agent log on the agent host
- Find the entry corresponding to the failed grant and read the technical detail logged alongside the user-visible code
- The detail will identify whether the failure was a TCP reset, an HTTP status code, or a malformed response body
Reproduce With curl
If the underlying detail is unclear, reproduce the call manually from the agent host:
curl -sk -u <key>:<secret> https://<host>/api/firewall/alias_util/list/<alias>
If the command also returns an unexpected response, the issue is in the network path or on OPNsense itself.
Retry the Operation
- Grants are idempotent. Retry by logging the affected user in again
- If the failure persists, escalate using the agent log detail