Troubleshooting
Common Issues
Subscription Problems
Invalid Subscription URL Response
Possible causes:
- URL is incorrect
- URL is no longer valid
- Server blocks Xray Checker user agent
Solutions:
- Verify subscription URL
- Check if URL is still active
- Contact subscription provider
- Try using Base64 format directly instead of URL
Base64 Decode Failed
Possible causes:
- Invalid Base64 encoding
- URL-safe vs standard Base64
- Additional whitespace or newlines
Solutions:
- Verify Base64 string is clean without whitespace
- Try URL-safe Base64 decode if standard fails
- Check if content needs to be decoded multiple times
Proxy Check Issues
Running on Proxy Server
When running Xray Checker on the same server where your proxies are hosted, you must use the status
check method instead of the default ip
method.
Why:
- The
ip
check method compares your IP with and without proxy - When running on the proxy server, both IPs will be the same
- This causes false negatives - working proxies reported as failed
Solution:
All Proxies Failing
Possible causes:
- Network connectivity issues
- Firewall blocking connections
- IP check service unavailable
Solutions:
- Check network connectivity
- Verify firewall rules
- Try alternative check method:
- Use alternative IP check service:
High Latency or Timeouts
Possible causes:
- Slow network connection
- IP check service slow
- Proxy timeout too low
Solutions:
- Increase timeout:
- Use faster IP check service
- Disable latency simulation:
Metrics Issues
Cannot Access Metrics
Possible causes:
- Authentication enabled
- Incorrect credentials
- Wrong port
Solutions:
- Check if authentication is enabled:
- Verify credentials:
- Verify correct port:
Pushgateway Errors
Possible causes:
- Invalid pushgateway URL
- Authentication required
- Network issues
Solutions:
- Check URL format:
- Verify network connectivity
- Check pushgateway logs
Port Conflicts
Port Already in Use
Possible causes:
- Another service using the port
- Previous instance still running
- System port restrictions
Solutions:
- Change metrics port:
- Check for running processes:
- Stop conflicting services
SOCKS Port Range Issues
Possible causes:
- Port range conflict
- Too many proxies
- System port limits
Solutions:
- Change start port:
- Check system limits:
- Free up port range
Debugging Techniques
Enable Debug Logging
Debug log will show:
- Connection attempts
- Configuration parsing
- Error details
- Timing information
Check Process Status
Verify Network Connectivity
Docker Debugging
Getting Help
If you’re still experiencing issues:
-
Check GitHub Issues for similar problems
-
Create new issue with:
- Full error message
- Configuration used
- Debug logs
- Steps to reproduce
-
Include environment details:
- OS version
- Docker version (if using)
- Xray Checker version