[OpenSIPS-Users] CacheDB_Redis authentication

Yury Kirsanov y.kirsanov at gmail.com
Wed Aug 7 06:38:09 EDT 2019


Hi,
Tried like this:

modparam("cachedb_redis",
"cachedb_url","redis:prod://10.x.x.x:6379/?password=Password")

And like this:

modparam("cachedb_redis", "cachedb_url","redis:prod://Password@10.x.x.x
:6379/")

And tried some other ways putting password in different places but in that
cases OpenSIPS won't even start. In two examples above it starts but then
I'm getting following error:

Jul 31 19:22:56 ERROR:cachedb_redis:redis_set: Redis operation failure -
0x1b19410 NOAUTH Authentication required.
Jul 31 19:22:56 ERROR:cachedb_redis:redis_set: giving up on query

Thanks for your help,
Yury.

On Wed, 7 Aug. 2019, 20:33 Bogdan-Andrei Iancu, <bogdan at opensips.org> wrote:

> Hi,
>
> How exactly have you tried to build the URL ?
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
> OpenSIPS Summit 2019
>   https://www.opensips.org/events/Summit-2019Amsterdam/
>
> On 07/31/2019 12:35 PM, Yury Kirsanov wrote:
>
> Hi,
> Could you please let me know correct syntax of modparam for cachedb_redis
> for password authentication? Or is it not supported at all? I've tried
> different variants but can't get it to work, always getting an error:
>
> Jul 31 19:22:56 ERROR:cachedb_redis:redis_set: Redis operation failure -
> 0x1b19410 NOAUTH Authentication required.
> Jul 31 19:22:56 ERROR:cachedb_redis:redis_set: giving up on query
>
> Thanks!
>
> Regards,
> Yury.
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190807/ac86b754/attachment.html>


More information about the Users mailing list