Connection Issues
Agent won't connect to Hub
Agent won't connect to Hub
Symptoms:
connect uphangs or times out- Error: “Failed to connect to Hub”
- WebSocket connection errors
-
Check Hub URL
-
Check network connectivity
-
Check firewall/proxy settings
- Ensure outbound HTTPS (443) is allowed
- WebSocket connections must be permitted
- Corporate proxies may block WebSocket traffic
-
Try with verbose logging
-
Check for expired token
Service not found
Service not found
Symptoms:
- Error: “Service ‘prod-db’ not found”
connect reachfails to find service
-
List available services
-
Check service name
-
Verify workspace
-
Check if exposing agent is online
-
Re-expose the service
Port already in use
Port already in use
Symptoms:
- Error: “Port 5432 is already in use”
connect reachfails to create tunnel
-
Use a different local port
-
Find what’s using the port
-
Stop the conflicting service
-
Clear port mapping
Connection keeps dropping
Connection keeps dropping
Symptoms:
- Tunnel disconnects frequently
- “Connection reset by peer” errors
- Intermittent connectivity
-
Check network stability
-
Use daemon mode for persistence
-
Check for token expiry
-
Increase timeout settings
-
Check Hub status
Authentication Issues
Login not working
Login not working
Symptoms:
- Browser doesn’t open for login
- Magic link email not received
- Error: “Authentication failed”
-
Use device code flow
-
Check email spam folder
- Magic link emails may be filtered
- Add [email protected] to contacts
-
Try different browser
-
Use API key instead
-
Clear saved credentials
Token expired
Token expired
Symptoms:
- Error: “Token has expired”
- Agent won’t authenticate
- 401 Unauthorized errors
-
Rotate token
-
Log in again
-
Set up token rotation reminders
Permission denied
Permission denied
Symptoms:
- Error: “Permission denied”
- Cannot expose services
- Cannot create shares
-
Check workspace membership
-
Use API key with correct permissions
-
Contact workspace admin
- Only workspace members can expose services
- Admin can invite you from the web UI
Service Exposure Issues
Cannot expose service
Cannot expose service
Symptoms:
connect exposefails- Service not appearing in
connect ls - Error: “Failed to expose service”
-
Verify target is reachable
-
Check service is actually running
-
Use explicit name
-
Check for duplicate names
-
Verify agent is connected
Service shows offline
Service shows offline
Symptoms:
- Service listed but marked as offline
- Cannot reach service
- Health check fails
-
Check exposing agent
-
Restart agent
-
Re-expose service
-
Check target service health
Public URL not working
Public URL not working
Symptoms:
connect expose --publiccreates URL but it doesn’t work- 502 Bad Gateway errors
- URL times out
-
Verify service is exposed
-
Check if agent is running
-
Test local access first
-
Check service bindings
-
Try temporary tunnel
Sharing & Collaboration Issues
Share code not working
Share code not working
Cannot clone teammate environment
Cannot clone teammate environment
Symptoms:
connect cloneshows no teammates- Error: “No teammates found”
- Clone succeeds but no services appear
-
List available teammates
-
Ensure teammate has exposed services
-
Use share code instead
-
Verify same workspace
Public link access denied
Public link access denied
Symptoms:
- 403 Forbidden on public link
- Rate limit exceeded
- Method not allowed
-
Check allowed methods
-
Check allowed paths
-
Check rate limit
-
Verify link not revoked
- Creator may have revoked access
- Check web UI for active links
Debug Mode Issues
No packets showing in debug viewer
No packets showing in debug viewer
Symptoms:
- Debug viewer shows no traffic
- Packets not being captured
- Empty packet list
-
Verify debug mode is enabled
-
Check traffic is flowing
-
Refresh debug viewer
- Refresh browser page
- Check WebSocket connection status
-
Check browser console
- Open DevTools → Console
- Look for WebSocket errors
-
Verify session is active
AI not working in debug viewer
AI not working in debug viewer
Symptoms:
- AI copilot not responding
- Error: “AI not configured”
- API errors
-
Configure AI provider
- Go to Settings → AI Copilot in web UI
- Choose provider (Ollama, OpenAI, Anthropic)
- Enter API key
- Click “Test Connection”
-
Check API credits
- For OpenAI/Anthropic, verify you have API credits
- Check provider dashboard
-
Verify Ollama is running
-
Try different provider
- If one provider fails, try another
- Ollama is best for privacy-sensitive data
Debug session expired
Debug session expired
Symptoms:
- Error: “Session expired”
- Cannot view debug history
- Old sessions not accessible
-
Restart debug session
-
Export before stopping
- Export session as JSON or Markdown before stopping agent
- Use “Export” button in debug viewer
-
Keep agent running
Installation Issues
Install script fails
Install script fails
Symptoms:
curl -fsSL ... | bashfails- Permission denied errors
- Binary not found after install
-
Check system requirements
- macOS 10.15+, Linux (x64/arm64), Windows (WSL)
- curl must be installed
-
Manual installation
-
Use package managers
-
Build from source
Binary won't run
Binary won't run
Symptoms:
- “Permission denied” when running connect
- “Command not found: connect”
- Binary fails to execute
-
Make executable
-
Check PATH
-
Try absolute path
-
Check architecture
Daemon installation fails
Daemon installation fails
Symptoms:
connect daemon installfails- Systemd/launchd errors
- Service won’t start on boot
-
Check permissions
-
Verify init system
-
Check logs
-
Manual service file
Performance Issues
Slow connection speeds
Slow connection speeds
Symptoms:
- High latency through tunnel
- Slow database queries
- Timeouts on large transfers
-
Check network latency
-
Use regional Hub (self-hosted)
-
Disable debug mode
-
Check for network issues
High CPU/memory usage
High CPU/memory usage
Symptoms:
- Agent using excessive resources
- System slowdown
- Memory leaks
-
Check version
-
Reduce concurrent connections
-
Monitor resource usage
-
Restart agent
Getting Help
If you’re still experiencing issues:Documentation
Read the full documentation
Discord Community
Ask questions in Discord
GitHub Issues
Report bugs or request features
Provide Debug Information
When asking for help, include:Common Error Messages
| Error | Meaning | Solution |
|---|---|---|
Service not found | Service doesn’t exist or wrong workspace | Check connect ls, verify workspace |
Port already in use | Local port is occupied | Use --port flag or stop conflicting service |
Token expired | Agent token needs rotation | Run connect up --rotate-token |
Permission denied | Not authorized for action | Check workspace membership, use API key |
Connection refused | Cannot reach target service | Verify service is running locally |
WebSocket error | Cannot connect to Hub | Check network, firewall, Hub status |
Authentication failed | Login issue | Use --device flag or API key |
Share not found | Invalid or expired share code | Get new share code from creator |
Rate limit exceeded | Too many requests to public link | Wait or contact link creator to increase limit |
Hub unreachable | Network or Hub issue | Check curl https://api.privateconnect.co/health |