<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:59: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>[JAVA-3581] Problem with Canonical Service Name while connecting to Atlas with Private Link</title>
                <link>https://jira.mongodb.org/browse/JAVA-3581</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Can I kindly ask someone to check&#160; Monglo Atlas behavior for VPC Endpoint (Private link connection). Looks like Java mongo driver 3.12 isn&apos;t prepared for resolving mongo cluster with&#160;VPC Endpoint (Private endpoint).&lt;br/&gt;
Java mongo driver states that&lt;br/&gt;
&quot;Canonical address cluster0-shard-00-00-v7y4t.mongodb.net:27017 does not match server address. Removing pl-0-eu-west-1-v7y4t.mongodb.net:1 from client view of cluster&quot; (please see logs attached), which seems to be wrong assumption for&#160;Private Endpoint.&lt;br/&gt;
My connection string is:&lt;br/&gt;
mongodb+srv://vlauresh:&amp;lt;pass&amp;gt;@cluster0-pl-0-v7y4t.mongodb.net/test?ssl=true&amp;amp;authSource=admin&amp;amp;retryWrites=true&amp;amp;w=majority&lt;/p&gt;</description>
                <environment></environment>
        <key id="1078809">JAVA-3581</key>
            <summary>Problem with Canonical Service Name while connecting to Atlas with Private Link</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="vadzim.lauresh@suredatum.com">Vadzim Lauresh</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Jan 2020 14:35:10 +0000</created>
                <updated>Wed, 22 Sep 2021 18:53:08 +0000</updated>
                            <resolved>Wed, 8 Jan 2020 00:49:29 +0000</resolved>
                                    <version>3.12.0</version>
                                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2711622" author="vadzim.lauresh@suredatum.com" created="Wed, 8 Jan 2020 12:41:36 +0000"  >&lt;p&gt;Sorry for off topic as it is related to support&amp;amp;testing procedures:&lt;br/&gt;
 I think that new should be treated differently - I had first contact with the support&#160; on 26-Dec-19 and by 27 it was clear that it is PrivateLink related issue, unfortunately there were no help, but marketing stuff.&lt;br/&gt;
 I hope that conclusions will be drawn. &lt;br/&gt;
Thank again, information about an issue help me to plan my work till the issue will be resolved&#160;&lt;/p&gt;</comment>
                            <comment id="2711608" author="jeff.yemin" created="Wed, 8 Jan 2020 12:21:16 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=vadzim.lauresh%40suredatum.com&quot; class=&quot;user-hover&quot; rel=&quot;vadzim.lauresh@suredatum.com&quot;&gt;vadzim.lauresh@suredatum.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;FYI, the issue with Private Link was only diagnosed yesterday afternoon.&#160; Until then it was not a known issue.&#160;&#160;&lt;/p&gt;</comment>
                            <comment id="2711604" author="vadzim.lauresh@suredatum.com" created="Wed, 8 Jan 2020 12:06:40 +0000"  >&lt;p&gt;Thanks a lot, really&#160;appreciate your help.&#160;&lt;br/&gt;
Hope it will be fixed soon.&lt;/p&gt;</comment>
                            <comment id="2711598" author="jeff.yemin" created="Wed, 8 Jan 2020 11:56:11 +0000"  >&lt;p&gt;Yes, I believe it is unusable for replica sets.&lt;/p&gt;

&lt;p&gt;If you want to get this working ASAPI, you could fork the driver and see if removing &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/blob/master/driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java#L263-L271&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this conditional&lt;/a&gt; works around the issue. That is not a good long term solution though, as the conditional is necessary for other use cases.&#160; See &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-230&quot; title=&quot;Remove from the topology a replica set member whose &amp;quot;me&amp;quot; hostname:port does not match the one that was used to connect to it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-230&quot;&gt;&lt;del&gt;DRIVERS-230&lt;/del&gt;&lt;/a&gt; for details.&lt;/p&gt;</comment>
                            <comment id="2711427" author="vadzim.lauresh@suredatum.com" created="Wed, 8 Jan 2020 09:31:38 +0000"  >&lt;p&gt;So Private Endpoint feature with java driver&#160; is currently unusable?&lt;br/&gt;
 Can it be hackfixed on java driver side?&lt;/p&gt;</comment>
                            <comment id="2711106" author="jeff.yemin" created="Wed, 8 Jan 2020 00:49:29 +0000"  >&lt;p&gt;Thanks for reporting this.  Through a separate report of the same issue, we&apos;ve determined that this is a server bug (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45396&quot; title=&quot;fix the &amp;quot;me&amp;quot; field in isMaster responses when using splithorizon&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45396&quot;&gt;&lt;del&gt;SERVER-45396&lt;/del&gt;&lt;/a&gt;), so closing this as a duplicate.&lt;/p&gt;

&lt;p&gt;Please watch &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45396&quot; title=&quot;fix the &amp;quot;me&amp;quot; field in isMaster responses when using splithorizon&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45396&quot;&gt;&lt;del&gt;SERVER-45396&lt;/del&gt;&lt;/a&gt; for updates.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1079229">SERVER-45396</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="242096" name="MongoAtlas.log" size="10860" author="vadzim.lauresh@suredatum.com" created="Tue, 7 Jan 2020 14:34:20 +0000"/>
                    </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|hw3g67:</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>