Common Issues¶
Solutions for frequently encountered problems with SolanaVault.
Installation Issues¶
Build fails with missing dependencies¶
Error:
Solution:
Install build tools for your platform:
OpenSSL errors¶
Error:
Solution:
Set OpenSSL path:
# macOS (Homebrew)
export OPENSSL_DIR=$(brew --prefix openssl)
# Linux
export OPENSSL_DIR=/usr/local/ssl
Rust version too old¶
Error:
Solution:
Update Rust:
Connection Issues¶
Cannot connect to gateway¶
Error:
Solutions:
-
Check gateway endpoint:
-
Check firewall:
-
Try alternative gateways:
-
Check network connectivity:
Connection timeout¶
Error:
Solutions:
-
Increase timeout:
-
Check network latency:
-
Use closer gateway:
Peer discovery fails¶
Error:
Solutions:
-
Check bootstrap nodes:
-
Verify P2P port is open:
-
Check logs for details:
Balance and Payment Issues¶
Insufficient balance¶
Error:
Solutions:
-
Add more tokens:
-
Enable caching to reduce costs:
-
Check spending:
Payment rejected¶
Error:
Solutions:
-
Check balance:
-
Verify gateway accepts your payment method:
-
Try different gateway:
Sync Issues¶
Sync stuck¶
Symptoms:
- Sync progress not advancing
- Same block height for extended period
Solutions:
-
Check peer connections:
-
Restart sync:
-
Use warp sync:
-
Check disk space:
Sync behind¶
Error:
Solutions:
-
Check network bandwidth:
-
Increase parallel downloads:
-
Check CPU usage:
Consensus Issues¶
Not participating in consensus¶
Error:
Solutions:
-
Verify stake:
-
Check minimum stake:
-
Check uptime:
- Ensure node has been running consistently
- Check for recent restarts
Slashing warning¶
Error:
Solutions:
-
Check for double voting:
-
Ensure single node per key:
-
Never run two nodes with the same key
-
Enable slashing protection:
Performance Issues¶
High latency¶
Symptoms:
- Slow RPC responses
- Request timeouts
Solutions:
-
Enable caching:
-
Use NVMe storage:
-
SSD is minimum, NVMe recommended
-
Increase memory:
-
Check system resources:
Low cache hit rate¶
Symptoms:
- Cache hit rate below 80%
- High gateway costs
Solutions:
-
Increase cache size:
-
Enable persistent cache:
-
Adjust TTL:
High memory usage¶
Symptoms:
- OOM errors
- System slowdown
Solutions:
-
Limit cache size:
-
Reduce connection pool:
-
Check for memory leaks:
Storage Issues¶
Disk full¶
Error:
Solutions:
-
Check disk usage:
-
Run garbage collection:
-
Reduce storage:
Data corruption¶
Error:
Solutions:
-
Verify data:
-
Restore from backup:
-
Reset and resync:
Logging and Debugging¶
Enable debug logging¶
# All debug logs
RUST_LOG=debug vault-node ...
# Specific module
RUST_LOG=vault_core::network=debug vault-node ...
# Multiple modules
RUST_LOG=vault_core::network=debug,vault_core::consensus=trace vault-node ...
Common log locations¶
# Systemd journal
journalctl -u solanavault-node -f
# Custom log file
vault-node ... 2>&1 | tee /var/log/solanavault.log
Get stack traces¶
Getting Help¶
If these solutions don't resolve your issue:
-
Check the FAQ: FAQ
-
Search GitHub Issues:
-
Open a new issue with:
- SolanaVault version (
vault-cli --version) - Operating system
- Full error message
- Relevant logs
-
Steps to reproduce
-
Join Discord/Community:
- Real-time help from community
- Share experiences with others
Next Steps¶
- FAQ - Frequently asked questions
- Configuration Reference - All options
- Quick Start - Getting started