<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:30 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-1027] Unable to connect to mongodb from golang application</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1027</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Failed to define a client that will connect to Mongo%!(EXTRA *internal.wrappedError=error parsing uri (mongodb+srv://usr:pwd@development-xtumr.mongodb.net/db?retryWrites=true): lookup development-xtumr.mongodb.net on 127.0.0.53:53: cannot unmarshal DNS message&lt;/p&gt;</description>
                <environment></environment>
        <key id="760405">GODRIVER-1027</key>
            <summary>Unable to connect to mongodb from golang application</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="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="geeks@zoomtail.com">Zoom Tail</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 May 2019 06:29:41 +0000</created>
                <updated>Mon, 13 May 2019 11:30:17 +0000</updated>
                            <resolved>Fri, 10 May 2019 11:13:07 +0000</resolved>
                                                                                        <votes>1</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2243459" author="chris@intellibridge.co" created="Sat, 11 May 2019 13:25:06 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
 Changing DNS&#160; does not work&lt;/p&gt;

&lt;p&gt;&lt;b&gt;OS:&lt;/b&gt; macOS Mojave 10.14.1&lt;br/&gt;
 &lt;b&gt;Go version:&lt;/b&gt; go1.12.4 darwin/amd64&lt;/p&gt;

&lt;p&gt;&lt;b&gt;DNS Servers&lt;/b&gt;&lt;br/&gt;
 nameserver 208.67.220.220&lt;br/&gt;
 nameserver 208.67.222.222&lt;br/&gt;
 nameserver 8.8.8.8&lt;br/&gt;
 nameserver 8.8.4.4&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Error:&lt;/b&gt; &lt;br/&gt;
panic: server selection error: server selection timeout&lt;br/&gt;
current topology: Type: ReplicaSetNoPrimary&lt;/p&gt;

&lt;p&gt;Type: Unknown, State: Connected, Average RTT: 0, Last error: (CommandNotFound) command not found&lt;/p&gt;

&lt;p&gt;&lt;b&gt;MongoDB Information&lt;/b&gt;&lt;br/&gt;
Connecting to:&#160; Atlas Mongodb &lt;br/&gt;
 Instance Size M0 Sandbox (General) &lt;br/&gt;
 Region AWS / Singapore (ap-southeast-1) &lt;br/&gt;
 Type Replica Set - 3 nodes&lt;/p&gt;

&lt;p&gt;Had downloaded the latest mongodb go driver using the command&lt;br/&gt;
 go get go.mongodb.org/mongo-driver&lt;/p&gt;</comment>
                            <comment id="2241208" author="jeff.yemin" created="Fri, 10 May 2019 11:12:56 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=geeks%40zoomtail.com&quot; class=&quot;user-hover&quot; rel=&quot;geeks@zoomtail.com&quot;&gt;geeks@zoomtail.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Given you&apos;re on 1.12 we do still suspect this is a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-829&quot; title=&quot;Go 1.11 LookupSRV cannot unmarshal DNS message &quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-829&quot;&gt;&lt;del&gt;GODRIVER-829&lt;/del&gt;&lt;/a&gt;, so I&apos;m going to close this as a duplicate.  Please experiment with a different DNS server, and if it turns out this is something else, we can re-open.&lt;/p&gt;</comment>
                            <comment id="2240957" author="geeks@zoomtail.com" created="Fri, 10 May 2019 06:00:56 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

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

&lt;p&gt;My current go version is&#160;go1.12.1 linux/amd64.&#160;&lt;/p&gt;

&lt;p&gt;The content of /etc/resolv.conf file in my aws&apos; instance is&#160;&lt;/p&gt;

&lt;p&gt;nameserver 127.0.0.53&lt;br/&gt;
options edns0&lt;br/&gt;
search ap-south-1.compute.internal&lt;/p&gt;</comment>
                            <comment id="2240544" author="jeff.yemin" created="Thu, 9 May 2019 20:28:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=geeks%40zoomtail.com&quot; class=&quot;user-hover&quot; rel=&quot;geeks@zoomtail.com&quot;&gt;geeks@zoomtail.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please let us know what version of Go you are using.  We suspect this is the same as &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-829&quot; title=&quot;Go 1.11 LookupSRV cannot unmarshal DNS message &quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-829&quot;&gt;&lt;del&gt;GODRIVER-829&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2238471" author="miguelpragier" created="Wed, 8 May 2019 14:06:43 +0000"  >&lt;p&gt;Similar problem here, since yesterday (mai/07) when we updated ( go get / git pull ) mongo driver.&lt;/p&gt;

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

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

&lt;p&gt;&quot;mongodb+srv://password@cluster0-hostxyz.mongodb.net/databasename?retryWrites=true&quot;&lt;/p&gt;

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

&lt;p&gt;ROW:&lt;/p&gt;

&lt;p&gt;if errx := client.Ping(context.TODO(), readpref.Primary()); errx != nil {&lt;/p&gt;

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

&lt;p&gt;ERROR:&lt;/p&gt;

&lt;p&gt;panic: server selection error: server selection timeout&lt;br/&gt;
current topology: Type: ReplicaSetNoPrimary&lt;br/&gt;
Servers:&lt;br/&gt;
Addr: cluster0-shard-00-01-XXXXX.mongodb.net:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: (CommandNotFound) command not found&lt;br/&gt;
Addr: cluster0-shard-00-02-XXXXX.mongodb.net:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: (CommandNotFound) command not found&lt;br/&gt;
Addr: cluster0-shard-00-00-XXXXX.mongodb.net:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: (CommandNotFound) command not found&lt;/p&gt;

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

&lt;p&gt;&lt;img src=&quot;https://jira.mongodb.org/images/icons/attach/noimage.png&quot; imagetext=&quot;mongoerror.jpg&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                                                <inwardlinks description="backports">
                                        <issuelink>
            <issuekey id="766312">GODRIVER-1038</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="688996">GODRIVER-829</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hunmbb:</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>