Common Issues
Connection Issues
Section titled “Connection Issues”SSH Won’t Connect
Section titled “SSH Won’t Connect”Symptoms: Timeout, connection refused, auth failed
Solutions:
- Verify server type: Only Unix-like systems supported (Linux, macOS, Android/Termux)
- Test manually:
ssh user@server -p port - Check firewall: Port 22 must be open
- Verify credentials: Username and password/key correct
Frequent Disconnections
Section titled “Frequent Disconnections”Symptoms: Terminal disconnects after inactivity
Solutions:
-
Server keep-alive:
/etc/ssh/sshd_config ClientAliveInterval 60ClientAliveCountMax 3 -
Disable battery optimization:
- MIUI: Battery → “No limits”
- Android: Settings → Apps → Disable optimization
- iOS: Enable background refresh
Input Issues
Section titled “Input Issues”Can’t Type Certain Characters
Section titled “Can’t Type Certain Characters”Solution: Settings → Keyboard Type → Switch to visiblePassword
Note: CJK input may not work after this change.
App Issues
Section titled “App Issues”App Crashes on Startup
Section titled “App Crashes on Startup”Symptoms: App won’t open, black screen
Causes: Corrupted settings, especially from JSON editor
Solutions:
-
Clear app data:
- Android: Settings → Apps → ServerBox → Clear Data
- iOS: Delete and reinstall
-
Restore backup: Import backup created before changing settings
Backup/Restore Issues
Section titled “Backup/Restore Issues”Backup not working:
- Check storage space
- Verify app has storage permissions
- Try different location
Restore fails:
- Verify backup file integrity
- Check app version compatibility
Widget Issues
Section titled “Widget Issues”Widget Not Updating
Section titled “Widget Not Updating”iOS:
- Wait up to 30 minutes for automatic refresh
- Remove and re-add widget
- Check URL ends with
/status
Android:
- Tap widget to force refresh
- Verify widget ID matches configuration in app settings
watchOS:
- Restart watch app
- Wait a few minutes after config change
- Verify URL format
Widget Shows Error
Section titled “Widget Shows Error”- Verify ServerBox Monitor is running on server
- Test URL in browser
- Check authentication credentials
Performance Issues
Section titled “Performance Issues”App is Slow
Section titled “App is Slow”Solutions:
- Reduce refresh rate in settings
- Check network speed
- Disable unused servers
High Battery Usage
Section titled “High Battery Usage”Solutions:
- Increase refresh intervals
- Disable background refresh
- Close unused SSH sessions
Getting Help
Section titled “Getting Help”If issues persist:
- Search GitHub Issues: https://github.com/lollipopkit/flutter_server_box/issues
- Create New Issue: Include app version, platform, and steps to reproduce
- Check Wiki: This documentation and GitHub Wiki