<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:26 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-1458] Connection to Mongo Cloud without +srv</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1458</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;i am trying to connect to mongodb cloud without +srv &lt;br/&gt;
the stucture of connection string &lt;br/&gt;
mongodb://username:password@seed1,seed2,seed3&lt;br/&gt;
error&lt;br/&gt;
panic: server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [&lt;/p&gt;
{ Addr: ....:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : connection(...:27017[-179]) incomplete read of message header: EOF }
&lt;p&gt;, { Addr: ....:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : connection(.....:27017&lt;span class=&quot;error&quot;&gt;&amp;#91;-180&amp;#93;&lt;/span&gt;) incomplete read of message header: EOF }, { Addr: .....:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : connection(.......:27017&lt;span class=&quot;error&quot;&gt;&amp;#91;-181&amp;#93;&lt;/span&gt;) incomplete read of message header: EOF }, ] }&lt;/p&gt;</description>
                <environment></environment>
        <key id="1080344">GODRIVER-1458</key>
            <summary>Connection to Mongo Cloud without +srv</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="9">Done</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="safwan.olaimat@gmail.com">safwan olaimat</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Jan 2020 14:15:48 +0000</created>
                <updated>Wed, 22 Jan 2020 00:26:08 +0000</updated>
                            <resolved>Wed, 22 Jan 2020 00:26:08 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2748822" author="divjot.arora" created="Wed, 22 Jan 2020 00:26:08 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=safwan.olaimat%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;safwan.olaimat@gmail.com&quot;&gt;safwan.olaimat@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Without any extra information or server logs, it&apos;s not possible for us to diagnose the issue. You mentioned that you were able to resolve the DNS issue and the SRV connection string should now work. We recommend using the SRV connection string anyway, as that&apos;s the most robust approach, so I&apos;m going to close this ticket. Feel free to leave another comment if you still have issues.&lt;/p&gt;</comment>
                            <comment id="2748233" author="safwan.olaimat@gmail.com" created="Tue, 21 Jan 2020 20:26:33 +0000"  >&lt;p&gt;Hello @divjot Arora &lt;br/&gt;
sorry for late response &lt;br/&gt;
I was busy &lt;br/&gt;
now i have resolved the dns resolver issue just replace the nameserver from 127.0.0.53 to 8.8.8.8 should works with SRV &lt;br/&gt;
but i have no lucks to connection using master secondary connections string&lt;/p&gt;</comment>
                            <comment id="2723149" author="divjot.arora" created="Mon, 13 Jan 2020 21:51:56 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=safwan.olaimat%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;safwan.olaimat@gmail.com&quot;&gt;safwan.olaimat@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;I believe the issue is that the driver implicitly enables SSL for an SRV connection string, and Atlas servers are configured to only allow incoming connections over SSL. The smallest possible change would be to use a connection string like &lt;tt&gt;mongodb://username:password@seed1,seed2,seed3/?ssl=true&lt;/tt&gt;. This would explicitly enable SSL in the driver.&lt;/p&gt;

&lt;p&gt;Note that even though this may work, we still recommend using a connection string obtained directly from Atlas, as they may set extra parameters. As an example, I see that Atlas sets&#160;&lt;tt&gt;w=majority&lt;/tt&gt;&#160;to enable write concern majority.&lt;/p&gt;</comment>
                            <comment id="2718678" author="divjot.arora" created="Fri, 10 Jan 2020 15:34:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=safwan.olaimat%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;safwan.olaimat@gmail.com&quot;&gt;safwan.olaimat@gmail.com&lt;/a&gt; If Atlas gives you a connection string with &lt;tt&gt;+srv&lt;/tt&gt;, it is not valid to remove the &lt;tt&gt;+srv&lt;/tt&gt; suffix. An SRV record is different from a hostname, as it can actually resolve to a list of hosts and the DNS server can also send back TXT records, which act as additional connection string parameters. In the list of drivers on the Atlas UI, if you click on &quot;Python&quot; and select &quot;3.4 or later&quot; for the version, Atlas should give you a URI that does not have &lt;tt&gt;+srv&lt;/tt&gt;. Can you try this and see if it works for you?&lt;/p&gt;</comment>
                            <comment id="2713427" author="safwan.olaimat@gmail.com" created="Thu, 9 Jan 2020 08:23:41 +0000"  >&lt;p&gt;Hi @Divjot&lt;/p&gt;

&lt;p&gt;yes the connection string from atlas &lt;br/&gt;
connecting with srv working fine on my machine&lt;br/&gt;
but on the server&#160; there are problem with srv dns lookup&lt;br/&gt;
i have seeing comment that connection without&#160; srv working with no problem &lt;br/&gt;
but no luck !&lt;/p&gt;</comment>
                            <comment id="2712649" author="divjot.arora" created="Wed, 8 Jan 2020 19:24:46 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=safwan.olaimat%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;safwan.olaimat@gmail.com&quot;&gt;safwan.olaimat@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Is this a connection string provided by MongoDB Atlas? Was it originally an SRV connection string? The &quot;incomplete read of message header: EOF&quot; message indicates that the server is likely not accepting connections from the driver and this manifests as a network error on the driver side. If you have access to the server logs, there may be information there about why the server is not accepting these connections.&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|hw3p7j:</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>