Troubleshooting

Solutions to common issues and how to get help.

Quick Diagnostics

Start with broski doctor, then run a focused profile if needed:

bash
# Full diagnostic run
broski doctor

# Focused diagnostics
broski doctor --profile pairing
broski doctor --profile network
broski doctor --profile agents
broski doctor --profile daemon

# Apply safe fixes + export bundle
broski doctor --fix
broski doctor --export

What Doctor Checks

CategoryExamplesUseful Command
PairingToken validity, TLS cert/fingerprint, QR readinessbroski doctor --profile pairing
NetworkLocal IP, port conflicts, Tailscale statusbroski doctor --profile network
AgentsOpenCode / Claude / Codex availabilitybroski doctor --profile agents
DaemonBackground service state and configbroski doctor --profile daemon

Reading the Output

SymbolStatusMeaning
✓PassedCheck passed, no action needed
!WarningWorks but may degrade reliability
✗ErrorNeeds fixing before reliable use
ℹInfoInformational context

Health Check Commands

Run these commands for fast targeted checks:

bash
# Pairing + auth path
broski doctor --profile pairing

# Network path
broski doctor --profile network

# Backend path
broski doctor --profile agents

# Daemon/service path
broski doctor --profile daemon

# Live logs + exportable bundle
broski logs --follow
broski logs --export

Common Issues

Emergency Quick Fixes

ProblemQuick Fix
Can't connectRestart bridge, re-scan QR
Port in uselsof -nP -iTCP:18274 (macOS/Linux) or netstat -ano | findstr :18274 (Windows) then kill the PID
Auth failedbroski --new-token
OpenCode missingcurl -fsSL https://opencode.ai/install | bash
Everything brokenrm -rf ~/.broski/ and restart

Nuclear Options

When nothing else works, try these complete reset procedures:

Warning
These steps delete data and require reconfiguration. Use as a last resort.

Reset Mobile App

iOS
  1. Delete the Broski app
  2. Restart your device
  3. Reinstall from App Store
  4. Re-scan QR code to connect
Android
  1. Settings → Apps → Broski → Clear Data (not just cache)
  2. Force Stop
  3. Uninstall
  4. Reinstall from Play Store
  5. Re-scan QR code to connect

Reset Bridge

bash
# Stop the bridge (Ctrl+C in the terminal running it)

# Remove all Broski data
rm -rf ~/.broski/

# Start fresh (generates new token)
broski

Complete Reinstall

1
Remove bridge
bash
rm -rf ~/.broski/
2
Reinstall bridge

Download and install the bridge again for your platform.

3
Remove and reinstall mobile app

Delete and reinstall from your app store

4
Restart your computer and phone
5
Start fresh
bash
broski doctor  # Verify setup
broski         # Start bridge
6
Scan new QR code

Open the app and scan the QR code displayed in your terminal

Getting Help

Collecting Debug Information

Before reporting an issue, collect this information:

bash
# Bridge version
broski --version

# Focused diagnostics + safe fixes
broski doctor --profile pairing
broski doctor --fix

# Export support bundle (redacted)
broski doctor --export
# or
broski logs --export

# Interactive troubleshooter
broski troubleshoot

Log Locations

ComponentLocation
Bridge logsbroski logs (or check ~/.broski/logs/bridge.log)
Auth token~/.broski/token.json
OpenCode logsTerminal output
Claude Code sessions~/.claude/projects/
iOS app logsXcode Console or Analytics Data
Android app logsadb logcat

Contact Support

If you couldn't find a solution, we're here to help:

Include: App version (Settings → About), iOS/Android version, bridge version, and the debug info collected above.

Status Indicators

Understanding connection status in the app:

IndicatorMeaning
Green dotConnected and healthy
Yellow dotConnected with issues (high latency)
Red dotDisconnected
SpinnerReconnecting
"Busy" badgeAI is processing