[JAVA-325] Connection timed out for the master Created: 14/Apr/11  Updated: 25/Jun/13  Resolved: 24/Oct/11

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: 2.3
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Joseph Wang Assignee: Antoine Girbal
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux
Java 1.6


Attachments: Text File SrpTableQueryEngine.java    

 Description   

We've 3 nodes - 1 master and 2 slaves. We are using replica set. The query code set SLAVE_OK.

2011-04-14 01:13:21,850 ERROR [Refinance-Base-22-1] com.leadpoint.syndication.db.mongo.mortgage.SrpTableQueryEngine - SrpTableQueryEngine: exception com.mongodb.MongoException$Network: can't call something
com.mongodb.MongoException$Network: can't call something
at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:220)
at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:284)
at com.mongodb.DB.command(DB.java:152)
at com.mongodb.DB.command(DB.java:141)
at com.mongodb.DB.getLastError(DB.java:302)
at com.leadpoint.syndication.db.mongo.mortgage.SrpTableQueryEngine.fetch(SrpTableQueryEngine.java:69)
at com.leadpoint.syndication.db.mongo.mortgage.SrpTableQueryEngine.execute(SrpTableQueryEngine.java:115)
at com.leadpoint.syndication.db.mongo.refinance.RefinanceQueryEngine$1.run(RefinanceQueryEngine.java:428)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: couldn't connect to [mongo-prod-mem1.lps.la2.estalea.net/10.2.5.37:4110] bc:java.net.ConnectException: Connection timed out
at com.mongodb.DBPort._open(DBPort.java:205)
at com.mongodb.DBPort.go(DBPort.java:85)
at com.mongodb.DBPort.go(DBPort.java:66)
at com.mongodb.DBPort.call(DBPort.java:56)
at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:211)

bash-3.2$ /usr/local/mongodb-linux-x86_64-1.6.3/bin/mongo mongo-prod-mem1.lps.la2.estalea.net:4110
MongoDB shell version: 1.6.3
connecting to: mongo-prod-mem1.lps.la2.estalea.net:4110/test
> show dbs
admin
local
lp



 Comments   
Comment by Scott Hernandez (Inactive) [ 24/Oct/11 ]

In the current driver I cannot reproduce this.

Generated at Thu Feb 08 08:52:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.