com.mongodb.MongoTimeoutException: Timed out while waiting to connect after 1999 ms

Stack Overflow | Arshad | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    connection not created in Umongo using ubuntu 16.04

    Stack Overflow | 6 months ago | Arshad
    com.mongodb.MongoTimeoutException: Timed out while waiting to connect after 1999 ms
  2. 0

    unable to connect to mongodb

    GitHub | 2 years ago | arubygit
    com.mongodb.MongoTimeoutException: Timed out while waiting to connect after 1999 ms

    1 unregistered visitors

    Root Cause Analysis

    1. com.mongodb.MongoTimeoutException

      Timed out while waiting to connect after 1999 ms

      at com.mongodb.BaseCluster.getDescription()
    2. MongoDB Java Driver
      Mongo.getAddress
      1. com.mongodb.BaseCluster.getDescription(BaseCluster.java:114)
      2. com.mongodb.DBTCPConnector.getClusterDescription(DBTCPConnector.java:396)
      3. com.mongodb.DBTCPConnector.getAddress(DBTCPConnector.java:327)
      4. com.mongodb.Mongo.getAddress(Mongo.java:473)
      4 frames
    3. com.edgytech.umongo
      MongoPanel.updateComponentCustom
      1. com.edgytech.umongo.MongoPanel.updateComponentCustom(MongoPanel.java:100)
      2. com.edgytech.umongo.MongoPanel.updateComponentCustom(MongoPanel.java:40)
      2 frames
    4. com.edgytech.swingfast
      XmlJComponentUnit.getComponent
      1. com.edgytech.swingfast.XmlComponentUnit.updateComponent(XmlComponentUnit.java:242)
      2. com.edgytech.swingfast.XmlJComponentUnit.updateComponent(XmlJComponentUnit.java:51)
      3. com.edgytech.swingfast.XmlComponentUnit.structureComponent(XmlComponentUnit.java:232)
      4. com.edgytech.swingfast.XmlComponentUnit.getComponent(XmlComponentUnit.java:187)
      5. com.edgytech.swingfast.XmlJComponentUnit.getComponent(XmlJComponentUnit.java:77)
      5 frames
    5. com.edgytech.umongo
      Workspace.structureComponentCustom
      1. com.edgytech.umongo.Workspace.structureComponentCustom(Workspace.java:61)
      2. com.edgytech.umongo.Workspace.structureComponentCustom(Workspace.java:29)
      2 frames
    6. com.edgytech.swingfast
      XmlComponentUnit.structureComponent
      1. com.edgytech.swingfast.XmlComponentUnit.structureComponent(XmlComponentUnit.java:221)
      1 frame
    7. com.edgytech.umongo
      BaseTreeNode.handleNodeSelection
      1. com.edgytech.umongo.Workspace.setContent(Workspace.java:42)
      2. com.edgytech.umongo.UMongo.displayElement(UMongo.java:198)
      3. com.edgytech.umongo.UMongo.displayNode(UMongo.java:243)
      4. com.edgytech.umongo.BaseTreeNode.handleNodeSelection(BaseTreeNode.java:124)
      4 frames
    8. com.edgytech.swingfast
      Tree.valueChanged
      1. com.edgytech.swingfast.Tree.valueChanged(Tree.java:195)
      1 frame
    9. Java RT
      JTree.setSelectionPath
      1. javax.swing.JTree.fireValueChanged(JTree.java:2927)
      2. javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3391)
      3. javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)
      4. javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)
      5. javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)
      6. javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)
      7. javax.swing.JTree.setSelectionPath(JTree.java:1634)
      7 frames
    10. com.edgytech.swingfast
      Tree.selectNode
      1. com.edgytech.swingfast.Tree.selectNode(Tree.java:275)
      2. com.edgytech.swingfast.Tree.selectNode(Tree.java:269)
      2 frames
    11. com.edgytech.umongo
      MainMenu$2.doInBackground
      1. com.edgytech.umongo.UMongo.addMongoClient(UMongo.java:173)
      2. com.edgytech.umongo.MainMenu$2.doInBackground(MainMenu.java:222)
      2 frames
    12. Java RT
      SwingWorker.run
      1. javax.swing.SwingWorker$1.call(SwingWorker.java:295)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. javax.swing.SwingWorker.run(SwingWorker.java:334)
      3 frames
    13. com.edgytech.swingfast
      ScalableThreadPool$ScalableThreadpoolWorker.run
      1. com.edgytech.swingfast.ScalableThreadPool$ScalableThreadpoolWorker.run(ScalableThreadPool.java:48)
      1 frame
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame