<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:42: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-2416] Mongo EB connection error after Windows 10 update</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2416</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I am not able to connect to the local instance of mongo db on my developer machine. I am guessing its because of the latest windows update which happened yesterday night as everything seemed to be working before that.&lt;/p&gt;

&lt;p&gt;The latest windows update was: KB4462919&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;--------------------------------&lt;/p&gt;

&lt;p&gt;System.TimeoutException&lt;br/&gt;
HResult=0x80131505&lt;br/&gt;
Message=A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector&lt;/p&gt;
{ AllowedLatencyRange = 00:00:00.0150000 }
&lt;p&gt; }. Client view of cluster state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;Automatic&quot;, Type : &quot;Unknown&quot;, State : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;&lt;/p&gt;
{ ClusterId : 1, EndPoint : &quot;Unspecified/localhost:27017&quot; }
&lt;p&gt;&quot;, EndPoint: &quot;Unspecified/localhost:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot;, HeartbeatException: &quot;MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---&amp;gt; System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:27017&lt;br/&gt;
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)&lt;br/&gt;
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)&lt;br/&gt;
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)&lt;br/&gt;
&amp;#8212; End of stack trace from previous location where exception was thrown &amp;#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at MongoDB.Driver.Core.Connections.TcpStreamFactory.&amp;lt;ConnectAsync&amp;gt;d__7.MoveNext()&lt;br/&gt;
&amp;#8212; End of stack trace from previous location where exception was thrown &amp;#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at MongoDB.Driver.Core.Connections.TcpStreamFactory.&amp;lt;CreateStreamAsync&amp;gt;d__4.MoveNext()&lt;br/&gt;
&amp;#8212; End of stack trace from previous location where exception was thrown &amp;#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;OpenHelperAsync&amp;gt;d__48.MoveNext()&lt;br/&gt;
&amp;#8212; End of inner exception stack trace &amp;#8212;&lt;br/&gt;
at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;OpenHelperAsync&amp;gt;d__48.MoveNext()&lt;br/&gt;
&amp;#8212; End of stack trace from previous location where exception was thrown &amp;#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)&lt;br/&gt;
at MongoDB.Driver.Core.Servers.ServerMonitor.&amp;lt;HeartbeatAsync&amp;gt;d__27.MoveNext()&quot; }] }.&lt;br/&gt;
Source=MongoDB.Driver.Core&lt;br/&gt;
StackTrace:&lt;br/&gt;
at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)&lt;br/&gt;
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)&lt;br/&gt;
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)&lt;br/&gt;
at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)&lt;br/&gt;
at MongoDB.Driver.MongoClient.AreSessionsSupportedAfterServerSelection(CancellationToken cancellationToken)&lt;br/&gt;
at MongoDB.Driver.MongoClient.AreSessionsSupported(CancellationToken cancellationToken)&lt;br/&gt;
at MongoDB.Driver.OperationExecutor.StartImplicitSession(CancellationToken cancellationToken)&lt;br/&gt;
at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession&lt;span class=&quot;error&quot;&gt;&amp;#91;TResult&amp;#93;&lt;/span&gt;(Func`2 func, CancellationToken cancellationToken)&lt;br/&gt;
at MongoDB.Driver.MongoCollectionImpl`1.FindSync&lt;span class=&quot;error&quot;&gt;&amp;#91;TProjection&amp;#93;&lt;/span&gt;(FilterDefinition`1 filter, FindOptions`2 options, CancellationToken cancellationToken)&lt;br/&gt;
at MongoDB.Driver.FindFluent`2.ToCursor(CancellationToken cancellationToken)&lt;br/&gt;
at MongoDB.Driver.IAsyncCursorSourceExtensions.ToList&lt;span class=&quot;error&quot;&gt;&amp;#91;TDocument&amp;#93;&lt;/span&gt;(IAsyncCursorSource`1 source, CancellationToken cancellationToken)&lt;/p&gt;</description>
                <environment>Windows 10, Visual Studio</environment>
        <key id="617468">CSHARP-2416</key>
            <summary>Mongo EB connection error after Windows 10 update</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="pranjal1986">Pranjal</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Fri, 12 Oct 2018 15:22:07 +0000</created>
                <updated>Fri, 5 Apr 2019 13:58:22 +0000</updated>
                            <resolved>Fri, 7 Dec 2018 02:01:49 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2083505" author="jeff.yemin" created="Fri, 7 Dec 2018 02:01:49 +0000"  >&lt;p&gt;As this doesn&apos;t seem to be a bug in the .NET driver, closing this out.  Please let us know if you have evidence otherwise.&lt;/p&gt;</comment>
                            <comment id="2034670" author="rstam" created="Wed, 17 Oct 2018 18:08:47 +0000"  >&lt;p&gt;That&apos;s odd. I never had this problem in the first place, and certainly didn&apos;t have to roll back any Windows Updates.&lt;/p&gt;</comment>
                            <comment id="2034408" author="pranjal1986" created="Wed, 17 Oct 2018 11:27:42 +0000"  >&lt;p&gt;I rolled back the windows update to get the MongoDB working&lt;/p&gt;</comment>
                            <comment id="2031558" author="rstam" created="Fri, 12 Oct 2018 16:18:32 +0000"  >&lt;p&gt;Windows Update&#160;KB4462919 was automatically installed on my machine a few days ago also.&lt;/p&gt;

&lt;p&gt;I have not been having any trouble connecting to &quot;mongodb://localhost&quot; using the C# driver since then, and just confirmed before writing this that it is still working.&lt;/p&gt;

&lt;p&gt;Are you able to connect using the MongoDB shell?&lt;/p&gt;

&lt;p&gt;Is it possible that your machine was rebooted as part of the Windows Update and that the mongod process needs to be restarted?&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|hu0ezj:</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>