Troubleshooting
Common issues and solutions when using OpenSploit.
Logs
Log files help diagnose issues:
Location:
- macOS/Linux:
~/.local/share/opensploit/log/ - Windows:
%USERPROFILE%\.local\share\opensploit\log\
OpenSploit keeps the 10 most recent log files with timestamp naming.
Enable debug logging:
opensploit --log-level DEBUG
Print logs to console:
opensploit --print-logs
Storage Location
Application data is stored at:
- macOS/Linux:
~/.local/share/opensploit/ - Windows:
%USERPROFILE%\.local\share\opensploit\
Contents:
- Authentication data
- Session history
- Tool registry cache
- Audit logs
Common Issues
OpenSploit Won't Start
-
Check logs for errors:
opensploit --print-logs -
Verify dependencies:
docker --version node --version # or bun --version -
Try upgrading:
opensploit upgrade -
Clear cache and retry:
rm -rf ~/.cache/opensploit opensploit
Authentication Failures
- Re-authenticate via
/connectcommand - Verify API key is valid and not expired
- Check network connectivity to provider
- Ensure correct model format (
provider/model)
Provider Not Found
- Run
opensploit modelsto list available models - Verify provider name and model format
- Re-authenticate with
/connect
ProviderInitError
- Follow the providers guide
- Clear configuration:
rm -rf ~/.local/share/opensploit - Re-authenticate
API Call Errors
Clear the cache to reinstall provider packages:
rm -rf ~/.cache/opensploit
Docker Issues
Docker Not Running
Error: Cannot connect to Docker daemon
Start Docker Desktop or the Docker service:
# Linux
sudo systemctl start docker
# macOS
open -a Docker
Container Timeout
Increase timeout in configuration:
{
"mcp": {
"slow-tool": {
"timeout": 60000
}
}
}
Image Pull Failures
Check network connectivity and Docker Hub access:
docker pull alpine
If behind a proxy, configure Docker proxy settings.
Permission Denied
Add your user to the docker group:
sudo usermod -aG docker $USER
# Log out and back in
Terminal Issues
Display Problems
Ensure truecolor support:
echo $COLORTERM # Should output: truecolor or 24bit
If not set:
export COLORTERM=truecolor
Copy/Paste Not Working (Linux)
Install clipboard utilities:
X11:
sudo apt install xclip
# or
sudo apt install xsel
Wayland:
sudo apt install wl-clipboard
Keybinds Not Working
Some terminals intercept certain key combinations. Try:
- Check terminal settings for conflicting shortcuts
- Configure a different leader key in
opensploit.json - Use a recommended terminal (WezTerm, Alacritty, Kitty)
Network Issues
External Target Warnings
If you're testing authorized external targets and want to reduce prompts:
{
"permission": {
"external_target": "allow"
}
}
Only do this if you have proper authorization.
Tool Network Access
Some tools need host network access:
{
"mcp": {
"network-scanner": {
"network": "host"
}
}
}
Firewall Blocking
Ensure your firewall allows:
- Outbound HTTPS (443) for API calls
- Docker network traffic
- Tool-specific ports (varies by tool)
Getting Help
Report Issues
Information to Include
When reporting issues, provide:
- OpenSploit version:
opensploit --version - OS and version
- Docker version:
docker --version - Relevant log output
- Steps to reproduce
- Configuration (redact sensitive data)
Reset Everything
If all else fails, reset to defaults:
# Remove all OpenSploit data
rm -rf ~/.local/share/opensploit
rm -rf ~/.config/opensploit
rm -rf ~/.cache/opensploit
# Reinstall
curl -fsSL https://opensploit.ai/install | bash
Warning: This removes all sessions, settings, and cached data.