Troubleshooting
Start with net --version, the exact command, its exit status and the output directory. Preserve the source capture and health artifacts before rerunning into a fresh directory.
First Aid
Flag/command missing
Installed version and net COMMAND -h; old net earlier in PATH
Native library cannot load
Complete matching release archive, including lib/; OS/runtime/architecture
No interface traffic
Driver, permissions, interface/network namespace, BPF and observation point
Offline process exits
Normal without explicit -http; records flush before exit
Local WebUI inaccessible
Bind address/port, startup errors and process lifetime
No HTTP/TLS records
Actual input, encryption, decoder selection and reassembly health
No enrichment
Database path, signed-source status and data availability
Few contacts/records
Sampling/truncation flags, capture drops, parser scope and finalization
Rules return no alerts
Rule enabled state, record type, expression errors and actual field values
CSV columns unexpected
-csv, separator and field names from dump -fields
Pitfalls
Use explicit boolean values such as -dpi=false. Generic -gen-config is unimplemented despite appearing in help. net export starts a metrics exporter; CSV/JSON conversion uses net dump.
Debug Mode
Use the relevant command's -debug option and inspect its actual log paths. Capture outputs can include errors.log, debug logs and health sidecars. Avoid posting payloads, credentials or an entire private capture in a public issue. Report version/build tags, input hash, exact error and a minimal reproducer.
Advanced Debugging
capture-manifest.json, TCPReassemblyHealth.json and subsystem health files qualify different boundaries. Missing/null counters are unavailable, not zero. Compare a known small synthetic capture before diagnosing a larger corpus. The evidence guide explains completeness witnesses.
Race Detection Builds
For source-level concurrency bugs, run a scoped go test -race with the matching build tags; testing lists entrypoints. A goroutine timeout wrapper does not cancel blocked native code, so do not substitute historical timeout helpers as a production fix for a native hang.
Last updated