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] Relay crashes on startup if Redis password contains # #569
Describe the bug
If REDIS_URI isn't set, the client builds a Redis URL by string interpolating the env vars. If REDIS_PASSWORD has a # in it, new URL() blows up with TypeError: Invalid URL, and the relay won't start.
To Reproduce
Set REDIS_PASSWORD=p#ssword. Leave REDIS_URI unset
Start nostream
TypeError: Invalid URL
Expected behavior
Relay starts fine regardless of what's in the password.
Screenshots
N/A
System (please complete the following information):
OS: Any
Platform: docker / standalone
Version: latest
Logs
TypeError: Invalid URL
at new URL (node:internal/url:826:25)
Additional context
@ and : work fine. Node's URL parser handles those. # is the problem since it signals a fragment.
Hey @cameri , found this issue in Redis connection while exploring the codebase.
Did a fix and linked a PR. Please let me know if any changes are required.
Activity
tharu-jwd commentedon Apr 22, 2026
Hey @cameri , found this issue in Redis connection while exploring the codebase.
Did a fix and linked a PR. Please let me know if any changes are required.
cameri commentedon Apr 25, 2026
@tharu-jwd theres an open PR solving this
tharu-jwd commentedon Apr 26, 2026
I saw that's broad fix and closed my PR some time ago. Sorry for not mentioning that in the issue thread.