<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:43:05 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-2631] Several MongoConnectionException&apos;s per hour in production backend logs</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2631</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;In production backend logs I see permanent exceptions (around 10 per hour) like this:&lt;br/&gt;
&lt;a href=&quot;https://pastebin.com/PFbdZUug&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://pastebin.com/PFbdZUug&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;```&lt;br/&gt;
MongoDB.Driver.MongoConnectionException: An exception occurred while receiving a message from the server.&#160;MongoDB.Driver.MongoConnectionException: An exception occurred while receiving a message from the server.&#160; System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.&#160; System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond\r\n&#160; &#160; End of inner exception stack trace&#160;&lt;br/&gt;
```&lt;/p&gt;

&lt;p&gt;If I correctly understood, for clients this exception looks like 500 http error.&lt;br/&gt;
In test environment, this error not reproduced.&lt;/p&gt;

&lt;p&gt;In atlas replica set logs,&#160;nothing like MongoConnectionException&apos;s or&#160;any other connection problem.&lt;/p&gt;

&lt;p&gt;Could you describe this behavior of mongodb C# driver and suggest a workaround for these situations?&lt;/p&gt;

&lt;p&gt;If you need any metrics, I could share atlas monitoring charts or something else if you need it.&lt;/p&gt;</description>
                <environment>Azure, VM Windows Server Datacenter 2019, Net Core Runtime 2.2.3.27414&lt;br/&gt;
MongoDB Atlas M30 ReplicaSet.</environment>
        <key id="796945">CSHARP-2631</key>
            <summary>Several MongoConnectionException&apos;s per hour in production backend logs</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="wan.bachtiar@mongodb.com">Wan Bachtiar</assignee>
                                    <reporter username="t.myagkikh">Timofey Myagkikh</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Jun 2019 16:12:32 +0000</created>
                <updated>Thu, 25 Jun 2020 02:28:14 +0000</updated>
                            <resolved>Thu, 25 Jun 2020 02:28:14 +0000</resolved>
                                    <version>2.7.3</version>
                                                    <component>Connectivity</component>
                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3223194" author="rachelle.palmer" created="Thu, 25 Jun 2020 02:28:14 +0000"  >&lt;p&gt;Hi there, thank you for reaching out to MongoDB. As this sounds more like a support issue, I wanted to give you some resources to get this question answered more quickly:&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/welcome&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 forums, located &lt;a href=&quot;https://developer.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, there is free support offered 24/7 in the lower right hand corner of the UI.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Thank you!&lt;br/&gt;
Rachelle&lt;/p&gt;</comment>
                            <comment id="2283768" author="t.myagkikh" created="Thu, 13 Jun 2019 18:29:28 +0000"  >&lt;p&gt;This is my wireshark dump. &lt;br/&gt;
Section with &quot;Connection reset (RST)&quot; looks like MongoConnectionException for each reset entries.&lt;br/&gt;
Is this expected behavior for mongo driver with win server or any workaround / special settings exist?&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/220663/220663_wireshark.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="220663" name="wireshark.png" size="906486" author="t.myagkikh" created="Thu, 13 Jun 2019 18:27:35 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000ejVc8QAE]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <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|hutg3z:</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>