[JAVA-2488] org.springframework.data.mongodb.UncategorizedMongoDbException Created: 12/Apr/17  Updated: 11/Sep/19  Resolved: 12/Apr/17

Status: Closed
Project: Java Driver
Component/s: Cluster Management, Connection Management
Affects Version/s: 3.4.2
Fix Version/s: None

Type: Task Priority: Blocker - P1
Reporter: Radha Raman Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 7 , Replica Set


Attachments: PNG File Selection_057.png     PNG File Selection_058.png     PNG File Selection_059.png    

 Description   

Hi,

We are using a Replica set MongoDB setup( 1 primary node 2 secondary nodes).
We get the following exception during Load Tests :-

org.springframework.data.mongodb.UncategorizedMongoDbException: Exception receiving message; nested exception is com.mongodb.MongoSocketReadException

Full stack trace is provided in the screen-shots attached

We tried increasing connectionTimeout and socketTimeout parameters value to 1 minute , but it didn't resolve the issue.



 Comments   
Comment by Ross Lawley [ 12/Apr/17 ]

Hi radha.raman@havells.com,

Just to let you know this project is for Java driver bugs or feature requests. The best place for questions regarding MongoDB usage or the Java driver specifics is the mongodb-user mailing list or stackoverflow as you will reach a boarder audience there. If your business requires an answer from MongoDB within a set time frame then we do offer production support.

There may also be an appropriate Spring Data forum, either way, if you do use one of these forums please post a link here and I'll endeavour to follow up there. As this is a networking error - the java socket threw a connection timed out I suggest looking into the server and network logs to see if there were any issues.

All the best,

Ross

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