Troubleshooting
Installation Issues
Section titled “Installation Issues””command not found: epoch-agent”
Section titled “”command not found: epoch-agent””The agent is not in your PATH. Either:
-
Use the full path:
Terminal window ~/.local/bin/epoch-agent --help -
Add to PATH:
Terminal window # For bashecho 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.bashrcsource ~/.bashrc# For zshecho 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.zshrcsource ~/.zshrc
macOS: “cannot be opened because it is from an unidentified developer”
Section titled “macOS: “cannot be opened because it is from an unidentified developer””Remove the quarantine attribute:
xattr -d com.apple.quarantine /usr/local/bin/epoch-agentOr allow it in System Settings > Privacy & Security.
Checksum verification failed
Section titled “Checksum verification failed”The download may be corrupted. Try:
- Re-download the binary
- Use a different network
- Download directly from the releases page
Activation Issues
Section titled “Activation Issues””Invalid activation code”
Section titled “”Invalid activation code””- Verify the code is copied correctly (no extra spaces)
- Check if the code has expired (codes expire after 24 hours)
- Generate a new code from the dashboard
”Activation code already used”
Section titled “”Activation code already used””Each activation code can only be used once. Generate a new code from your dashboard.
”Connection refused” during activation
Section titled “”Connection refused” during activation”Check network connectivity:
# Test API connectivitycurl -v https://api.epochproxy.cloud/health
# Check DNS resolutionnslookup api.epochproxy.cloudConnection Issues
Section titled “Connection Issues”Agent shows “Offline” in dashboard
Section titled “Agent shows “Offline” in dashboard”-
Check the agent is running:
Terminal window # If using systemdsudo systemctl status epoch-agent# If running manually, check processps aux | grep epoch-agent -
Check network connectivity:
Terminal window curl -v https://api.epochproxy.cloud/health -
Check firewall rules:
- The agent needs outbound HTTPS (443) access
- The agent uses WebSocket connections to the relay server
”Connection reset” errors
Section titled “”Connection reset” errors”Usually indicates network issues:
- Check your firewall/proxy settings
- Verify stable internet connection
- The agent will automatically reconnect
Agent keeps reconnecting
Section titled “Agent keeps reconnecting”Enable debug logging to see what’s happening:
RUST_LOG=epoch_agent=debug epoch-agentState File Issues
Section titled “State File Issues””State file not found”
Section titled “”State file not found””The agent hasn’t been activated yet. Run with an activation code:
epoch-agent --activation-code YOUR_CODE“Invalid state file”
Section titled ““Invalid state file””The state file may be corrupted. Re-activate:
epoch-agent --force-activate --activation-code YOUR_CODEState file location
Section titled “State file location”Find where the state file is stored:
- Linux/macOS:
~/.config/epoch-agent/state.json - Custom: Check
--state-fileargument orEPOCH_STATE_FILEenv var
Service Issues
Section titled “Service Issues”systemd: Service fails to start
Section titled “systemd: Service fails to start”Check logs:
sudo journalctl -u epoch-agent -n 50 --no-pagerCommon causes:
- State file permissions
- Binary not found at specified path
- Network not ready at boot
launchd: Service not running
Section titled “launchd: Service not running”Check status:
launchctl list | grep epochproxyView logs:
cat ~/Library/Logs/epoch-agent.logDebug Logging
Section titled “Debug Logging”Enable verbose logging to diagnose issues:
# Debug levelRUST_LOG=epoch_agent=debug epoch-agent
# Trace level (very verbose)RUST_LOG=epoch_agent=trace epoch-agent
# Log to fileRUST_LOG=epoch_agent=debug epoch-agent 2>&1 | tee agent.logGetting Help
Section titled “Getting Help”If you’re still having issues:
- Check the documentation
- Enable debug logging and review the output
- Contact support with:
- Agent version (
epoch-agent --version) - Operating system and version
- Debug log output
- Steps to reproduce the issue
- Agent version (