Installation Issues
pip install fails with permission error
pip install fails with permission error
Solution: Install with user flag or use virtual environment
runagent command not found after installation
runagent command not found after installation
Solution: Add Python scripts to PATH or use python -m
SSL certificate verification failed
SSL certificate verification failed
Solution: Update certificates or use trusted host
Configuration Issues
Invalid runagent.config.json
Invalid runagent.config.json
Common causes and solutions:
-
JSON syntax error
-
Missing required fields
-
Invalid entrypoint path
Environment variables not loading
Environment variables not loading
Solution: Check .env file and loading mechanism
Local Development Issues
Port already in use
Port already in use
Solution: Find and kill process or use different port
Module import errors
Module import errors
Solution: Check dependencies and Python path
Hot reload not working
Hot reload not working
Solution: Check file watchers and restart manually
Runtime Errors
Agent timeout errors
Agent timeout errors
Solution: Increase timeout or optimize agent code
Memory limit exceeded
Memory limit exceeded
Solution: Increase memory limit or reduce usageTips for reducing memory:
- Load models once, not per request
- Use generators for large datasets
- Clear unused variables
- Profile memory usage
API key errors
API key errors
Common issues:
-
Key not found
-
Invalid key format
- OpenAI keys start with
sk-
- No extra spaces or quotes
- Check expiration
- OpenAI keys start with
-
Rate limits
- Implement retry logic
- Use different keys for dev/prod
- Monitor usage
Deployment Issues
Deployment fails validation
Deployment fails validation
Solution: Run validation locally first
Agent not responding after deployment
Agent not responding after deployment
Debugging steps:
SDK Issues
Authentication errors with SDK
Authentication errors with SDK
Solution: Check API key configuration
Streaming not working
Streaming not working
Common causes:
-
Buffering issues
-
Proxy interference
- Check if behind corporate proxy
- Test with direct connection
- Use appropriate proxy settings
Performance Issues
Slow agent response times
Slow agent response times
Optimization strategies:
-
Profile your code
-
Cache expensive operations
-
Use connection pooling
High memory usage
High memory usage
Memory optimization:
Debugging Tools
Enable Debug Logging
Health Checks
Performance Monitoring
Getting Help
If you’re still experiencing issues:Discord Community
Get help from the communityJoin Discord →
GitHub Issues
Report bugs or request featuresOpen Issue →
Email Support
For critical issues[email protected]
Status Page
Check system statusView Status →