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://[email protected]: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, <[email protected] <mailto:[email protected]>> 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
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to