<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:03:15 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-4906] Client Side Field Level Encryption (CSFLE) unable to connect to mongocryptd on Linux</title>
                <link>https://jira.mongodb.org/browse/JAVA-4906</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;

&lt;p&gt;we are trying to use Mongo DB CSFLE On Java. it works fine on our developer machine on windows. but, however it is not working when we deploy on Linux server. we are getting below error.&lt;/p&gt;

&lt;p&gt;com.mongodb.MongoClientException: Exception in encryption library: Exception in encryption library: Timed out after 10000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27020, type=UNKNOWN, state=CONNECTING, exception=&lt;/p&gt;

{com.mongodb.MongoSocketOpenException: Exception opening socket}

&lt;p&gt;, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]&quot;,&quot;severity&quot;:&quot;FAIL&quot;}]}&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Pleaseprovidetheversionofthedriver.Ifapplicable%2CpleaseprovidetheMongoDBserverversionandtopology%28standalone%2Creplicaset%2Corshardedcluster%29.&quot;&gt;&lt;/a&gt;Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).&lt;/h4&gt;

&lt;p&gt;MongoDB Java driver : 4.7.1&lt;/p&gt;

&lt;p&gt;MongoDB-Crypt : 1.6.1&lt;/p&gt;

&lt;p&gt;MongoDB.Bson : 4.7.0&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;HowtoReproduce&quot;&gt;&lt;/a&gt;How to Reproduce&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;Error happens when we deploy on Liunx server. our base image is redhat/ubi8&lt;/em&gt;&lt;/p&gt;


&lt;p&gt;&lt;em&gt;FROM docker-frameworkimage-rel.prodlb.travp.net/redhat.io/ubi8/openjdk-8:1.14-3&lt;/em&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;AdditionalBackground&quot;&gt;&lt;/a&gt;Additional Background&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;FLE is working fine on developer machine on windows. problem is only with server.&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;&lt;em&gt;FLE works fine on both windows and Linux on .NET core. problem is only on Java&lt;/em&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2284145">JAVA-4906</key>
            <summary>Client Side Field Level Encryption (CSFLE) unable to connect to mongocryptd on Linux</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13203">Gone away</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="psantha3@travelers.com">Prasannavengadesan Santhanagopalan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Mar 2023 16:50:44 +0000</created>
                <updated>Fri, 27 Oct 2023 19:48:33 +0000</updated>
                            <resolved>Fri, 31 Mar 2023 12:00:38 +0000</resolved>
                                                                    <component>Client Side Encryption</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5314986" author="dbeng-pm-bot" created="Fri, 31 Mar 2023 12:00:40 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to comment on this if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="5277136" author="dbeng-pm-bot" created="Thu, 16 Mar 2023 12:00:59 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=psantha3%40travelers.com&quot; class=&quot;user-hover&quot; rel=&quot;psantha3@travelers.com&quot;&gt;psantha3@travelers.com&lt;/a&gt;, We need additional details to investigate the problem. If this is still an issue for you, please provide the requested information.&lt;/p&gt;</comment>
                            <comment id="5259406" author="jeff.yemin" created="Wed, 8 Mar 2023 18:07:12 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=psantha3%40travelers.com&quot; class=&quot;user-hover&quot; rel=&quot;psantha3@travelers.com&quot;&gt;psantha3@travelers.com&lt;/a&gt;, the JAVA project is intended for reporting bugs or requesting features in the Java driver, not for general support, even if that support is related to the Java driver.  It&apos;s possible that after some investigation, the dedicated support team will end up escalating the case to driver engineers, but often that is not necessary.&lt;/p&gt;

&lt;p&gt;So generally we recommend all customers starting a support case first.  You can include a link to this ticket in your case, so that they know that we&apos;ve already been in contact.&lt;/p&gt;</comment>
                            <comment id="5259369" author="JIRAUSER1273070" created="Wed, 8 Mar 2023 17:55:54 +0000"  >&lt;p&gt;Are you saying, there is nothing you can do on this. I need to work with support team to figure out configuration issue ? please clarify.&lt;/p&gt;</comment>
                            <comment id="5259357" author="jeff.yemin" created="Wed, 8 Mar 2023 17:52:41 +0000"  >&lt;p&gt;When I log into Atlas now, I see a Get Help link in the top right. Under that is a Create New Case link.&lt;/p&gt;</comment>
                            <comment id="5259245" author="JIRAUSER1273070" created="Wed, 8 Mar 2023 17:24:47 +0000"  >&lt;p&gt;yes. we are using Atlas. please provide the link to chat with MongoDB Support representative.&#160; we want to sort this out. we are trying to fix so hard. but, we could not.&#160;&lt;/p&gt;</comment>
                            <comment id="5259208" author="jeff.yemin" created="Wed, 8 Mar 2023 17:10:31 +0000"  >&lt;p&gt;Hi there, thank you for reaching out. We test the Java driver extensively on Linux so my first suspicion is a configuration or environment issue rather than an obvious driver bug.  Since that&apos;s more of a support issue, I wanted to give you some resources to get this question answered:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Our MongoDB support portal, located at &lt;a href=&quot;https://support.mongodb.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;support.mongodb.com&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Our MongoDB community portal, located &lt;a href=&quot;https://www.mongodb.com/community/forums/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;If you are an Atlas customer, you can also: Click the in-app chat icon in the lower right corner to chat with a MongoDB Support representative OR Click Support in the left-hand navigation to view Developer Resources.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Regards,&lt;br/&gt;
Jeff&lt;/p&gt;</comment>
                            <comment id="5259172" author="JIRAUSER1273070" created="Wed, 8 Mar 2023 16:58:31 +0000"  >&lt;p&gt;we have verified and made sure that MongoCryptd is available on the path. also we have tried starting MongoCrypd explicitly on docker file and also through Java code &quot;Process process = runTime.exec(mongocryptdPath)&quot;. but, still the same error.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1htu8:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>