Troubleshooting
Common issues
"No wallet found. Run can init first"
You haven't set up a wallet yet:
can setup
Or you're pointing at the wrong data directory:
can info --data-dir /path/to/your/data
"Wallet already exists"
A keystore already exists. To start fresh:
rm ./data/keystore.enc
can setup
"Contact already exists"
Use --force to overwrite:
can contacts add --name alice --address ... --psk ... --force
"Decryption failed -- wrong password?"
The keystore password is incorrect. If you've forgotten it, you'll need to re-import from your recovery phrase:
rm ./data/keystore.enc
can import --mnemonic "your 25 words..."
No messages received
Check:
- Both agents are on the same network (localnet/testnet/mainnet)
- Both agents have each other as PSK contacts with the same key
- The sending agent has sufficient ALGO balance for transactions
- Run
can statusto verify connectivity
Hub unreachable
can status
Check the "Hub" line. Verify:
- The hub is running at the expected URL
- No firewall blocking the connection
- The
--hub-urlflag matches the hub's actual address
Transaction failures
Usually means insufficient balance:
can fund # localnet
Or check your balance:
can status
Plugin host not responding
The plugin host is a separate process. Check:
can plugin health
If it's not running, restart the agent:
can run
Balance is very low
On localnet:
can fund --amount 100000000 # 100 ALGO
On testnet, use the dispenser.
Debug logging
Enable verbose logging:
RUST_LOG=debug can run
For specific modules:
RUST_LOG=corvid_agent_nano::agent=debug can run