<div dir="ltr">Hi All ,<div><br></div><div>       I am using opensips-1.11 and I am using cachedb_mongodb module . I am able to connect to mongodb replica set without authentication .</div><div><br></div><div><span style="font-size:12.8px">modparam(&quot;cachedb_mongodb&quot;, &quot;cachedb_url&quot;,&quot;mongodb:</span><span style="font-size:12.8px">replicaset1://</span><a href="http://root:password@1.2.3.4:27017/" target="_blank" style="font-size:12.8px">1.2.3.4:27017</a><span style="font-size:12.8px">,</span><a href="http://2.3.4.5:27017/jack.db.CallCenter_Info" target="_blank" style="font-size:12.8px">2.3.4.5:27017/jack.db.CallCenter_Info</a><span style="font-size:12.8px">&quot;)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">modparam(&quot;db_cachedb&quot;,&quot;</span><span style="font-size:12.8px">cachedb_url&quot;,&quot;mongodb:</span><span style="font-size:12.8px">replicaset1://</span><font color="#0000ff"><a href="http://root:password@1.2.3.4:27017/" target="_blank" style="font-size:12.8px">1.2.3.4:27017</a><span style="font-size:12.8px">,</span><a href="http://2.3.4.5:27017/jack.db.test" target="_blank" style="font-size:12.8px">2.3.4.5:27017/jack.db.</a>db</font><span style="font-size:12.8px">&quot;)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">modparam(&quot;acc&quot;, &quot;db_url&quot;, &quot;cachedb://mongodb:</span><span style="font-size:12.8px">replicaset1&quot;)</span></div><div><span style="font-size:12.8px">  I am able to connect to mongodb for account module . By this line .</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">  But I am not able to store any data through raw query like bellow .</span></div><div><span style="font-size:12.8px">cache_store(&quot;mongodb:group1&quot;,&quot;$ci&quot;,&quot;$ci,$var(c)&quot;);</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Its giving bellow error .</span></div><div><span style="font-size:12.8px"><br></span></div><div><div><span style="font-size:12.8px">   DBG:core:cachedb_store: from script [mongodb] - with grp [group1]</span></div><div><span style="font-size:12.8px">  ERROR:core:cachedb_store: failed to get connection for grp name [group1]</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">What does it mean ?  If I am changing the group1 to replicaset1 then also its giving error . What should I do ? Please help me . Am I doing something wrong in the opensips config file or I need to do something in the mongodb replica set ?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks in advance . any kind of suggestion is welcome .</span></div><div><span style="font-size:12.8px"><br clear="all"></span><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b><i>Thanks &amp; Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div>
</div></div>