<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:36 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-1067] ping can not reject invalid passwords</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1067</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;I connect to my mongodb server like this:&lt;br/&gt;
client, _ := mongo.NewClient(options.Client().ApplyURI(&quot;mongodb://my_username:my_passwd@my_host:27017/my_db&quot;))&lt;br/&gt;
ctx, cancelFunc := context.WithTimeout(context.Background(), 10*time.Second)&lt;br/&gt;
defer cancelFunc()&lt;br/&gt;
_ = client.Connect(ctx)&lt;br/&gt;
err = client.Ping(ctx, nil)&lt;br/&gt;
But no matter what password I enter correctly or incorrectly, Ping will not get an error.&lt;br/&gt;
So how can I find this error before I operate my mongo?&lt;/p&gt;</description>
                <environment></environment>
        <key id="769660">GODRIVER-1067</key>
            <summary>ping can not reject invalid passwords</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="-1">Unassigned</assignee>
                                    <reporter username="star_hdz">HouDezhi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 May 2019 10:07:46 +0000</created>
                <updated>Wed, 11 Sep 2019 18:35:50 +0000</updated>
                            <resolved>Thu, 16 May 2019 20:25:27 +0000</resolved>
                                                                    <component>Connections</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="2249518" author="ian@10gen.com" created="Thu, 16 May 2019 20:25:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=star_hdz&quot; class=&quot;user-hover&quot; rel=&quot;star_hdz&quot;&gt;star_hdz&lt;/a&gt; Thanks for the question - as we&apos;ve investigated, the Ping() method currently only does server selection, but  we&apos;ve filed a bug report to add in calling the ping server command as well.  Please follow along in &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1068&quot; title=&quot;Need to call ping in Ping()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1068&quot;&gt;&lt;del&gt;GODRIVER-1068&lt;/del&gt;&lt;/a&gt; to see when we have fixed this.&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|hup43j:</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>