<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:42:45 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-2510] Timeout exception when trying to connect to api</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2510</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;my MongoDB database:&#160;plant_growth_system&lt;/p&gt;

&lt;p&gt;the collectiong: General_Plant&lt;/p&gt;

&lt;p&gt;when trying to connect to : &lt;a href=&quot;http://localhost:59707/GeneralPlant&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:59707/GeneralPlant&lt;/a&gt;&#160;(or any other controller)&lt;br/&gt;
got error :&#160;&lt;/p&gt;


&lt;h2&gt;&lt;a name=&quot;Atimeoutoccuredafter30000msselectingaserverusingCompositeServerSelector%5C.Clientviewofclusterstateis%5C%7BClusterId%3A%221%22%2CConnectionMode%3A%22Automatic%22%2CType%3A%22Unknown%22%2CState%3A%22Disconnected%22%2CServers%3A%7BServerId%3A%22%22%2C...&quot;&gt;&lt;/a&gt;&lt;em&gt;A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. 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;{ ClusterId : 1, EndPoint : &quot;Unspecified/ds111065.mlab.com:11065&quot; }&quot;, EndPoint: &quot;Unspecified/ds111065.mlab.com:11065&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; MongoDB.Driver.MongoAuthenticationException: Unable to authenticate using sasl protocol mechanism SCRAM-SHA-1. ---&amp;gt; MongoDB.Driver.MongoCommandException: Command saslStart failed: Authentication failed..&lt;/em&gt;&lt;/h2&gt;
&lt;p&gt;&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.WireProtocol.CommandUsingQueryMessageWireProtocol`1.ProcessReply(ConnectionId connectionId, ReplyMessage`1 reply)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.WireProtocol.CommandUsingQueryMessageWireProtocol`1.&amp;lt;ExecuteAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;14.MoveNext()&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;--- End of stack trace from previous location where exception was thrown ---&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.Authentication.SaslAuthenticator.&amp;lt;AuthenticateAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;7.MoveNext()&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;--- End of inner exception stack trace ---&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.Authentication.SaslAuthenticator.&amp;lt;AuthenticateAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;7.MoveNext()&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;--- End of stack trace from previous location where exception was thrown ---&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.Authentication.DefaultAuthenticator.&amp;lt;AuthenticateAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;7.MoveNext()&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;--- End of stack trace from previous location where exception was thrown ---&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.Authentication.AuthenticationHelper.&amp;lt;AuthenticateAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;1.MoveNext()&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;--- End of stack trace from previous location where exception was thrown ---&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.Connections.ConnectionInitializer.&amp;lt;InitializeConnectionAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;3.MoveNext()&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;--- End of stack trace from previous location where exception was thrown ---&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;OpenHelperAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;48.MoveNext()&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;--- End of inner exception stack trace ---&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;OpenHelperAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;48.MoveNext()&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;--- End of stack trace from previous location where exception was thrown ---&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)&lt;/em&gt;&lt;br/&gt;
&#160;&#160;&lt;em&gt;at MongoDB.Driver.Core.Servers.ServerMonitor.&amp;lt;HeartbeatAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;28.MoveNext()&quot; }] }.&lt;/em&gt;&lt;/p&gt;

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

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

&lt;p&gt;&lt;em&gt;please your help.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;thanks,&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Hanan&lt;/em&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="686861">CSHARP-2510</key>
            <summary>Timeout exception when trying to connect to api</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="wan.bachtiar@mongodb.com">Wan Bachtiar</assignee>
                                    <reporter username="hananav">Hanan Avraham</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Sun, 10 Feb 2019 12:48:25 +0000</created>
                <updated>Thu, 25 Jun 2020 02:28:09 +0000</updated>
                            <resolved>Thu, 25 Jun 2020 02:28:09 +0000</resolved>
                                    <version>2.7.3</version>
                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3223183" author="rachelle.palmer" created="Thu, 25 Jun 2020 02:28:09 +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="2896749" author="jhnsartain3@gmail.com" created="Sun, 23 Feb 2020 01:22:23 +0000"  >&lt;p&gt;I am also having this issue&lt;/p&gt;

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

&lt;p&gt;Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer&lt;br/&gt;
EventId: 2&lt;br/&gt;
RequestId: 8000003a-0004-ff00-b63f-84710c7967bb&lt;br/&gt;
RequestPath: /User/IsValidUser&lt;br/&gt;
SpanId: |30f9f0de-4e9be4942616cd2a.&lt;br/&gt;
TraceId: 30f9f0de-4e9be4942616cd2a&lt;br/&gt;
ParentId:&lt;/p&gt;

&lt;p&gt;Connection ID &quot;18374686498462105657&quot;, Request ID &quot;8000003a-0004-ff00-b63f-84710c7967bb&quot;: An unhandled exception was thrown by the application.&lt;/p&gt;

&lt;p&gt;Exception: &lt;br/&gt;
MongoDB.Driver.MongoAuthenticationException: Unable to authenticate using sasl protocol mechanism SCRAM-SHA-1.&lt;br/&gt;
 ---&amp;gt; MongoDB.Driver.MongoCommandException: Command saslStart failed: Authentication failed..&lt;br/&gt;
 at MongoDB.Driver.Core.WireProtocol.CommandUsingQueryMessageWireProtocol`1.ProcessReply(ConnectionId connectionId, ReplyMessage`1 reply)&lt;br/&gt;
 at MongoDB.Driver.Core.WireProtocol.CommandUsingQueryMessageWireProtocol`1.Execute(IConnection connection, CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.Core.Authentication.SaslAuthenticator.Authenticate(IConnection connection, ConnectionDescription description, CancellationToken cancellationToken)&lt;br/&gt;
 &amp;#8212; End of inner exception stack trace &amp;#8212;&lt;br/&gt;
 at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquiredConnection.Open(CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.Core.Servers.Server.GetChannel(CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.Core.Bindings.ServerChannelSource.GetChannel(CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.Core.Bindings.ChannelSourceHandle.GetChannel(CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.Core.Operations.RetryableReadContext.Create(IReadBinding binding, Boolean retryRequested, CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.Core.Operations.FindOperation`1.Execute(IReadBinding binding, CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.OperationExecutor.ExecuteReadOperation&lt;span class=&quot;error&quot;&gt;&amp;#91;TResult&amp;#93;&lt;/span&gt;(IReadBinding binding, IReadOperation`1 operation, CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.MongoCollectionImpl`1.ExecuteReadOperation&lt;span class=&quot;error&quot;&gt;&amp;#91;TResult&amp;#93;&lt;/span&gt;(IClientSessionHandle session, IReadOperation`1 operation, ReadPreference readPreference, CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.MongoCollectionImpl`1.ExecuteReadOperation&lt;span class=&quot;error&quot;&gt;&amp;#91;TResult&amp;#93;&lt;/span&gt;(IClientSessionHandle session, IReadOperation`1 operation, 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;(IClientSessionHandle session, FilterDefinition`1 filter, FindOptions`2 options, CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.MongoCollectionImpl`1.&amp;lt;&amp;gt;c_&lt;em&gt;DisplayClass41_0`1.&amp;lt;FindSync&amp;gt;b&lt;/em&gt;_0(IClientSessionHandle session)&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.FirstOrDefault&lt;span class=&quot;error&quot;&gt;&amp;#91;TDocument&amp;#93;&lt;/span&gt;(IAsyncCursorSource`1 source, CancellationToken cancellationToken)&lt;br/&gt;
 at MongoDB.Driver.IFindFluentExtensions.FirstOrDefault&lt;span class=&quot;error&quot;&gt;&amp;#91;TDocument,TProjection&amp;#93;&lt;/span&gt;(IFindFluent`2 find, CancellationToken cancellationToken)&lt;br/&gt;
 at Users_API.Database.MongoDatabaseConnection.GetUserByUsernameAndPassword(UserModel userModel) in C:\Users\jhnsa\Documents\Development\CSharp\Users-API\Users API\Database\MongoDatabaseConnection.cs:line 25&lt;br/&gt;
 at Users_API.Services.UserService.IsValidUser(UserModel userModel) in C:\Users\jhnsa\Documents\Development\CSharp\Users-API\Users API\Services\UserService.cs:line 32&lt;br/&gt;
 at Users_API.Controllers.UserController.IsValidUser(UserModel userModel) in C:\Users\jhnsa\Documents\Development\CSharp\Users-API\Users API\Controllers\UserController.cs:line 54&lt;br/&gt;
 at lambda_method(Closure , Object , Object[] )&lt;br/&gt;
 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)&lt;br/&gt;
 at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()&lt;br/&gt;
 at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State&amp;amp; next, Scope&amp;amp; scope, Object&amp;amp; state, Boolean&amp;amp; isCompleted)&lt;br/&gt;
 at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()&lt;br/&gt;
&amp;#8212; End of stack trace from previous location where exception was thrown &amp;#8212;&lt;br/&gt;
 at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)&lt;br/&gt;
 at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State&amp;amp; next, Scope&amp;amp; scope, Object&amp;amp; state, Boolean&amp;amp; isCompleted)&lt;br/&gt;
 at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()&lt;br/&gt;
&amp;#8212; End of stack trace from previous location where exception was thrown &amp;#8212;&lt;br/&gt;
 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&amp;lt;InvokeFilterPipelineAsync&amp;gt;g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)&lt;br/&gt;
 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&amp;lt;InvokeAsync&amp;gt;g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)&lt;br/&gt;
 at Microsoft.AspNetCore.Routing.EndpointMiddleware.&amp;lt;Invoke&amp;gt;g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)&lt;br/&gt;
 at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)&lt;br/&gt;
 at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()&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|hubkjr:</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>