<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36: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-1313] not able to connect to determine replica set set and due to this all query are failing</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1313</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;hi,&lt;/p&gt;

&lt;p&gt;we are able to run properly when server run on os as localhost.&lt;/p&gt;

&lt;p&gt;But when we run on docker..&lt;/p&gt;

&lt;p&gt;We are&#160; connecting to mongo db , connection got established.&lt;/p&gt;

&lt;p&gt;But when making call to mongo.ping it not able to connect and gives the below error.&lt;/p&gt;

&lt;p&gt;so we removed ping call and made some queries to db we got same error..&lt;/p&gt;

&lt;p&gt;Error:&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
Internal error: server selection error: server selection timeout\ncurrent topology: Type: ReplicaSetNoPrimary\nServers:\nAddr: xxxxxxxxxxxx:27017,&#160;Type: Unknown, State: Connected, Average RTT: 0, Last error: connection&lt;/p&gt;</description>
                <environment>docker &lt;br/&gt;
OS -- macos 1.14.6&lt;br/&gt;
golang version : go 1.13&lt;br/&gt;
mongo go driver 1.1.0 or 1.1.1 tested with both&lt;br/&gt;
docker :           19.03.2 </environment>
        <key id="928681">GODRIVER-1313</key>
            <summary>not able to connect to determine replica set set and due to this all query are failing</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="13203">Gone away</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="dharmadev2@gmail.com">DHARMADEV gupta</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 Sep 2019 05:13:36 +0000</created>
                <updated>Fri, 27 Oct 2023 20:01:22 +0000</updated>
                            <resolved>Thu, 17 Oct 2019 20:08:36 +0000</resolved>
                                    <version>1.1.1</version>
                    <version>1.1.0</version>
                                                    <component>Authentication</component>
                    <component>Connections</component>
                    <component>Internal</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="2463478" author="divjot.arora" created="Thu, 3 Oct 2019 15:00:13 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dharmadev2%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;dharmadev2@gmail.com&quot;&gt;dharmadev2@gmail.com&lt;/a&gt;, the reason you see this error on &lt;tt&gt;Ping&lt;/tt&gt; instead of &lt;tt&gt;Connect&lt;/tt&gt; is because &lt;tt&gt;Connect&lt;/tt&gt; doesn&apos;t do any I/O. It spins up some goroutines to monitor servers in the background. In contrast, &lt;tt&gt;Ping&lt;/tt&gt; sends a &lt;tt&gt;ping&lt;/tt&gt; command to the server. We&apos;ve seen some issues due to docker setups in the past. Can you check if&#160;&lt;a href=&quot;https://stackoverflow.com/questions/56393513/docker-and-mongo-go-driver-server-selection-error&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/56393513/docker-and-mongo-go-driver-server-selection-error&lt;/a&gt;&#160;has anything to do with your issue?&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|hvf6vr:</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>