Troubleshooting Guide
Quick solutions for common problems.
Decision Tree
Quick Links
| Issue Type | Go to |
|---|---|
| Cache not working | Cache Issues |
| Locks not working | Lock Issues |
| Slow performance | Performance Issues |
| Need to debug | Debugging |
Common Quick Fixes
"Cache not invalidating"
typescript
// Check tag names match
@Cached({ tags: ['users'] }) // Producer
await cache.invalidateTags(['users']); // Consumer - same tag!"Lock timeout"
typescript
// Increase timeout
@WithLock({
key: 'mykey',
waitTimeout: 10000, // Increase from default
})"Connection refused"
bash
# Check Redis is running
redis-cli ping
# Check host/port
echo $REDIS_HOST $REDIS_PORT"High latency"
bash
# Check Redis latency
redis-cli --latency
# Check slow log
redis-cli SLOWLOG GET 10Getting Help
- Check this troubleshooting guide
- Search GitHub Issues
- Ask in Discord
- Open a new issue with reproduction
Next Steps
- Cache Issues — Detailed cache troubleshooting
- Lock Issues — Lock and contention issues
- Performance Issues — Latency and throughput
- Debugging — Tools and techniques