Failed to contact the daemon. | Daemon not running or CLI pointed at wrong control host/port. | Start the daemon (eph serve/start) and reuse identical global flags for management commands. |
CLI stalls on fetch. | Chunk not yet replicated locally. | Wait for swarm propagation, verify peers via eph status, or ensure transport hints are reachable. |
direct-only fetch cannot proceed. | Manifest lacks transport hints or discovery parsing failed. | Retry without --direct-only, or re-store with valid advertised endpoints. |
Transport handshake failed / PoW errors. | Discovery hints advertise transport endpoints but PoW difficulty is too high or metadata is incomplete. | Re-store manifest with publisher metadata, lower handshake difficulty, or use --control-fallback to avoid transport handshake. |
ERR_STORE_UNAUTHENTICATED / ERR_FETCH_UNAUTHENTICATED. | Missing or invalid control token. | Supply --control-token matching daemon config. |
ERR_STORE_POW_REQUIRED / _INVALID / _LOCKED. | Missing PoW header or repeated bad submissions. | Let the CLI auto-solve or wait for lockout to clear; confirm difficulty via eph defaults. |
ERR_CONTROL_PAYLOAD_TOO_LARGE. | Payload exceeds --max-store-bytes. | Raise the limit or upload a smaller file. |
ERR_FETCH_CHUNK_MISSING or TTL expiry hints. | Manifest expired before replica arrived. | Re-upload with longer TTL or ensure providers stay online. |
| Secure wipe takes too long. | High --wipe-passes value or large payloads. | Lower pass count or disable wiping for non-sensitive data. |
| Control socket bind failure. | Port already in use or insufficient privileges. | Stop existing daemons or choose another --control-port. |
| Remote peers time out immediately. | Ports 47777/45000 blocked or hairpin NAT disabled. | Open/forward ports or switch to relay mode. |
defaults shows 127.0.0.1 as advertised endpoint on a VPS. | STUN failed to detect a routable address. | Pin --advertise-control to the public hostname or rely on relay hints. |
| High fetch retries / fairness penalties. | Relay congestion or abusive peers. | Inspect relay logs, consult tests/upload_choking*.cpp, and tune fairness weights. |