com.mongodb.MongoSocketOpenException: Exception opening socket at com.mongodb.connection.SocketStream.open(SocketStream.java:63) at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:114)

Google Groups | Astro | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    MongoDB replication not working

    Google Groups | 8 months ago | Astro
    com.mongodb.MongoSocketOpenException: Exception opening socket at com.mongodb.connection.SocketStream.open(SocketStream.java:63) at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:114)

    Root Cause Analysis

    1. com.mongodb.MongoSocketOpenException

      Exception opening socket at com.mongodb.connection.SocketStream.open(SocketStream.java:63) at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:114)

      at com.mongodb.connection.UsageTrackingInternalConnection.open()
    2. MongoDB Java Driver
      MongoCollectionImpl.insertOne
      1. com.mongodb.connection.UsageTrackingInternalConnection.open(UsageTrackingInternalConnection.java:46)
      2. com.mongodb.connection.DefaultConnectionPool$PooledConnection.open(DefaultConnectionPool.java:381)
      3. com.mongodb.connection.DefaultConnectionPool.get(DefaultConnectionPool.java:96)
      4. com.mongodb.connection.DefaultConnectionPool.get(DefaultConnectionPool.java:82)
      5. com.mongodb.connection.DefaultServer.getConnection(DefaultServer.java:72)
      6. com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.getConnection(ClusterBinding.java:86)
      7. com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:228)
      8. com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:221)
      9. com.mongodb.operation.MixedBulkWriteOperation.execute(MixedBulkWriteOperation.java:168)
      10. com.mongodb.operation.MixedBulkWriteOperation.execute(MixedBulkWriteOperation.java:74)
      11. com.mongodb.Mongo.execute(Mongo.java:781)
      12. com.mongodb.Mongo$2.execute(Mongo.java:764)
      13. com.mongodb.MongoCollectionImpl.executeSingleWriteRequest(MongoCollectionImpl.java:515)
      14. com.mongodb.MongoCollectionImpl.insertOne(MongoCollectionImpl.java:306)
      15. com.mongodb.MongoCollectionImpl.insertOne(MongoCollectionImpl.java:297)
      15 frames
    3. com.nextcontrols
      App.main
      1. com.nextcontrols.App.main(App.java:33)
      1 frame