Troubleshooting
This page addresses frequently encountered issues when working with TEN Agent.
Development environment problems
Script not found error
You see the following error:
This error typically occurs due to incorrect line endings on Windows systems. Unix-based scripts require LF (Line Feed) endings, but Windows often uses CRLF (Carriage Return + Line Feed).
To resolve this issue:
-
Configure Git to preserve line endings:
-
After changing this setting, either:
- Re-clone the repository, or
- Download the ZIP file directly from GitHub
Environment variables not updating
Changes to your .env
file aren't reflected in your environment.
-
Stop any running containers or services
-
Edit your .env file with the new values
-
Apply the changes:
-
Restart the containers or services
Network connectivity issues
Verify both HTTPS and SSH connectivity to ensure proper operation:
-
Test HTTPS connection
Expected output:
-
Test HTTP/API connectivity
Expected output (abbreviated):
If these tests fail:
- Check your network firewall settings
- Verify proxy configurations
- Ensure DNS resolution is working correctly
Container-specific problems
Cannot connect to Docker container
If you cannot access services in the container:
-
Check container status:
-
Verify port mappings:
-
Inspect container logs:
Module configuration issues
If your modules do not work correctly:
-
Verify API keys in your
.env
file -
Check module configuration in the playground
-
Review logs for authentication errors
-
Test API connectivity from within the container:
Platform-specific issues
Windows line endings
Windows users may encounter additional line-ending issues beyond the script error mentioned above. For a comprehensive fix:
-
Set Git configuration:
-
Fix existing files (if needed):
-
Consider using WSL2 for a more Linux-compatible environment