-
Notifications
You must be signed in to change notification settings - Fork 2
Guide Policy Assistant
Policy Assistant is an automated rule debugging tool provided by Oasis. This tool resolves display or functional issues on web pages caused by connection failures.
Websites typically rely on resources from multiple domains (APIs, CDNs, third-party scripts). When accessing these sites through a proxy, missing rules for specific domains can result in slow loading or broken functionality.
Policy Assistant automates troubleshooting through a "Real-time Detection - Auto Routing - Cyclic Validation" logic:
- Monitor: Captures network connection errors generated by the current tab in real-time.
- Route: Automatically adds captured error domains to the Temporary Rules list, assigning them to a specified proxy node.
- Retry: Automatically reloads the page to verify if previous rule changes took effect, continuing to capture new dependency errors that may occur deeper in the page load process.
-
Access Monitor Page: Open the standalone Monitor page.
-
Select Target Tab: Click the target browser tab in the left sidebar.
-
Execute Policy Assistant: Click the Policy Assistant button (or the magic wand icon) at the top.

-
Configure Parameters:
- Select Proxy: Specify a valid proxy node or group for the extracted error domains.
- Max Rounds: Set the maximum number of cyclic retry attempts.
-
Wait Window: Set the duration to wait for capturing new requests after each page load.
-
Start: Click Start. The assistant executes the process and displays a results report upon completion.

- Non-destructive Validation: Rules generated by the assistant are saved in the "Temporary Rules" list by default to prevent main configuration pollution. After debugging is complete, these can be converted to permanent rules by clicking Promote on the Temporary Rules page.
-
Status Code Analysis: Identifies failing domains by analyzing network request HTTP status codes and underlying connection errors (e.g.,
net::ERR_CONNECTION_RESET). - Execution Dashboard: Displays real-time charts and tabular data, showing the total number of domains captured in each round, details of modified rules, and final validation results.
-
Integration with Auto Policy: Execute Policy Assistant under the
Auto Policymode to ensure rule routing functions as expected. - Prioritize Static Resources: For completely inaccessible websites, execute Policy Assistant first to rapidly configure CDN and static reference domain rules.
- Rule Cleanup: Upon completion and verification of web page functionality, review the temporary rules list. Combine generic domains (e.g., merging multiple subdomains into a wildcard) or remove unused tracking domains.