<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:41:32 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>[CSHARP-2069] Intermittent timeout when sslverifycertificate=false</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2069</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;1. Created Data access library (using repository pattern) to access mongo collection.&lt;br/&gt;
2. Connecting to DB using new MongoClient(connectionString)&lt;br/&gt;
3. Using MongoClient.GetDatabase to get DB.&lt;br/&gt;
4. Using IMongoDatabase.GetCollection to fetch data from a collection.&lt;/p&gt;

&lt;p&gt;Issue:&lt;br/&gt;
In the test environment, started getting exception:&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;red&quot;&gt;HeartbeatException: &quot;MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---&amp;gt; System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;To solve above, added &quot;sslverifycertificate=false&quot; to the connection string. This solved the certification validation exception, but another intermittent issue cropped up, below is the information:&lt;/p&gt;

&lt;p&gt;Connection id &quot;&quot;&lt;em&gt;XXXXXX&lt;/em&gt;&quot;&quot;: An unhandled exception was thrown by the application. &lt;br/&gt;
 System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = &lt;/p&gt;
{ Mode : Nearest }
&lt;p&gt; }, LatencyLimitingServerSelector&lt;/p&gt;
{ AllowedLatencyRange = 00:00:00.0150000 }
&lt;p&gt; }. Client view of cluster state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;ReplicaSet&quot;, Type : &quot;ReplicaSet&quot;, State : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;&lt;/p&gt;
{ ClusterId : 1, EndPoint : &quot;Unspecified/_MemberServer1_:27017&quot; }
&lt;p&gt;&quot;, EndPoint: &quot;Unspecified/&lt;em&gt;MemberServer1&lt;/em&gt;:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot; }, { ServerId: &quot;&lt;/p&gt;
{ ClusterId : 1, EndPoint : &quot;Unspecified/_MemberServer2_:27017&quot; }
&lt;p&gt;&quot;, EndPoint: &quot;Unspecified/&lt;em&gt;MemberServer2&lt;/em&gt;:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot; }, { ServerId: &quot;&lt;/p&gt;
{ ClusterId : 1, EndPoint : &quot;Unspecified/_MemberServer3_:27017&quot; }
&lt;p&gt;&quot;, EndPoint: &quot;Unspecified/&lt;em&gt;MemberServer3&lt;/em&gt;:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot; }] }.&lt;br/&gt;
   at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)&lt;/p&gt;



</description>
                <environment>OS: Windows 2012 R2&lt;br/&gt;
.NET Version: dotnetcore 1.1&lt;br/&gt;
Project Type: Web API&lt;br/&gt;
SSL Certificate: Self Signed&lt;br/&gt;
Replicaset: Yes, with three members</environment>
        <key id="448423">CSHARP-2069</key>
            <summary>Intermittent timeout when sslverifycertificate=false</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="9">Done</resolution>
                                        <assignee username="vincent.kam@mongodb.com">Vincent Kam</assignee>
                                    <reporter username="AlMeh">ALOK MEHROTRA</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Oct 2017 22:52:26 +0000</created>
                <updated>Tue, 26 Feb 2019 16:43:37 +0000</updated>
                            <resolved>Tue, 26 Feb 2019 16:43:37 +0000</resolved>
                                    <version>2.4.4</version>
                                                    <component>Connectivity</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2145053" author="ian@10gen.com" created="Mon, 11 Feb 2019 20:29:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=AlMeh&quot; class=&quot;user-hover&quot; rel=&quot;AlMeh&quot;&gt;AlMeh&lt;/a&gt; apologies for the delay in responding here - we believe that this has been fixed in &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2279&quot; title=&quot;Disable certificate revocation checking by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2279&quot;&gt;&lt;del&gt;CSHARP-2279&lt;/del&gt;&lt;/a&gt; - can you please update to 2.7.0 and let us know if you&apos;re good?&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|hta5mf:</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>