com.mongodb.MongoException: java.io.IOException: ConnectEx failed

Google Groups | Josh Kim | 3 months ago
  1. 0

    Error connecting with scala driver

    Google Groups | 3 months ago | Josh Kim
    com.mongodb.MongoException: java.io.IOException: ConnectEx failed
  2. 0
    samebug tip
    Check for bad records in the input data (like '(null)')
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    samebug tip
    Download the winutils.exe for your Hadoop version: https://github.com/steveloughran/winutils . Save it to HADOOP_HOME/bin

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      ConnectEx failed

      at sun.nio.ch.WindowsAsynchronousSocketChannelImpl.connect0()
    2. Java RT
      AsynchronousSocketChannelImpl.connect
      1. sun.nio.ch.WindowsAsynchronousSocketChannelImpl.connect0(Native Method)
      2. sun.nio.ch.WindowsAsynchronousSocketChannelImpl.access$200(WindowsAsynchronousSocketChannelImpl.java:43)
      3. sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ConnectTask.run(WindowsAsynchronousSocketChannelImpl.java:235)
      4. sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implConnect(WindowsAsynchronousSocketChannelImpl.java:382)
      5. sun.nio.ch.AsynchronousSocketChannelImpl.connect(AsynchronousSocketChannelImpl.java:209)
      5 frames
    3. MongoDB Java Driver
      DefaultServerMonitor$ServerMonitorRunnable.run
      1. com.mongodb.connection.AsynchronousSocketChannelStream.openAsync(AsynchronousSocketChannelStream.java:79)
      2. com.mongodb.connection.AsynchronousSocketChannelStream.open(AsynchronousSocketChannelStream.java:61)
      3. com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:114)
      4. com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:128)
      4 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame