[OpenSIPS-Users] cachedb_redis :: cachedb_url => FQDN not working

Răzvan Crainea razvan at opensips.org
Fri Jul 11 14:23:40 CEST 2014


Hi, Gary!

I've just created a patch[1] for this. Can you please apply it on your 
sources and then retest?

[1] http://pastebin.com/TuEZ26Qz

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 07/11/2014 01:49 PM, Bogdan-Andrei Iancu wrote:
> Hi Gary,
>
> I checked with Razvan the code and it seems to be a glitch in there
> (FQDN versus IP) - we are working on fixing it asap.
>
> Thanks and regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 11.07.2014 00:00, Gary Nyquist wrote:
>> I am setting the FQDN like this:
>> modparam("cachedb_redis",
>> "cachedb_url","redis:cluster://rediscluster.vhrurm.0001.use1.cache.amazonaws.com:6379/")
>>
>> No complains by "opensips -c"
>> On starting, the log gets filled with error messages, starting with
>> the following line:
>> ERROR:cachedb_redis:redis_connect_node: failed to open redis
>> connection rediscluster.vhr�#030:6379 - Name or service not known
>> BR
>> -Gary
>> *Sent:* Thursday, July 10, 2014 at 12:41 PM
>> *From:* "Bogdan-Andrei Iancu" <bogdan at opensips.org>
>> *To:* "OpenSIPS users mailling list" <users at lists.opensips.org>, "Gary
>> Nyquist" <gn62 at gmx.us>
>> *Subject:* Re: [OpenSIPS-Users] cachedb_redis :: cachedb_url => FQDN
>> not working
>> Hi,
>>
>> By not working, what do you mean ? do you get some error ? simply not
>> connecting ?
>>
>> Regards,
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>> On 10.07.2014 18:59, Gary Nyquist wrote:
>>
>>     Hi,
>>     I am trying to use the FQDN for specifying the 'cachedb_url' like
>>     this:
>>     modparam("cachedb_redis",
>>     "cachedb_url","redis:cluster://my_redis_server.com:6379/")
>>     But it is not working;
>>     Whereas the following is working fine:
>>     modparam("cachedb_redis",
>>     "cachedb_url","redis:cluster://10.0.0.228:6379/")
>>     What needs to be done to make the FQDN to work?
>>     Thanks
>>     -Gary
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list