[OpenSIPS-Users] redis connect with auth

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Nov 2 11:23:14 UTC 2023


Hi Jason,

right now there is no generic escaping support, so shortly said you 
cannot use the `@` in the password :(.

We can look into this, but please open a Feature Request on the github 
tracker.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 11/2/23 10:11 AM, nz deals wrote:
> Thank you Bogdan,
> Without @ it works, the problem is I am unable to change the password 
> since it's being used by a few other apps.
> Is it possible to escape this?
>
> THanks
>
> On Fri, 16 Jun 2023 at 01:37, Bogdan-Andrei Iancu <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Jason,
>
>     Most probably the `@` in the pwd is the issue - try to remote it
>     (change pwd) and see if it works.
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>
>     OpenSIPS Founder and Developer
>        https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
>        https://www.siphub.com  <https://www.siphub.com>
>
>     On 6/15/23 9:14 AM, nz deals wrote:
>>     Hi everyone,
>>
>>     I am a newbee and looking for some help.
>>     If i don't set a password for my redis, i can easily connect but
>>     when i set the password i could not connect to redis using opensips.
>>
>>     My password have @ inside, could this be an issue?
>>
>>     i am trying like like this -
>>
>>     modparam("cachedb_redis", "cachedb_url",
>>     "redis:main://:mypasx@ds#ycd@127.0.0.1:6379/
>>     <http://ycd@127.0.0.1:6379/>")
>>
>>     Regards,
>>     Jason
>>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users  <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231102/4ff96f60/attachment.html>


More information about the Users mailing list