<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:50 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-794] When try to test connection to mongodb server, connection is hanging -  need to implement a timeout mechanism</title>
                <link>https://jira.mongodb.org/browse/CSHARP-794</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I use Mongo db C# driver 1.4.0.4468.&lt;br/&gt;
MongoDB it is installed as a windows service an a machine. &lt;br/&gt;
The command that I used to install the service is : &quot;C:\Program Files (x86)\Ixia\ResourceManager\Mongodb\bin\mongod.exe&quot; --journal --dbpath &quot;C:\ProgramData\Ixia\ResourceManager\Storage\Database&quot; --logpath &quot;C:\ProgramData\Ixia\ResourceManager\Logs\mongod.log&quot; --service --logappend&quot;&lt;br/&gt;
When Windows network setting: &quot;Receive Window Auto-Tuning Level&quot; it is set to &quot;experimental&quot; value, no connections can be made to database using C# driver. To set this value you need to open an admin cmd and type command: netsh int tcp set global autotuninglevel=experimental&lt;br/&gt;
After mongodb service it is installed I test connectivity with the database.&lt;br/&gt;
I used MongoDB.Driver.MongoServer.Connect(TimeSpan timeout) method to test if mongodb server is started. Even this method has a timeout parameter, the execution hangs in this method.&lt;br/&gt;
You need to fix this problem and to have a time out mechanism to throw an error if no connection can be made.&lt;br/&gt;
I attached mongod.log and a capture file to see the packets sent.&lt;/p&gt;</description>
                <environment>Windows 7 x64, Windows Server 2008 R2</environment>
        <key id="85269">CSHARP-794</key>
            <summary>When try to test connection to mongodb server, connection is hanging -  need to implement a timeout mechanism</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="gabi_badescu">Gabriel Badescu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Aug 2013 07:26:08 +0000</created>
                <updated>Thu, 20 Mar 2014 14:37:19 +0000</updated>
                            <resolved>Fri, 9 Aug 2013 12:39:09 +0000</resolved>
                                    <version>1.4</version>
                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="399381" author="craiggwilson" created="Fri, 9 Aug 2013 12:38:43 +0000"  >&lt;p&gt;Hi Gabriel,&lt;br/&gt;
  Thanks for reporting.  The 1.4 version of the driver is over 1 year old.  The timeout mechanisms work in the current version of the driver.  If you are having issues, then you&apos;ll need to upgrade as we won&apos;t be doing any fixes for the 1.4 version of the driver.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="29708" name="loopback.pcap" size="1620" author="gabi_badescu" created="Fri, 9 Aug 2013 07:26:08 +0000"/>
                            <attachment id="29707" name="mongod.log" size="1670" author="gabi_badescu" created="Fri, 9 Aug 2013 07:26:08 +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|hrs4vb:</customfieldvalue>

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