<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:29 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-1028] Unable to connect to server 10.30.41.50:27017:  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</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1028</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Hi&lt;br/&gt;
Using this simple lines code the driver is throwing an exception related with the socket timeout.&lt;/p&gt;

&lt;p&gt;//  var client = new MongoClient(&quot;mongodb://10.30.41.50/DocumentManagerDataBase&quot;);&lt;/p&gt;

&lt;p&gt;   var client = new MongoClient(&quot;mongodb://10.30.41.50/DocumentManagerDataBase/?socketTimeoutMS=30000&quot;);&lt;/p&gt;


&lt;p&gt;            var server = client.GetServer();&lt;br/&gt;
            try&lt;/p&gt;
            {
                server.Connect();
            }
&lt;p&gt;            catch (Exception e)&lt;/p&gt;
            {
                
                throw;
            }

&lt;p&gt;Stacktrace information:&lt;/p&gt;

&lt;p&gt;Unable to connect to server 10.30.41.50:27017: &lt;br/&gt;
A connection attempt failed because the connected party did not properly respond after a period of time, &lt;br/&gt;
or established connection failed because connected host has failed to respond 10.30.41.50:27017.&lt;/p&gt;


&lt;p&gt;   at MongoDB.Driver.Internal.DirectMongoServerProxy.Connect(TimeSpan timeout, ReadPreference readPreference)&lt;br/&gt;
   at MongoDB.Driver.MongoServer.Connect(TimeSpan timeout)&lt;br/&gt;
   at MongoDB.Driver.MongoServer.Connect()&lt;br/&gt;
   at UsingDocumentManagerAPI.API.Main(String[] args) in c:\PathAppsProjects\UsingDocumentManagerAPI\UsingDocumentManagerAPI\API.cs:line 30&lt;br/&gt;
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)&lt;br/&gt;
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&lt;br/&gt;
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;br/&gt;
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)&lt;br/&gt;
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&lt;br/&gt;
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&lt;br/&gt;
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br/&gt;
   at System.Threading.ThreadHelper.ThreadStart()&lt;/p&gt;

&lt;p&gt;If I change to my localhost it working fine, but for the other hots does not work.&lt;/p&gt;

&lt;p&gt;I dont have anny firewwal in the midlle, etc.&lt;/p&gt;

&lt;p&gt;My mongoDb database it hoted on Windows server 2012.&lt;br/&gt;
If try to conect using any front end like RoboMongo or the shell, it workig fine, and I can retrive data from collection. but not through the api.&lt;br/&gt;
Thanks&lt;br/&gt;
MIKE&lt;/p&gt;</description>
                <environment>Localhost windows 7&lt;br/&gt;
Server: Windows sever 2012</environment>
        <key id="151781">CSHARP-1028</key>
            <summary>Unable to connect to server 10.30.41.50:27017:  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</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="-1">Unassigned</assignee>
                                    <reporter username="mquintela">Michael</reporter>
                        <labels>
                            <label>connection</label>
                    </labels>
                <created>Mon, 11 Aug 2014 13:55:13 +0000</created>
                <updated>Sat, 4 Apr 2015 22:33:25 +0000</updated>
                            <resolved>Sat, 4 Apr 2015 22:33:25 +0000</resolved>
                                    <version>1.8.3</version>
                    <version>1.9</version>
                                                    <component>Configuration</component>
                    <component>Connectivity</component>
                    <component>Error Handling</component>
                    <component>Setup</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                        <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|hs18sf:</customfieldvalue>

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