<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:21 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-2487] Mongodb Async driver with Java 8 SSL connection fail (git code says SSL unsupported)</title>
                <link>https://jira.mongodb.org/browse/JAVA-2487</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Trying my first connection to Atlas.&lt;br/&gt;
Connection string turns on the SSL.&lt;br/&gt;
Mongodb async java driver barfs.&lt;/p&gt;

&lt;p&gt;java.lang.UnsupportedOperationException: No SSL support in java.nio.channels.AsynchronousSocketChannel. &lt;br/&gt;
For SSL support use com.mongodb.connection.netty.NettyStreamFactoryFactory&lt;/p&gt;

&lt;p&gt;But SSL support is native in Java 7 and 8&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/blob/master/driver-core/src/main/com/mongodb/connection/AsynchronousSocketChannelStreamFactory.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/blob/master/driver-core/src/main/com/mongodb/connection/AsynchronousSocketChannelStreamFactory.java&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Am I missing something?&lt;/p&gt;</description>
                <environment>Java 8 openjdk&lt;br/&gt;
Ubuntu 16.0.4 LTS&lt;br/&gt;
AMD 64&lt;br/&gt;
&amp;lt;dependency&amp;gt;&lt;br/&gt;
			&amp;lt;groupId&amp;gt;org.mongodb&amp;lt;/groupId&amp;gt;&lt;br/&gt;
			&amp;lt;artifactId&amp;gt;mongodb-driver-async&amp;lt;/artifactId&amp;gt;&lt;br/&gt;
			&amp;lt;version&amp;gt;3.4.2&amp;lt;/version&amp;gt;&lt;br/&gt;
		&amp;lt;/dependency&amp;gt;</environment>
        <key id="373131">JAVA-2487</key>
            <summary>Mongodb Async driver with Java 8 SSL connection fail (git code says SSL unsupported)</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="13202">Works as Designed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="sseymour@relianceware.com">Stephen Seymour</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Apr 2017 20:50:50 +0000</created>
                <updated>Fri, 27 Oct 2023 13:21:14 +0000</updated>
                            <resolved>Wed, 6 Sep 2017 18:36:36 +0000</resolved>
                                                                    <component>Async</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1546548" author="jeff.yemin" created="Wed, 12 Apr 2017 00:48:18 +0000"  >&lt;p&gt;As indicated in the exception message, java.nio.channels.AsynchronousSocketChannel does not have integrated SSL support, which is why the driver relies on Netty to provide the necessary integration with javax.net.ssl.SSLEngine.  See &lt;a href=&quot;http://mongodb.github.io/mongo-java-driver/3.4/driver-async/tutorials/ssl/#tls-ssl&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongodb.github.io/mongo-java-driver/3.4/driver-async/tutorials/ssl/#tls-ssl&lt;/a&gt; for documentation on configuration of Netty with the async driver.&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|hsxyyf:</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>