[OpenSIPS-Users] CacheDB_Redis authentication

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Aug 7 06:43:15 EDT 2019


Have you checked this?

https://stackoverflow.com/questions/44344628/how-to-create-a-redis-cloud-connection-url-with-an-auth-password

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 08/07/2019 01:38 PM, Yury Kirsanov wrote:
> 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 
> <mailto: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 list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190807/873d79f2/attachment-0001.html>


More information about the Users mailing list