<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:37:39 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-2020] Authenticate failed with keyId = 0</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2020</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;When I use the 1.5 go driver to connect with mongod for operation, the authentication fails occasionally, but it doesn&apos;t appear on the 1.0 go driver. Could it be a driver compatibility issue? The error message is as follows:&#160;&lt;/p&gt;

&lt;p&gt;err connection() error occured during connection handshake:&lt;br/&gt;
auth error: sasl conversation error: unable to authenticate using mechanism &quot;SCRAM-SHA-1&quot;:&lt;br/&gt;
(KeyNotFound) Cache Reader No keys found for HMAC that is valid for time: { ts: Timestamp(1620053128, 26) } with id: 0&lt;/p&gt;</description>
                <environment>Running in centos based docker image</environment>
        <key id="1741956">GODRIVER-2020</key>
            <summary>Authenticate failed with keyId = 0</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="5">Cannot Reproduce</resolution>
                                        <assignee username="matt.dale@mongodb.com">Matt Dale</assignee>
                                    <reporter username="qiangzhanghnu@gmail.com">qi zhang</reporter>
                        <labels>
                    </labels>
                <created>Fri, 21 May 2021 06:46:22 +0000</created>
                <updated>Sat, 11 Sep 2021 00:22:43 +0000</updated>
                            <resolved>Wed, 25 Aug 2021 00:06:32 +0000</resolved>
                                    <version>1.5.0</version>
                                                    <component>Authentication</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4020704" author="JIRAUSER1259527" created="Wed, 25 Aug 2021 00:06:33 +0000"  >&lt;p&gt;I&apos;ve so far been unable to reproduce this issue running the provided repro example code, Go Driver v1.5.0, and local replicasets using v4.0.3 and v4.2.11 of the MongoDB server, so I&apos;m closing this as &quot;Cannot Reproduce&quot;.&lt;/p&gt;</comment>
                            <comment id="3968003" author="JIRAUSER1259527" created="Wed, 28 Jul 2021 14:20:15 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=qiangzhanghnu%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;qiangzhanghnu@gmail.com&quot;&gt;qiangzhanghnu@gmail.com&lt;/a&gt;, thanks for the additional info and example code! I&apos;m currently setting up another local replicaset to run the example code against. I&apos;ll let you know when I have some results.&lt;/p&gt;</comment>
                            <comment id="3932604" author="JIRAUSER1259973" created="Wed, 14 Jul 2021 10:05:29 +0000"  >&lt;p&gt;mongod error like this&lt;br/&gt;
 &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;325041_thumb&quot; href=&quot;https://jira.mongodb.org/secure/attachment/325041/325041_image-1620390240863.png&quot; title=&quot;image-1620390240863.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;325041&quot; file-preview-title=&quot;image-1620390240863.png&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/thumbnail/325041/_thumb_325041.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                            <comment id="3924720" author="JIRAUSER1259973" created="Fri, 9 Jul 2021 07:07:25 +0000"  >&lt;p&gt;Hi,&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matt.dale&quot; class=&quot;user-hover&quot; rel=&quot;matt.dale&quot;&gt;matt.dale&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3924690" author="JIRAUSER1259973" created="Fri, 9 Jul 2021 06:10:03 +0000"  >&lt;p&gt;I uploaded my test tool,&#160; please try&#160;again&lt;/p&gt;</comment>
                            <comment id="3924688" author="JIRAUSER1259973" created="Fri, 9 Jul 2021 06:05:30 +0000"  >&lt;p&gt;Mongodb code is downloaded from GitHub without modification&lt;/p&gt;</comment>
                            <comment id="3886294" author="JIRAUSER1259973" created="Fri, 18 Jun 2021 03:07:49 +0000"  >&lt;p&gt;I suggest replacing persistent connection with non persistent connection when connecting mongod&lt;/p&gt;</comment>
                            <comment id="3874494" author="JIRAUSER1259527" created="Sat, 12 Jun 2021 01:16:53 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=qiangzhanghnu%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;qiangzhanghnu@gmail.com&quot;&gt;qiangzhanghnu@gmail.com&lt;/a&gt; thanks for the additional information. I set up 2 local replica sets, both with MongoDB versions 4.0.3 and 4.2.11 and tried connecting to them with using both v1.0.0 and v1.5.0 of the mongo-go-driver. So far I haven&apos;t been able to reproduce the auth error you described.&lt;/p&gt;

&lt;p&gt;I have been able to find a few possibly related MongoDB server bugs that can result in the same intermittent error messages. Please update your MongoDB server versions to the minimum fixed versions and see if the auth errors persist:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;4.0.24 or higher (from 4.0.3)&lt;/li&gt;
	&lt;li&gt;4.2.13 or higher (from 4.2.11)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3862019" author="JIRAUSER1259973" created="Mon, 7 Jun 2021 11:49:49 +0000"  >&lt;ul&gt;
	&lt;li&gt;4.0.3 and 4.2.11&lt;/li&gt;
	&lt;li&gt;self-hosted instance&lt;/li&gt;
	&lt;li&gt;replica set&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3855297" author="JIRAUSER1259527" created="Wed, 2 Jun 2021 22:14:37 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=qiangzhanghnu%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;qiangzhanghnu@gmail.com&quot;&gt;qiangzhanghnu@gmail.com&lt;/a&gt; so far I&apos;ve been unable to reproduce the error you described.&lt;/p&gt;

&lt;p&gt;Please let me know more about your MongoDB server setup:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;What version of MongoDB are you connecting to?&lt;/li&gt;
	&lt;li&gt;Are you connecting to an Atlas-managed instance or self-hosted instance?&lt;/li&gt;
	&lt;li&gt;What kind of MongoDB cluster are you connecting to? For example, are you connecting to a single MongoDB server, a group of MongoDB servers in a replica set, a group of MongoDB servers with sharded collections, etc?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3842344" author="JIRAUSER1259527" created="Wed, 26 May 2021 17:28:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=qiangzhanghnu%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;qiangzhanghnu@gmail.com&quot;&gt;qiangzhanghnu@gmail.com&lt;/a&gt; thanks for reporting this issue, we will look into it soon.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="324275" name="dbstress.zip" size="6367704" author="qiangzhanghnu@gmail.com" created="Fri, 9 Jul 2021 06:08:22 +0000"/>
                            <attachment id="325042" name="image-1620390240863-1.png" size="338463" author="qiangzhanghnu@gmail.com" created="Wed, 14 Jul 2021 10:05:09 +0000"/>
                            <attachment id="325041" name="image-1620390240863.png" size="338463" author="qiangzhanghnu@gmail.com" created="Wed, 14 Jul 2021 10:04:43 +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|hyzydr:</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>