× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
SachinPrakash reported 2015-12-14T19:56:43Z  · vasudevpathak(*) last modified 2017-01-03T12:25:54Z

Mongo JS command "connect" command with wrong IP addr -- display error message


Dev
Emil Goicovici
emil.goicovici
QA
Jenny Nishimura
JennyNishimura
Priority Minor
Complexity Unknown
Component MongoJS
Version 18.0
Wrong ip address-> db=connect("10.171.0.18:27017/local").
Result -> 1] In Query Analyzer(MongoJS), it goes into infinite loop for connection of wrong_ip_address.
               2] java.lang.reflect.InvocationTargetException in 'View Log'.
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1312)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1287)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
at com.aquafold.datastudio.queryanalyzer.Xᛥ⠗⠀ꆑthrowif.run(Unknown Source)
          Caused by: com.mongodb.MongoTimeoutException: Timed out after 10000 ms while waiting to connect. Client view of cluster state is {type=Unknown, servers=      [{address=10.171.0.18:27017, type=Unknown, state=Connecting, exception={com.mongodb.MongoException$Network: Exception opening the socket}, caused by {java.net.NoRouteToHostException: No route to host}}]
at com.mongodb.BaseCluster.getDescription(BaseCluster.java:128)
at com.mongodb.DBTCPConnector.getClusterDescription(DBTCPConnector.java:400)
at com.mongodb.DBTCPConnector.getType(DBTCPConnector.java:581)
at com.mongodb.DBTCPConnector.createServerSelector(DBTCPConnector.java:564)
at com.mongodb.DBTCPConnector.access$100(DBTCPConnector.java:40)
at com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnector.java:454)
at com.mongodb.DBTCPConnector.getPrimaryPort(DBTCPConnector.java:413)
at \\.\\.\\हिñçêČάй語简�?한\\.vᠦꂯ⢉̅breakvolatile.c(Unknown Source)
at \\.\\.\\हिñçêČάй語简�?한\\.vᠦꂯ⢉̅breakvolatile.cgs(Unknown Source)
at com.aquafold.datastudio.queryanalyzer._̅ᚤ⢡ꈎthrows.C(Unknown Source)
at com.aquafold.datastudio.queryanalyzer.Xᛥ⠗⠀ꆑthrowif$9.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
 
 
Result on CLI ->
When we execute the script of wrong_ip_address in MongoCLI, it gives following error.
Failed to connect to 10.171.0.18:27017, reason: errno:113 No route to host.
(Please refer: reopening-13949.png)
 
5 attachments

Issue #13987

Closed
Fixed
Resolved 2016-03-11T11:27:17Z
 
 
Completion
No due date
Fixed Build ADS 18.0.0-devi-83 (mongo-jdbc 2.4.8.2)
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017