<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:44:01 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-2977] Unable to connect to name server</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2977</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://github.com/jhnsartain3/Users-API&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/jhnsartain3/Users-API&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I included the errors I am getting and how to reproduce&lt;/p&gt;</description>
                <environment>Windows 10. ASP.NET Core 3. C#</environment>
        <key id="1176071">CSHARP-2977</key>
            <summary>Unable to connect to name server</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="vincent.kam@mongodb.com">Vincent Kam</assignee>
                                    <reporter username="jhnsartain3@gmail.com">John Nilson</reporter>
                        <labels>
                    </labels>
                <created>Sun, 23 Feb 2020 02:00:49 +0000</created>
                <updated>Wed, 6 May 2020 21:45:22 +0000</updated>
                            <resolved>Wed, 6 May 2020 21:45:22 +0000</resolved>
                                    <version>2.9.3</version>
                    <version>2.10.0-beta1</version>
                    <version>2.10.0</version>
                    <version>2.10.1</version>
                    <version>2.10.2</version>
                                                    <component>API</component>
                    <component>Connectivity</component>
                                        <votes>1</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3072860" author="vincent.kam" created="Wed, 6 May 2020 21:44:57 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jhnsartain3%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;jhnsartain3@gmail.com&quot;&gt;jhnsartain3@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for your report. We tried to reproduce your issue using version 2.10.2 of the driver and were able to successfully connect to an Atlas cluster that uses a &lt;tt&gt;mongodb+srv&lt;/tt&gt; connection string similar to the one you provided. Based off the logs you provided, I  can also see that a &lt;tt&gt;MongoDB.Driver.MongoAuthenticationException&lt;/tt&gt; is being thrown&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;   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;MongoDB.Driver.MongoAuthenticationException: Unable to authenticate using sasl protocol mechanism SCRAM-SHA-1.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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-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;---&amp;gt; MongoDB.Driver.MongoCommandException: Command saslStart failed: Authentication failed.&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;Given the presence of the exception, I might recommend double checking the credentials in your connection string and also ensuring that the user has been added to the database with the correct role.&lt;/p&gt;

&lt;p&gt;As your report does not appear to describe a bug specific to .NET/C# driver and the CSHARP project is for reporting bugs or feature suggestions for the driver, I think the&#160;&lt;a href=&quot;https://community.mongodb.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Community Forums&lt;/a&gt;&#160;may be a better place for your question. If you have more information that would indicate that there&apos;s a bug in the C#/.NET driver, we would be more than happy to investigate.&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
Kind regards,&lt;br/&gt;
 Vincent&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1149269">CSHARP-2968</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="248658" name="MongoDatabaseConnection.cs" size="2739" author="jhnsartain3@gmail.com" created="Sun, 23 Feb 2020 01:55:40 +0000"/>
                            <attachment id="248654" name="appsettings.Development.json" size="377" author="jhnsartain3@gmail.com" created="Sun, 23 Feb 2020 01:58:47 +0000"/>
                            <attachment id="248653" name="databaseconnectionstring.txt" size="96" author="jhnsartain3@gmail.com" created="Sun, 23 Feb 2020 02:00:21 +0000"/>
                            <attachment id="248655" name="eventviewer deployed IIS" size="6144" author="jhnsartain3@gmail.com" created="Sun, 23 Feb 2020 01:58:00 +0000"/>
                            <attachment id="248657" name="eventviewer localhost" size="4796" author="jhnsartain3@gmail.com" created="Sun, 23 Feb 2020 01:58:00 +0000"/>
                            <attachment id="248656" name="localhost" size="2165" author="jhnsartain3@gmail.com" created="Sun, 23 Feb 2020 01:58:00 +0000"/>
                            <attachment id="258405" name="screenshot-1.png" size="11729" author="dmitry.lukyanov@mongodb.com" created="Sat, 2 May 2020 16:51:40 +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|hvye2n:</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>