Deployment: Invicti Platform on-demand, Invicti Platform on-premises
Package: Invicti API Security Standalone or Bundle
NTA troubleshooting
This document provides troubleshooting guidance for common issues when deploying and running Invicti Network Traffic Analyzer (NTA).
Authorization failures
If the NTA can't authorize with Invicti Platform (receiving HTTP 401 responses), it automatically retries the authorization attempt. After 3 failed retries, the NTA gracefully shuts down with an error message indicating the authorization failure.
Common causes of authorization failures:
- Invalid or expired registration token
- Incorrect Invicti Platform credentials (email or license key)
- Network connectivity issues preventing access to Invicti Platform
- You skipped the Save step during token generation
To resolve:
-
Verify your registration token is valid and saved in Invicti Platform - go to Discovery >API configuration >API sources
-
Confirm your Invicti Platform email and license key are correct
-
Ensure network connectivity from your deployment environment to Invicti Platform
-
Generate a new registration token if needed and update your deployment configuration
-
Review the NTA logs for specific error messages:
For Kubernetes deployments:
kubectl logs <reconstructor-pod-name> -n <your-namespace>For Docker deployments:
docker logs <container-name>
Token expiry after disconnection
If the NTA is left disconnected from Invicti Platform for an extended period, its session token expires and can no longer refresh. When this happens, the NTA starts returning 401 Unauthorized heartbeat errors:
{"level":"error","message":"Heartbeat returned non-OK response","statusCode":401,"status":"401 Unauthorized"}
{"level":"warn","message":"Heartbeat failed; will retry on next tick","statusCode":401}
This is expected behavior. Common triggers include leaving a dev environment idle overnight or the host machine going to sleep.
To restore the connection (Docker Compose):
-
Generate a new registration token in Invicti Platform. For instructions, see Generate a new registration token.
-
Open
docker-compose.ymland replace the value ofAPIHUB_CONFIGwith the new token:environment:
APIHUB_CONFIG: YOUR_NEW_REGISTRATION_TOKEN_HERE -
Force-recreate the reconstructor container to apply the change:
docker compose -f docker-compose.yml up -d --force-recreate reconstructor -
Confirm the connection is restored:
docker compose logs -f reconstructorLook for
Heartbeat completed successfullyin the output.
Pod/container status issues
If NTA components are in CrashLoopBackOff or Error states, review the logs for specific error messages and verify:
- The registration token is valid and properly configured
- Network policies allow outbound connections to Invicti Platform
- Resource limits are appropriate for your traffic volume
- You've set all required environment variables correctly
Review pod status (Kubernetes):
kubectl get pods -n <your-namespace>
Review container status (Docker):
docker ps -a
Network connectivity issues
If the NTA can't reach Invicti Platform:
-
Verify firewall rules allow outbound HTTPS connections
-
Review proxy configurations if using a corporate proxy
-
Ensure Domain Name System (DNS) resolution works for Invicti Platform endpoints
-
Test connectivity from your deployment environment:
curl -I https://platform.invicti.com
No APIs appearing in API Inventory
If the NTA is running but APIs aren't appearing in your API Inventory:
- Verify traffic is actually flowing through the monitored interfaces/endpoints
- Verify that traffic matches the capture criteria (HTTP methods, status codes)
- Confirm the NTA has successfully authorized (review logs)
- Wait a few minutes - API reconstruction and sync may take time
- Review the reconstructor logs for processing errors
Need help?
Invicti Support team is ready to provide you with technical help. Go to Help Center