<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:28 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-1468] Error connecting to atlas via go driver  when using 2 pods</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1468</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;&#160;&lt;br/&gt;
Description in customers words.&lt;br/&gt;
&#160;&lt;br/&gt;
GO version : 1.13&lt;br/&gt;
&#160;&lt;br/&gt;
mongo go-driver : 1.2.1&lt;br/&gt;
&#160;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Our go application is running on AWS-EKS. It is connecting to an Atlas instance.&#160;&lt;/li&gt;
	&lt;li&gt;As long as the ReplicaSet for the deployment is set to 1, everything works as expected..&lt;/li&gt;
	&lt;li&gt;as soon as I change the ReplicaSet to 2 for my application deployment, the first instance (pod) of the application comes up successfully, but the second pod fails..&lt;/li&gt;
	&lt;li&gt;it fails on executing line&lt;br/&gt;
&#160; &#160;&#160;mgo,&#160;err&#160;=&#160;mongo.NewClient(options.Client().ApplyURI(uri))&lt;/li&gt;
	&lt;li&gt;the value of&#160;uri&#160;is&#160;mongodb+srv://lockeradmin:XXXX@lockercluster-urwgb.mongodb.net&lt;br/&gt;
I have masked the value of the password.&lt;br/&gt;
&#160;&lt;/li&gt;
	&lt;li&gt;the error I see is..&lt;br/&gt;
error parsing uri: lookup &lt;em&gt;mongodb.&lt;/em&gt;&lt;a href=&quot;https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftcp.lockercluster-urwgb.mongodb.net%2F&amp;amp;data=02%7C01%7CSrikant.Varadarajan%40pb.com%7C34f00ca8f7574a695ca508d79e6d2c2c%7C8a4925a9fd8e4866b31cf719fb05dce6%7C1%7C0%7C637152064040322750&amp;amp;sdata=b%2Fj5QQm7DaVSMlOod0GGKG7c8AeD0Mk0BXseeT%2BnL2k%3D&amp;amp;reserved=0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;tcp.lockercluster-urwgb.mongodb.net&lt;/a&gt;&#160;on&#160;&lt;a href=&quot;http://172.20.0.10:53/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;172.20.0.10:53&lt;/a&gt;: read udp 10.53.8.160:49134-&amp;gt;&lt;a href=&quot;http://172.20.0.10:53/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;172.20.0.10:53&lt;/a&gt;: i/o timeout&lt;br/&gt;
&#160;&lt;br/&gt;
As part of debugging this, we launched a bare busybox image on the K8s cluster, loaded it with the mongo shell and tried to connect.. it did connect to the above instance successfully.&lt;br/&gt;
Strangely, I have a SECOND service that runs on the same EKS cluster connecting to the same Atlas DB. And that app is also exhibiting the same behavior.&lt;br/&gt;
However, I am able to successfully run 1 instance of each of the app successfully.&lt;br/&gt;
&#160;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>Go v 1.13</environment>
        <key id="1109536">GODRIVER-1468</key>
            <summary>Error connecting to atlas via go driver  when using 2 pods</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="dhananjay.ghevde@mongodb.com">Dhananjay Ghevde</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Jan 2020 16:37:18 +0000</created>
                <updated>Mon, 27 Jan 2020 21:05:27 +0000</updated>
                            <resolved>Mon, 27 Jan 2020 21:05:27 +0000</resolved>
                                    <version>1.2.1</version>
                                                    <component>Connections</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2766627" author="esha.bhargava" created="Mon, 27 Jan 2020 21:05:27 +0000"  >&lt;p&gt;Same as HELP-13375&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|hw8cjj:</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>