FAQ
Account & Login
Forgot Password?
Method 1: Contact admin to set a new password
The admin goes to "System" → "Users", edits the user and sets a new password.
Method 2: Use deployment script to reset admin password
cd testnet-deploy
./testnet.sh reset-password
# Password after reset is Admin@123456 (fixed for dev/testing; production installs generate a random password at install time)Account Disabled?
Contact the system admin to re-enable your account in "User Management".
Workflows & Tasks
Task remains in PENDING state after workflow execution
Possible Cause 1: No online scanning nodes
- Check the "Scanning Nodes" list to confirm there are 🟢 online nodes
- If there are no nodes, you need to deploy a scanning probe first
Possible Cause 2: The node's tool whitelist excludes the tool
- Open "Scanning Nodes" → "Configure" to review the node's tool whitelist (empty means unrestricted)
- Add the tool to the whitelist, or clear the whitelist
How to troubleshoot workflow execution failures?
- Go to the "Run Center" and find the failed task
- Click "Logs" to view detailed error information
- Common errors:
Docker image not found: Tool Docker image not pulled, check node networkInput asset is empty: Input asset is empty, check if upstream nodes have outputTimeout: Execution timeout, increase timeout in workflow node configuration
How to retry a failed task?
Find the failed task in the "Task List" and click "Re-run" to execute it again.
How do I cancel a running task?
In the "Run Center", click "Cancel Task" in the task row actions. The task is immediately marked CANCELLED and pending tasks are no longer dispatched; tasks already running on a node are not terminated in real time — their containers/subprocesses wind down when the task times out.
How do I tune scan concurrency and pacing?
- Node concurrency: set
task.max_concurrentin the node'sconfig.yaml(default 3), push it via the server-side node configuration, or override temporarily with theTESTNET_MAX_CONCURRENTenvironment variable. - HTTP probing pace:
http.rate_limit_enabledandhttp.host_min_interval(default 10s) control the request interval against the same host, protecting fragile targets. - Batch task limits:
testnet_taskbatch dispatch is jointly bounded by the number of online nodes and their concurrency caps — no manual splitting needed.
Why does a workflow run end as PARTIAL (partially successful)?
PARTIAL means the workflow finished, but some nodes failed or were skipped. This is common in workflows configured with errorStrategy: CONTINUE/SKIP_NODE, where one node's failure doesn't halt the remaining branches. What to do:
- In "Run Center → Workflow Records", expand the run to locate the failed node and inspect its task logs;
- If the failed node doesn't matter for the conclusion, leave it as is; if it feeds downstream, fix it and re-run just that branch;
- The default policy is
STOP(any node failure fails the whole run); "best-effort" inspection workflows can setCONTINUEexplicitly — see the DSL Reference.
The node is online — why isn't it receiving tasks?
Check in this order:
- Tool whitelist mismatch: the task's tool is not on that node's whitelist — the dispatcher only assigns whitelisted tools to it. Verify under "Scanning Nodes" → "Configure" (empty means unrestricted).
- Concurrency full: the node already runs
max_concurrenttasks; new ones wait for other nodes or idle capacity. - Forced upgrade in progress: nodes below the minimum required version pause pulling new tasks during a forced upgrade and resume afterwards.
- Long-poll window: dispatch may lag by up to one long-poll cycle (
poll_timeout, default 30s) — normal behavior.
How do nodes get upgraded? Why can't Docker nodes self-update?
Binary-deployed nodes support one-click "Dispatch Upgrade" from the console (select nodes → confirm in the drawer); each node downloads, verifies, and restarts in place while idle. Policies and the minimum version are covered in Node Online Self-Upgrade. Docker container nodes cannot self-update — replacing the binary inside a container is lost on rebuild — so the console skips them automatically; upgrade them together with the images.
A node keeps showing "Upgrade failed" after dispatch
- Check the failure reason on the node card (
lastUpgradeErroris reported to the console) - On self-signed HTTPS deployments make sure
server.tls.insecure_skip_verify: trueon the node, otherwise the package download fails certificate verification (recent releases inherit the TLS policy for upgrade requests automatically) - Unavailable checksums make the upgrade skip intentionally (fail-closed) — the binary is never overwritten without verification; re-dispatch after fixing the download path
How do I use the MCP changedSince cursor?
testnet_vuln, testnet_asset, testnet_task, and the traffic-record search list_records all accept an ISO8601 changedSince argument: after a first full pull, remember the current timestamp and pass it in the next round to fetch only new/changed data — ideal for periodic reconciliation in long sessions without full re-scans.
How do I restrict certain nodes to specific tools only?
Configure a node tool whitelist: open "Scanning Nodes" → "Configure" and pick the allowed tools under "Tool Execution Whitelist" (empty means unrestricted). Once saved, the node only pulls tasks for whitelisted tools — see Node Tool Whitelist.
Asset Management
Excel import failed?
- Download the latest import template (list page "Import" → "Download Template")
- Check if required fields are filled (fields marked with *)
- Check if data format meets specifications (e.g., IP address format)
- File size must not exceed 20MB
Assets blocked by rules?
Asset rules can configure validation rules. Assets that do not meet the conditions will be rejected (BLOCKED).
- View blocked records in the import results
- Go to "Asset Config" → "Access Rules" to check currently active rules
- Modify rules or adjust data and re-import
Too many items selected during batch operation?
Click "Clear Selection" in the batch operation bar to clear current selection, or refresh the page to reset state.
Search Engine
API Key test failed after configuration
- Check if the Key is correct (no extra spaces)
- Check if the Key has expired or been banned
- Check if the server can access the corresponding engine's API (network connectivity)
Search results are empty
- Try simplifying the search syntax to rule out syntax errors
- Some engine free accounts have query limits, try reducing the result count
- Check if API quota has been exhausted
System & Permissions
Menu shows "No Permission"
Contact admin to check your role permission configuration:
- Go to "Role Management"
- Find your role
- Confirm that the view permission for the corresponding module is enabled
WebSocket connection disconnected, notifications cannot be received in real-time
- Check if network connection is stable
- Refresh the page to re-establish WebSocket connection
- If using a reverse proxy, check if the proxy configuration supports WebSocket long connections
AI & MCP
Where do I get the MCP API Key?
Sign in and open "AI" → "MCP Access" to view and copy the API Key; for setup steps see Claude / Cursor Setup. In production, configure a dedicated key via the TESTNET_MCP_API_KEY environment variable.
How do I rotate the MCP API Key?
- Change
TESTNET_MCP_API_KEYin the deployment.envto a new long random secret (never reuse the dev default) - Restart the server (
./testnet.sh restart) — the old key becomes invalid immediately - Update the
Authorizationheader in every AI client config (Claude Code / Cursor, etc.) - The dev default
default-mcp-api-key-for-dev-environmentis for local development only — always override it in production
Static API Key vs user JWT — what's the difference?
The static API Key never expires and is designed for long-lived agent access; on success it injects the mcp-agent system identity (the least-privilege set mcp:view + mcp:execute). A user JWT expires after 24 hours and requires an account with mcp:view / mcp:execute — better suited to short-lived human debugging.
Performance & Stability
System response is slow
- Check server CPU/memory usage
- Check if PostgreSQL connection count has reached the limit
- Temporary slowdown may occur during high concurrent task execution, wait a moment
Task logs cannot load
- Logs for running tasks load via incremental polling on the page; check your network connection and refresh
- When tasks are completed, logs are loaded from the database, confirm the task was actually executed
Deployment & Environment Troubleshooting
Docker File Descriptor Limit Error (out of memory / ulimit)
Symptom:
When running high-concurrency scan tasks or starting Docker containers on Linux distributions (such as Kali Linux, Debian, or older CentOS releases), you encounter:
library initialization failed - unable to allocate file descriptor table - out of memorySolution:
- Edit the system's
docker.serviceconfiguration file:bashsudo vim /usr/lib/systemd/system/docker.service - Append
--default-ulimit nofile=65536:65536to theExecStart=/usr/bin/dockerdline:textExecStart=/usr/bin/dockerd --default-ulimit nofile=65536:65536 - Reload systemd daemon and restart Docker:bash
sudo systemctl daemon-reload sudo systemctl restart docker
DNS Resolution Failure Inside Docker Containers
Symptom:
Scan probe nodes report network errors when pulling dependencies or resolving target domains:
Temporary failure resolving 'mirrors.aliyun.com'Solution:
- Configure global DNS resolvers in Docker's daemon configuration:bash
sudo mkdir -p /etc/docker sudo vim /etc/docker/daemon.json - Add reliable public DNS servers:json
{ "dns": ["223.5.5.5", "114.114.114.114", "8.8.8.8"] } - Restart Docker service:bash
sudo systemctl restart docker
Permission Denied When Mounting Docker Sock or Volumes
Symptom:
Probe nodes fail to launch scanner containers when mounting /var/run/docker.sock or local data volumes, throwing Permission denied.
Solution:
- Temporarily disable: Run
sudo setenforce 0 - Permanently disable: Edit
/etc/selinux/configand setSELINUX=disabled, then reboot the host. - Volume Policy (Recommended): Append
:zor:Zflags to the volume mount path (e.g.,-v /var/run/docker.sock:/var/run/docker.sock:z).
Slow Dependency Downloads in Restricted Networks
Symptom:
Dependencies (e.g., Python pip packages or GitHub repository artifacts) time out during online probe setup.
Solution:
- PyPI Mirror: Add domestic mirror flags to your Python dependency installation:bash
pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ - GitHub Acceleration: Prepend acceleration proxy URLs (e.g.,
https://gh-proxy.com/) in node tool configurations or environment variables.
Local Proxy fake-IP Pollutes DNS Conclusions
Symptom:
When the admin/test machine runs a TUN-mode proxy (e.g. Clash/Surge fake-IP mode), local nslookup / dig / ping commands return fake IPs from the 198.18.0.0/16 range for any domain. Any DNS-based conclusion ("subdomain is alive", "resolution anomaly", etc.) drawn from local output is invalid, and fake IPs may even be mistakenly registered into the asset inventory.
Solution:
- Trust platform probes for DNS conclusions: all resolution and liveness conclusions must come from TestNet probe nodes or the
testnet_httprelay (probes use their own DNS stack inside the container and bypass the local proxy). Never trust direct local probing results. - Verify local pollution:
nslookup example.comreturning198.18.x.xindicates fake-IP pollution. - If local verification is required: disable the proxy's TUN mode or add the target domain to the proxy's fake-ip-filter exclusion list, then retry.
Manual Debugging & Diagnostic Steps for Failed Scan Tasks
If a scan task fails on a probe node and UI logs are insufficient, follow these 5 diagnostic steps:
- Extract Command: Go to the "Run Center", view task logs, and copy the exact executed command.
- Access Probe Container: Access the probe client container on the host server:bash
docker exec -it testnet-client /bin/bash - Execute Manually: Paste and execute the copied tool command directly inside the container to inspect raw
stdoutandstderroutput. - Fix Dependencies:
- For binary permission errors, execute
chmod +x <tool>. - For missing Python / Go dependencies, run
pip installor adjust environment variables.
- For binary permission errors, execute
- Re-verify: Ensure the command exits with code 0 inside the container, then click "Re-run" in the web console.
Contact Support
If the above content cannot resolve your issue, please:
- Check the Deployment Guide to confirm correct installation configuration
- Collect server logs (
docker logs testnet-server) - Contact platform admin or submit an Issue