207002 - OPNsense Request Timed Out
Agent error code #207002 indicates that an OPNsense API call did not complete within the agent's timeout window. The firewall accepted the connection but did not return a response in time.
This error is distinct from connection failures (#207004) and DNS failures (#207005), which occur before any request reaches the firewall. Error #207002 means the firewall was contactable but slow to respond.
Common causes include:
- The OPNsense host is under heavy load and slow to handle API requests
- The alias being modified has grown very large, slowing the reconfigure step
- A network device between the agent and OPNsense is rate-limiting or shaping traffic
- The firewall is mid-reload from another configuration change
Steps to Resolve
Confirm OPNsense Is Responsive
- From the agent host, run
curl -sk -u <key>:<secret> https://<host>/api/firewall/alias_util/list/<alias>and measure the response time - If the same request takes several seconds from the command line, the firewall itself is slow and the underlying cause needs investigation
Check Network Path
- Confirm the agent host can reach the firewall hostname and port over the network
- Look for any shaping, proxying, or VPN hops between the agent and the firewall that might add latency
- Verify there is no asymmetric routing causing TCP retransmissions
Retry the Operation
- Grants are idempotent. Retry the operation by logging the affected user in again
- If the timeout persists, log into OPNsense directly to confirm the firewall is healthy and no background reload is in progress