<div dir="ltr">Hi, <div><br></div><div>Its not about the domain length . Its about the tls parameter . When I created a document db without tls that was connected successfully . I think with tls , the configuration is something different which I am missing . </div><div><br></div><div>Thanks for your suggestion. </div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 29, 2022 at 7:05 PM Kevin Wormington <<a href="mailto:kworm@missouri-telecom.com">kworm@missouri-telecom.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Samita,<br>
<br>
I don’t have any experience with AWS but from the error message OpenSIPS is logging the hostname of the server cannot be resolved.  The hostname also appears to be truncated.  Â Have you tried using the IP address instead of hostname or making a CNAME dns entry for the host that is shorter?  Â Perhaps this is some parameter length limit.<br>
<br>
Kevin<br>
> On Apr 29, 2022, at 8:23 AM, Sasmita Panda <<a>spanda@3clogic.com</a>> wrote:<br>
> <br>
> Hi All , <br>
> <br>
> <br>
> I was exploring fullsharing-cachedb-cluster in opensips 3.2 . I have tested this with single stand alone mongo db instance . Its working perfectly fine . <br>
> <br>
> I know that AWS document DB is mongodb compatible . So I want to explore that . Because we are using AWS cloud for our deployment . <br>
> <br>
> I have created a single instance of Document DB cluster . I want to connect to that from the opensips script . There was no error while starting opensips . But when opensips tried to write data in the db its threw an error . <br>
> <br>
> <br>
>  ERROR:usrloc:release_urecord: failed to flush AoR <a>Default_Line_118_6@p2p-cachedb.xyz.com</a><br>
>  ERROR:cachedb_mongodb:mongo_con_update: last error: 15.13053: No suitable servers found (`serverselectiontryonce` set): [Failed to resolve 'docdb-2022-04-27-10-26-28.cluster-cryhhicuxgzu.us-east-1.docdb.amdocdb-2022-04-27-10-26-28.cluster-cryhhicuxgzu.us-east-1.docdb.amazona']<br>
>  ERROR:usrloc:cdb_flush_urecord: cache update query for AoR <a>hynode2_CallDefault@p2p-cachedb.xyz.com</a> failed!<br>
> <br>
> <br>
> My configuration file looks like below  . same for usrloc and db_cachedb<br>
> <br>
> modparam("cachedb_mongodb", "cachedb_url","mongodb://<br>
> ?<a rel="noreferrer">master:opensips3@docdb-2022.cluster-cryhhicuxgzu.us-east-1.docdb.amazonaws.com:27017/db.test/</a><br>
> ?ssl=true&ssl_ca_certs=/usr/local/src/etc/opensips/rds-combined-ca-bundle.pem&replicaSet=rs0&readPreference=secondaryPreferred&retryWrites=false")<br>
> <br>
> In document db it also its says the same way we can connect to docdb from an application . <br>
> <br>
> I have tried so many ways to resolve this . But without any luck . Please help me out if anybody has used a document db through any application can also reply . <br>
> <br>
> <br>
> Thanks & Regards<br>
> Sasmita Panda<br>
> Senior Network Testing and Software Engineer<br>
> 3CLogic , ph:07827611765<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a>Users@lists.opensips.org</a><br>
> <a rel="noreferrer">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a>Users@lists.opensips.org</a><br>
<a rel="noreferrer">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>