Troubleshooting Guide
Common issues and solutions for KFtray and KFtui.
Process Management Issues
Cannot Stop Port Forward
Error: Port forward cannot be stopped
Common causes:
- Attempting to stop a port forward from different interface than started it
- Process already terminated
- Permission issues
Solutions:
- Stop port forward from original interface
- Check process status
- Verify permissions
Common Issues
Connection Problems
- Port Already in Use
Error: listen tcp 127.0.0.1:8080: bind: address already in use
Solutions:- Check running processes
- Use different local port
- Stop conflicting service
- Authentication Failed
Error: unable to authenticate the request
Solutions:- Verify kubeconfig
- Check credentials
- Confirm context
- Context Not Found
Error: context "my-cluster" not found
Solutions:- List available contexts
- Update kubeconfig
- Switch context
Application Issues
KFtray GUI
- Tray Icon Missing
- Restart system tray
- Check AppIndicator support
- Verify installation
- GitHub Sync Failed
- Verify token permissions
- Check repository access
- Confirm network connection
- HTTP Logging Issues
- Check disk space
- Verify write permissions
- Clear old logs
KFtui Terminal
- Display Problems
- Check terminal size
- Verify color support
- Update terminal
- Navigation Issues
- Check keyboard input
- Verify terminal type
- Update configuration
Diagnostic Steps
System Information
# Version check
kftray --version
kftui --version
# Configuration check
ls -la ~/.kftray/
ls -la ~/.kube/config
Process Status
# Check running processes
ps aux | grep kftray
ps aux | grep kftui
Kubernetes Status
# Context check
kubectl config current-context
# Service check
kubectl get svc -n <namespace>
# Pod check
kubectl get pods -n <namespace>
Log Collection
- KFtray Logs
cat ~/.kftray/app.log
- HTTP Traffic Logs
cat ~/.kftray/http_logs/<config>_<port>.log
- System Logs
journalctl -u kftray
Recovery Steps
Configuration Recovery
- Export current configs
- Reset application
- Import configurations
Process Recovery
- Identify stuck processes
- Terminate if necessary
- Restart from correct interface
Clean Installation
- Uninstall application
- Remove config directory
- Fresh installation
Getting Help
- Community Support
- GitHub Issues
- Slack Channel
- Documentation
- Debug Information
- Application logs
- System information
- Configuration files
- Reporting Issues
- Clear description
- Steps to reproduce
- Relevant logs
Table of Contents