<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:40:44 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-1811] System.IO.IOException: Unable to read data from the transport connection</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1811</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I have MongoCollectionProvider, that registered as Singleton.&lt;br/&gt;
Sometimes i catch System.IO.IOException with robust connection.&lt;br/&gt;
I catch it sinse v2.3.&lt;br/&gt;
Maybe you change MongoClient behaviour and it not need to use it as Singleton ?&lt;/p&gt;</description>
                <environment>ASP.NET Core (net46)</environment>
        <key id="326790">CSHARP-1811</key>
            <summary>System.IO.IOException: Unable to read data from the transport connection</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="zoxexivo@gmail.com">Ivan Artemov</reporter>
                        <labels>
                            <label>driver</label>
                    </labels>
                <created>Tue, 25 Oct 2016 21:06:03 +0000</created>
                <updated>Mon, 15 Nov 2021 22:30:25 +0000</updated>
                            <resolved>Thu, 27 Oct 2016 14:55:42 +0000</resolved>
                                    <version>2.3</version>
                                                    <component>Connectivity</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1419508" author="rstam" created="Thu, 27 Oct 2016 14:55:18 +0000"  >&lt;p&gt;Thanks for letting us know.&lt;/p&gt;</comment>
                            <comment id="1418715" author="zoxexivo@gmail.com" created="Wed, 26 Oct 2016 19:39:47 +0000"  >&lt;p&gt;Thank you, Robert. This is azure connection issue.&lt;br/&gt;
&lt;a href=&quot;https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/_Z8YepNHnbI&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/_Z8YepNHnbI&lt;/a&gt;&lt;br/&gt;
Problem not in MongoDB. &lt;br/&gt;
Thank you. Issue can be trashed now&lt;/p&gt;</comment>
                            <comment id="1418672" author="rstam" created="Wed, 26 Oct 2016 19:11:05 +0000"  >&lt;p&gt;We have heard reports that connections that aren&apos;t used for a long time can go bad. Usually it&apos;s because there&apos;s some router along the way that flushes idle connections. You can try setting maxIdleTime to a lower value (you can do this on the connection string).&lt;/p&gt;

&lt;p&gt;If you wish to create a single instance of MongoClient and use it repeatedly that&apos;s fine. I would actually recommend that as being better than creating a new instance of MongoClient every time you need to do something with the database.&lt;/p&gt;</comment>
                            <comment id="1418642" author="zoxexivo@gmail.com" created="Wed, 26 Oct 2016 18:54:40 +0000"  >&lt;p&gt;I know about this message, but connection is ok and error appears when application is inactive some minutes and wake up.&lt;br/&gt;
At screenshot &#8470;2 i display Connection provider and i register it as Singleton in my Ioc.&lt;/p&gt;

&lt;p&gt;MongoClient work well when i use it as Singleton ?&lt;/p&gt;</comment>
                            <comment id="1418583" author="rstam" created="Wed, 26 Oct 2016 18:27:33 +0000"  >&lt;p&gt;The System.IO.IOException indicates that there is a network problem between the application and the server, as the error message indicates:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respons after a period of time, or established connection failed because connected host has failed to respond.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;I don&apos;t understand the second part of your question. MongoClient is not a singleton.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="142420" name="1.png" size="205320" author="zoxexivo" created="Tue, 25 Oct 2016 21:06:03 +0000"/>
                            <attachment id="142421" name="2.png" size="56576" author="zoxexivo" created="Tue, 25 Oct 2016 21:06:03 +0000"/>
                    </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|hsr7av:</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>