Redis authentication failing in local development

Resolved 💬 2 comments Opened Dec 30, 2025 by jfdTP Closed Dec 30, 2025

Problem

Redis authentication is failing in local development with WRONGPASS invalid username-password pair error.

Symptoms

📊 [CollectionStats] Redis error: WRONGPASS invalid username-password pair or user is disabled.
📊 [CollectionStats] Redis connection failed after 3 retries, falling back to uncached mode

Root Cause Investigation

  1. .env has REDIS_PASSWORD=Qq05bhGc4q7WjsWXc2mTL9QF0t6pNGGe
  2. .env.local has REDIS_URL=redis://:Qq05bhGc4q7WjsWXc2mTL9QF0t6pNGGe@localhost:6379
  3. Docker compose starts Redis with --requirepass ${REDIS_PASSWORD}
  4. But redis-server *:6379 shows NO password flag in running process

Suspected Cause

Redis container was started before REDIS_PASSWORD was set in .env, or the container needs to be recreated to pick up the password.

Impact

  • Collection stats caching (Issue #450) falls back to uncached mode
  • Performance degradation on collection listings
  • No blocking issues - graceful fallback works

Fix

  1. Restart Redis container with docker compose up -d redis
  2. Or recreate: docker compose down redis && docker compose up -d redis

Related

  • Issue #450: Collection Discovery + Cache Counts

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗