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] sim-setup reports a working REDIS_URL as unreachable when its password is percent-encoded or ends in "=" #10710
Describe the bug
The setup tool's Redis probe sends the URL's username and password still percent-encoded, as new URL() keeps them. The app connects with the same URL because ioredis decodes them.
To Reproduce
Run a Redis with a password such as c2VjcmV0a2V5= or p@ss (written p%40ss in the URL).
Set REDIS_URL=redis://:c2VjcmV0a2V5=@localhost:6379.
Run the setup doctor: it reports redis unreachable: -WRONGPASS invalid username-password pair.
Expected behavior
The probe authenticates with the decoded credentials and reports Redis as reachable.
Additional context redisPing in packages/sim-setup/src/probes.ts. It also sends AUTH as an inline command, so a decoded password containing a space would be split.
Activity