You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Redis auth attempted with unset credentials when REDIS_URI is absent #541
Describe the bug
Nostream attempts Redis authentication even when no Redis credentials are configured, causing WRONGPASS on local Redis instances that allow unauthenticated access.
notice how it uses process.env.REDIS_PASSWORD even when it's empty/unset or null, resulting in failed connection due to broken URI
To Reproduce
Configure .env with only:
REDIS_HOST=localhostREDIS_PORT=6379
Start nostream pnpm run dev and trigger a redis operation like visiting 127.0.0.1:8008/invoices
Observe repeated Redis connection/auth errors.
Expected behavior
If credentials REDIS_PASSWORD are unset, nostream should connect to Redis without AUTH.
System (please complete the following information):
OS: Arch linux
Platform: pnpm
Version: latest
Logs
uncaughterror: [ErrorReply: WRONGPASSinvalidusername-passwordpairoruser is disabled.]uncaughterror: [ErrorReply: WRONGPASSinvalidusername-passwordpairoruser is disabled.]uncaughterror: [ErrorReply: WRONGPASSinvalidusername-passwordpairoruser is disabled.]uncaughterror: [ErrorReply: WRONGPASSinvalidusername-passwordpairoruser is disabled.]uncaughterror: [ErrorReply: WRONGPASSinvalidusername-passwordpairoruser is disabled.]uncaughterror: [ErrorReply: WRONGPASSinvalidusername-passwordpairoruser is disabled.]uncaughterror: [ErrorReply: WRONGPASSinvalidusername-passwordpairoruser is disabled.]uncaughterror: [ErrorReply: WRONGPASSinvalidusername-passwordpairoruser is disabled.]uncaughterror: [ErrorReply: WRONGPASSinvalidusername-passwordpairoruser is disabled.]
Activity
fix: skip Redis auth when credentials are unset with unit test (camer…
fix: skip Redis auth when credentials are unset with unit test (camer…
fix: harden Redis cache config and env test isolation (cameri#541)
fix: skip Redis auth when credentials are unset with unit test (#541) (…
cameri commentedon Apr 30, 2026
Thank you @Justxd22 !