Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2487

Mongodb Async driver with Java 8 SSL connection fail (git code says SSL unsupported)

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Async
    • None
    • Environment:

      Trying my first connection to Atlas.
      Connection string turns on the SSL.
      Mongodb async java driver barfs.

      java.lang.UnsupportedOperationException: No SSL support in java.nio.channels.AsynchronousSocketChannel.
      For SSL support use com.mongodb.connection.netty.NettyStreamFactoryFactory

      But SSL support is native in Java 7 and 8

      https://github.com/mongodb/mongo-java-driver/blob/master/driver-core/src/main/com/mongodb/connection/AsynchronousSocketChannelStreamFactory.java.

      Am I missing something?

            Assignee:
            Unassigned Unassigned
            Reporter:
            sseymour@relianceware.com Stephen Seymour
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: