Troubleshooting¶
Common issues and their solutions.
Connection Issues¶
RPC Connection Failed¶
Symptoms:
Solutions:
-
Check URL format
-
Test connectivity
-
Check API key
- Verify key is valid
- Check rate limits
- Ensure key has required permissions
Solana Connection Issues¶
Symptoms:
Solutions:
-
Use correct network URL
-
Check Solana network status
Deployment Issues¶
Deployment Timeout¶
Symptoms:
Solutions:
-
Increase gas price
-
Check network congestion
- Use gas tracker for target network
-
Deploy during low-traffic periods
-
Increase timeout
Insufficient Funds¶
Symptoms:
Solutions:
-
Check balance
-
Get test tokens
-
Estimate fees first
Contract Verification Failed¶
Symptoms:
Solutions:
- Check constructor arguments
- Arguments must match exactly
-
Use correct encoding
-
Verify compiler version
-
Retry verification
Authentication Issues¶
Invalid JWT Token¶
Symptoms:
Solutions:
-
Refresh token
-
Re-login
API Key Not Working¶
Symptoms:
Solutions:
-
Check key format
-
Verify key permissions
- Check key has required scopes
- Verify key isn't revoked
Database Issues¶
Connection Refused¶
Symptoms:
Solutions:
-
Check if database is running
-
Start database
-
Check connection URL
Authentication Failed¶
Symptoms:
Solutions:
-
Check credentials
-
Reset password
Performance Issues¶
High Latency¶
Symptoms: - Coordination latency > 400ms - Slow API responses
Solutions:
-
Check network latency
-
Use closer RPC endpoints
- Choose geographically close providers
-
Use paid tier for lower latency
-
Enable caching
Memory Issues¶
Symptoms:
Solutions:
-
Increase Node.js memory
-
Check for memory leaks
- Review event listeners
- Check for unbounded caches
Docker Issues¶
Container Won't Start¶
Solutions:
-
Check logs
-
Verify ports
-
Rebuild containers
Volume Permission Errors¶
Solutions:
# Fix permissions
sudo chown -R 1000:1000 ./data
# Or run as root (not recommended for production)
docker-compose up -d --user root
Getting More Help¶
If these solutions don't work:
-
Enable debug logging
-
Collect diagnostics
-
Open an issue with:
- Error message
- Steps to reproduce
- Diagnostics file
- Environment details