<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:08 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>[GODRIVER-868] Authentication failure when specifying database in connection string</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-868</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;I have a MongoDB v3.6.9 cluster. Because the server is only available on private interfaces, access control is not used.&lt;/p&gt;

&lt;p&gt;When I attempt to connect to the cluster via:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;mongodb://192.168.0.1:27017,192.168.0.2:27017/mydatabase?replicaSet=rs0&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;This error occurs:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;auth error: sasl conversation error: unable to authenticate using mechanism &quot;SCRAM-SHA-1&quot;: (AuthenticationFailed) Authentication failed.&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;However, when I don&apos;t specify the database:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;mongodb://192.168.0.1:27017,192.168.0.2:27017/?replicaSet=rs0&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;The connection succeeds. The same connection string (with the database specified) works fine with other drivers.&lt;/p&gt;


&lt;p&gt;&lt;b&gt;Additional notes&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Given that this particular issue has been fixed as of the 1.0.4 release, if you are still seeing the above error the most likely cause is simply that your credentials are incorrect.&lt;/p&gt;</description>
                <environment></environment>
        <key id="714295">GODRIVER-868</key>
            <summary>Authentication failure when specifying database in connection string</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="caspertech">Tom Mettam</reporter>
                        <labels>
                    </labels>
                <created>Sat, 9 Mar 2019 18:20:40 +0000</created>
                <updated>Wed, 4 Mar 2020 16:25:44 +0000</updated>
                            <resolved>Wed, 4 Mar 2020 16:21:48 +0000</resolved>
                                    <version>1.0.0-rc2</version>
                                                    <component>Authentication</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2934526" author="jeff.yemin" created="Wed, 4 Mar 2020 16:21:48 +0000"  >&lt;p&gt;Duplicates &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1021&quot; title=&quot;Specify behavior where connection string contain auth database but no credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1021&quot;&gt;&lt;del&gt;GODRIVER-1021&lt;/del&gt;&lt;/a&gt;.  &lt;/p&gt;</comment>
                            <comment id="2247687" author="david.golden" created="Wed, 15 May 2019 17:14:34 +0000"  >&lt;p&gt;For future reference, the driver specification for authentication has been amended to clarify that database name in URI alone should not trigger an authentication attempt.&#160; The ticket for making that change is &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1021&quot; title=&quot;Specify behavior where connection string contain auth database but no credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1021&quot;&gt;&lt;del&gt;GODRIVER-1021&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2177639" author="ian@10gen.com" created="Mon, 11 Mar 2019 20:20:26 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=caspertech&quot; class=&quot;user-hover&quot; rel=&quot;caspertech&quot;&gt;caspertech&lt;/a&gt;, given that you&apos;re specifying an auth source in the connection string, we think it&apos;s reasonable to throw an error when you aren&apos;t specifying a user.  Agreed that the error message could be more explanatory though.  We&apos;ll file a ticket for that now.&lt;/p&gt;

&lt;p&gt;As far as working fine with other drivers goes, the db name in other drivers has meant something else in the past (the default db), but the go driver doesn&apos;t have that concept.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="758557">GODRIVER-1021</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hug1n3:</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>