<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:09:56 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>[CDRIVER-575] Mongo c driver unable to retrieve data from replicaset with authentication</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-575</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;We have 3 node replicaset hosted on linux machines. Recently we added authentication restarted the replicaset. The following documentation was used:&lt;br/&gt;
&lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/deploy-replica-set-with-auth/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/tutorial/deploy-replica-set-with-auth/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We use the following URI for connecting to Mongo:&lt;br/&gt;
mongodb://x1.mongodb.com,x2.mongodb.com,x3.mongodb.com/?replicaSet=r0&lt;/p&gt;

&lt;p&gt;We changed that to the following:&lt;br/&gt;
mongodb://username:password@x1.mongodb.com,x2.mongodb.com,x3.mongodb.com/db?replicaSet=r0&lt;/p&gt;

&lt;p&gt;After this c driver components no longer able to retrieve data from Mongo, although c# components are working fine.&lt;/p&gt;

&lt;p&gt;We can also login to the replicaset from mongo console and query data.&lt;/p&gt;

&lt;p&gt;Following are errors from Log:&lt;br/&gt;
1. assertion 13 not authorized for query on xxx.bbb ns:xxx.bbb query:{ $query: &lt;/p&gt;
{ domain: &quot;abc.com&quot; }
&lt;p&gt; }&lt;/p&gt;

&lt;p&gt;2. Unauthorized not authorized on db to execute command&lt;/p&gt;</description>
                <environment>linux</environment>
        <key id="189257">CDRIVER-575</key>
            <summary>Mongo c driver unable to retrieve data from replicaset with authentication</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="5">Cannot Reproduce</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="tanmoy.palit@bluware.com">Tanmoy Palit</reporter>
                        <labels>
                            <label>connection</label>
                            <label>driver</label>
                            <label>replicaset</label>
                    </labels>
                <created>Thu, 12 Mar 2015 20:43:18 +0000</created>
                <updated>Tue, 16 Nov 2021 18:44:03 +0000</updated>
                            <resolved>Mon, 20 Apr 2015 17:29:02 +0000</resolved>
                                    <version>0.94.2</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="892991" author="jesse" created="Mon, 20 Apr 2015 17:29:02 +0000"  >&lt;p&gt;Hi, I&apos;m happy to keep helping with this issue if it persists in the C Driver 1.1.4.&lt;/p&gt;</comment>
                            <comment id="873112" author="jesse" created="Sun, 5 Apr 2015 20:11:08 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=palit1985&quot; class=&quot;user-hover&quot; rel=&quot;palit1985&quot;&gt;palit1985&lt;/a&gt;, have you had the opportunity to retest with a recent driver version?&lt;/p&gt;</comment>
                            <comment id="856103" author="tanmoy.palit@bluware.com" created="Tue, 17 Mar 2015 21:12:48 +0000"  >&lt;p&gt;We are using monogdb 2.6.7 (enterprise edition).&lt;br/&gt;
I will try updating the driver and test.&lt;/p&gt;</comment>
                            <comment id="850931" author="jesse" created="Thu, 12 Mar 2015 22:25:59 +0000"  >&lt;p&gt;Additionally, could you please tell us what MongoDB version you&apos;re running?&lt;/p&gt;</comment>
                            <comment id="850928" author="bjori" created="Thu, 12 Mar 2015 22:17:18 +0000"  >&lt;p&gt;I believe this was fixed in 0.96.0 with &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-369&quot; title=&quot;Consider backporting &amp;quot;Fix sharded cluster &amp;amp; replica set authentication&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-369&quot;&gt;&lt;del&gt;CDRIVER-369&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Could you please try to upgrade? Preferable to the current stable version, 1.1.2&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|hs72uv:</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>