Troubleshooting Guide
Welcome to the QDrant Loader troubleshooting guide! This section provides comprehensive solutions for common issues, performance problems, and error messages you might encounter. Whether you're a new user or an experienced developer, these guides will help you quickly identify and resolve problems.
🎯 Quick Problem Identification
Symptom Checker
Use this quick reference to identify your issue and jump to the right solution:
❌ Installation fails → [Common Issues](./common-issues.md#installation-issues)
🔌 Can't connect to QDrant → [Connection Problems](./connection-problems.md#qdrant-connection-issues)
🔑 Authentication errors → [Connection Problems](./connection-problems.md#authentication-problems)
📊 Data won't load → [Common Issues](./common-issues.md#data-loading-issues)
🔍 Search returns no results → [Common Issues](./common-issues.md#search-issues)
🐌 Everything is slow → [Performance Issues](./performance-issues.md)
💾 High memory usage → [Performance Issues](./performance-issues.md#memory-issues)
🌐 Network timeouts → [Connection Problems](./connection-problems.md#network-issues)
🛡️ Firewall blocking → [Connection Problems](./connection-problems.md#firewall-problems)
📁 File permission errors → [Error Messages](./error-messages-reference.md#file-system-errors)
⚙️ Configuration problems → [Error Messages](./error-messages-reference.md#configuration-errors)
Error Message Lookup
Got a specific error message? Look it up directly:
# Search for your error message in documentation
grep -r "your error message" docs/users/troubleshooting/
# Or check the comprehensive error reference
# See: Error Messages Reference → [specific error category]
📚 Troubleshooting Guides
🔧 Common Issues
Start here for most problems! Covers the most frequently encountered issues with step-by-step solutions.
What's covered:
- Installation and setup problems
- Data loading issues
- Search and query problems
- Configuration errors
- Quick fixes and workarounds
Best for: New users, general problems, first-time setup issues
🚀 Performance Issues
Comprehensive guide for diagnosing and resolving performance problems.
What's covered:
- Slow data loading optimization
- Search performance tuning
- Memory usage optimization
- CPU and resource management
- Network performance issues
- Advanced optimization strategies
Best for: Large datasets, production environments, performance optimization
🔌 Connection Problems
Detailed solutions for connectivity and network-related issues.
What's covered:
- QDrant instance connectivity
- API authentication problems
- Network configuration issues
- Firewall and proxy problems
- SSL/TLS certificate issues
- Advanced connection troubleshooting
Best for: Network issues, authentication problems, enterprise environments
📖 Error Messages Reference
Comprehensive reference for all error messages with exact solutions.
What's covered:
- Complete error message catalog
- Detailed explanations and causes
- Step-by-step solutions
- Error codes and exit codes
- Prevention strategies
Best for: Specific error messages, debugging, development
🚨 Emergency Quick Fixes
When Everything Fails
# 1. Check basic configuration
qdrant-loader --workspace . config
# 2. Validate project configuration
qdrant-loader project --workspace . validate
# 3. Check system resources
free -h && df -h && ps aux | grep qdrant-loader
# 4. Reinitialize collection (WARNING: This will delete existing data)
qdrant-loader --workspace . init --force
Critical System Recovery
# Test network connectivity
ping 8.8.8.8 && curl -v https://api.openai.com/v1/models
# Test QDrant connectivity
curl -v "$QDRANT_URL/health"
# Check environment variables
env | grep -E "(QDRANT|OPENAI|CONFLUENCE|JIRA)"
# Verify workspace structure
ls -la config.yaml .env
🔍 Diagnostic Tools
Built-in Diagnostics
# Check current configuration
qdrant-loader --workspace . config
# List all projects
qdrant-loader project --workspace . list
# Check project status
qdrant-loader project --workspace . status
# Validate configuration
qdrant-loader project --workspace . validate
# Test with debug logging
qdrant-loader --workspace . --log-level DEBUG config
Manual Diagnostics
# Check system resources
htop
iostat -x 1
free -h
df -h
# Network diagnostics
ping your-qdrant-instance.com
traceroute your-qdrant-instance.com
nslookup your-qdrant-instance.com
# Service status
systemctl status qdrant # If using systemd
docker ps | grep qdrant # If using Docker
📊 Problem Categories
By Frequency (Most Common First)
- Configuration Issues (40%)
- Environment variables not set
- Invalid YAML syntax
- Missing required fields
-
Connection Problems (25%)
- QDrant instance not accessible
- Authentication failures
- Network timeouts
-
Data Loading Issues (20%)
- No documents found
- File processing errors
- Memory limitations
-
Performance Problems (10%)
- Slow loading or search
- High resource usage
- Timeout errors
-
Other Issues (5%)
- File permissions
- SSL/TLS problems
- Specific error messages
- → Error Messages Reference
By User Type
New Users
- Start with Common Issues
- Focus on installation and basic setup
- Use quick fixes and simple solutions
Developers
- Check Error Messages Reference
- Use diagnostic tools and detailed logging
- Implement error handling and monitoring
System Administrators
- Review Performance Issues
- Focus on Connection Problems
- Implement monitoring and alerting
Enterprise Users
- Emphasize Connection Problems for proxy/firewall issues
- Review Performance Issues for optimization
- Implement comprehensive monitoring
🛠️ Troubleshooting Methodology
Step-by-Step Approach
- Identify the Problem
- What exactly is failing?
- When did it start failing?
-
What changed recently?
-
Gather Information
- Check error messages
- Review logs
-
Test basic connectivity
-
Apply Solutions
- Start with simple fixes
- Test after each change
-
Document what works
-
Verify Resolution
- Test the original use case
- Monitor for recurrence
- Update documentation
Diagnostic Commands
# Basic configuration check
qdrant-loader --workspace . config
# Project validation
qdrant-loader project --workspace . validate
# Project status check
qdrant-loader project --workspace . status
# Debug mode for detailed logging
qdrant-loader --workspace . --log-level DEBUG ingest
📈 Monitoring and Prevention
Proactive Monitoring
# Regular configuration validation
qdrant-loader project --workspace . validate
# Check project status regularly
qdrant-loader project --workspace . status
# Monitor system resources
watch -n 30 'free -h && df -h'
Prevention Strategies
- Regular Health Checks
bash
# Daily configuration validation script
qdrant-loader project --workspace . validate >> daily-health.log 2>&1
- Configuration Validation
bash
# Validate before deployment
qdrant-loader project --workspace . validate
- System Monitoring
bash
# Monitor system resources
free -h && df -h && ps aux | grep qdrant-loader
- Backup Strategy
bash
# Backup configuration files
cp config.yaml config.yaml.backup
cp .env .env.backup
🔗 Getting Additional Help
Community Resources
- GitHub Issues: Report bugs and get help
- Discussions: Community Q&A and tips
- Documentation: Complete documentation
Professional Support
- Enterprise Support: Contact your support representative
- Consulting Services: Professional implementation assistance
- Training: Workshops and training sessions
Before Asking for Help
- Check this troubleshooting guide - Most issues are covered here
- Search existing issues - Your problem might already be solved
- Gather diagnostic information:
bash
# Collect configuration and status information
qdrant-loader --workspace . config > diagnostics.txt
qdrant-loader project --workspace . list >> diagnostics.txt
qdrant-loader project --workspace . status >> diagnostics.txt
qdrant-loader project --workspace . validate >> diagnostics.txt 2>&1
- Provide clear details:
- Exact error messages
- Steps to reproduce
- System information
- Configuration (sanitized)
📋 Troubleshooting Checklist
Pre-Troubleshooting Checklist
- [ ] Read the error message carefully
- [ ] Check if QDrant instance is running
- [ ] Verify environment variables are set
- [ ] Test basic network connectivity
- [ ] Check available system resources
- [ ] Review recent configuration changes
Post-Solution Checklist
- [ ] Verify the issue is completely resolved
- [ ] Test related functionality
- [ ] Document the solution for future reference
- [ ] Update monitoring if needed
- [ ] Share solution with team if applicable
🎯 Quick Reference Cards
Connection Issues Quick Card
# Test QDrant connection
curl -v "$QDRANT_URL/health"
# Test OpenAI API
curl -H "Authorization: Bearer $OPENAI_API_KEY" "https://api.openai.com/v1/models"
# Check environment variables
env | grep -E "(QDRANT|OPENAI|CONFLUENCE|JIRA)"
# Test configuration
qdrant-loader --workspace . config
Performance Issues Quick Card
# Check system resources
free -h && df -h && top
# Monitor QDrant Loader process
ps aux | grep qdrant-loader
# Check project status
qdrant-loader project --workspace . status
# Use debug logging for performance analysis
qdrant-loader --workspace . --log-level DEBUG ingest --profile
Data Loading Quick Card
# Check source accessibility
ls -la /path/to/docs
# Validate configuration
qdrant-loader project --workspace . validate
# Check project configuration
qdrant-loader --workspace . config
# Load with verbose output
qdrant-loader --workspace . --log-level DEBUG ingest
Configuration Issues Quick Card
# Display current configuration
qdrant-loader --workspace . config
# Validate all projects
qdrant-loader project --workspace . validate
# List configured projects
qdrant-loader project --workspace . list
# Check specific project
qdrant-loader project --workspace . status --project-id PROJECT_ID
Need immediate help? Start with the Common Issues Guide for quick solutions to the most frequent problems.
Got a specific error? Jump directly to the Error Messages Reference for detailed explanations and solutions.
Performance problems? Check the Performance Issues Guide for optimization strategies.
Connection troubles? See the Connection Problems Guide for network and authentication solutions.