Troubleshooting¶
Common issues and solutions for Orb.
Connection Issues¶
Cannot Connect to Relay¶
Error:
Causes:
- Relay server not running
- Wrong relay address
- Firewall blocking connection
- Network unavailable
Solutions:
- Verify relay is running:
- Check relay address:
# Ensure protocol and port are correct
ws://localhost:8080 # Correct
wss://localhost:8080 # TLS version
http://localhost:8080 # Wrong (HTTP, not WebSocket)
- Test with local relay:
# Terminal 1: Start relay
orb relay
# Terminal 2: Try connection
orb connect --session <ID> --passcode <CODE> --relay ws://localhost:8080
- Check firewall:
# Linux
sudo ufw allow 8080
# macOS
# System Preferences → Security → Firewall
# Windows
# Windows Defender Firewall → Allow an app
Session Not Found¶
Error:
Causes:
- Wrong session ID
- Session expired (>24h)
- Session never created
- Typo in credentials
Solutions:
- Verify session ID:
- Check session age:
- Create fresh session:
Authentication Failed¶
Error:
Causes:
- Incorrect passcode
- Passcode has extra spaces
- Wrong key derivation
- Crypto mismatch
Solutions:
- Verify passcode exactly:
# Passcode is case-sensitive
# Check for spaces: "pass code" vs "passcode"
# Copy-paste to avoid typos
- Request credentials again:
- Create new session:
Handshake Timeout¶
Error:
Causes:
- Network latency
- Sharer not connected
- Firewall blocking packets
- Relay issues
Solutions:
- Verify sharer is connected:
- Test network speed:
- Use closer relay:
- Try again:
Sharing Issues¶
Permission Denied¶
Error:
Causes:
- No read access to directory
- Files owned by different user
- SELinux/AppArmor blocking
Solutions:
- Check permissions:
- Fix permissions:
- Run as correct user:
Directory Not Found¶
Error:
Causes:
- Typo in path
- Directory moved/deleted
- Relative vs absolute path
Solutions:
- Verify path:
- Use absolute path:
- Check current directory:
File Browser Issues¶
Browser Won't Launch¶
Error:
Causes:
- Terminal not supported
- TTY not available
- Connection failed before launch
Solutions:
-
Use supported terminal:
-
iTerm2 (macOS)
- Terminal.app (macOS)
- Windows Terminal
- Alacritty
- GNOME Terminal
- Dumb terminal
-
Non-interactive shell
-
Check TTY:
- Verify connection:
Cannot Download Files¶
Error:
Causes:
- Disk full
- Permission denied (local)
- Network interruption
- File locked on sharer side
Solutions:
- Check disk space:
- Check write permissions:
- Change download location:
- Try smaller file first:
Display Corruption¶
Symptoms:
- Garbled text
- Broken boxes
- Missing characters
- Weird colors
Causes:
- Terminal encoding wrong
- Unicode not supported
- Terminal too small
- Color scheme issues
Solutions:
- Set UTF-8 encoding:
- Resize terminal:
- Reset terminal:
- Try different terminal:
Build Issues¶
Build Fails¶
Error:
Causes:
- Go version too old
- Missing dependencies
- Network issues downloading modules
- Platform not supported
Solutions:
- Check Go version:
- Update dependencies:
- Clear cache:
- Build with verbose output:
Binary Not Found¶
Error:
Causes:
- Binary not in PATH
- Binary name incorrect
- Wrong directory
Solutions:
- Check binary location:
- Run with full path:
- Add to PATH:
Performance Issues¶
Slow File Listing¶
Symptoms:
- Directory loading takes forever
- Browser appears frozen
Causes:
- Large directory (thousands of files)
- Network latency
- Slow disk on sharer side
Solutions:
- Wait for completion:
- Share smaller directory:
- Check network:
Slow Downloads¶
Symptoms:
- File download takes very long
- Much slower than expected
Causes:
- Network bandwidth limited
- Large file size
- Relay bottleneck
- Encryption overhead
Solutions:
- Check network speed:
- Use local relay:
- Compress files:
- Split large files:
Relay Server Issues¶
Relay Won't Start¶
Error:
Causes:
- Port 8080 already used
- Another orb relay running
- Other service using port
Solutions:
- Check port usage:
- Kill conflicting process:
- Use different port:
Relay Crashes¶
Symptoms:
- Relay exits unexpectedly
- Connections drop
Causes:
- Out of memory
- Too many connections
- Bug in code
- System resource limits
Solutions:
- Check logs:
- Increase limits:
- Restart relay:
- Monitor resources:
Platform-Specific Issues¶
Windows¶
Issue: Antivirus blocks Orb
Solution:
1. Add orb.exe to exclusions
2. Windows Defender → Virus & threat protection
3. Add exclusion for orb.exe
Issue: WebSocket connection fails
Solution:
# Check Windows Firewall
New-NetFirewallRule -DisplayName "Orb" -Direction Inbound -Port 8080 -Protocol TCP -Action Allow
macOS¶
Issue: "orb" cannot be opened because the developer cannot be verified
Solution:
# Remove quarantine
xattr -d com.apple.quarantine orb
# Or allow in System Preferences
# Security & Privacy → Open Anyway
Issue: Permission denied
Solution:
Linux¶
Issue: SELinux blocks connections
Solution:
Issue: systemd service won't start
Solution:
# Check status
systemctl status orb-relay
# View logs
journalctl -u orb-relay -f
# Test manually first
/usr/local/bin/orb relay
Getting Help¶
Collect Debug Information¶
# Version
orb --version
# System info
uname -a # Linux/macOS
systeminfo # Windows
# Network
ip addr # Linux
ifconfig # macOS
ipconfig # Windows
Enable Debug Logging¶
Report Issues¶
When reporting bugs, include:
- Orb version (
orb --version) - Operating system and version
- Command that failed
- Complete error message
- Steps to reproduce
Community Support¶
- GitHub Issues: Report bugs
- Discussions: Ask questions
- Documentation: Check this guide
- Examples: See usage examples
Common Error Reference¶
| Error | Meaning | Solution |
|---|---|---|
connection refused |
Relay not reachable | Check relay running |
session not found |
Invalid/expired session | Create new session |
authentication failed |
Wrong passcode | Verify credentials |
permission denied |
No file access | Check permissions |
address in use |
Port already used | Use different port |
handshake timeout |
Handshake didn't complete | Check network |
context deadline exceeded |
Operation timed out | Retry or check network |