[JAVA-3108] org.springframework.data.mongodb.UncategorizedMongoDbException: Timeout while receiving message; nested exception is com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message Created: 03/Dec/18 Updated: 27/Oct/23 Resolved: 03/Dec/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 3.8.1 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | KIMCHOONGHWAN | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
java 1.8 |
||
| Description |
|
my service using jndi. setting is
===================================== My service has about 10,000 pieces per second. Sometimes the following error is happening and there is a solution?
|
| Comments |
| Comment by Ross Lawley [ 03/Dec/18 ] | |
|
Hi qqapp,
The error is a: MongoSocketReadTimeoutException which occurs when a read times out. Looking at your MongoClientOptions I can see the read timeout is readTimeoutMS=2000 and for whatever reason the read took longer than the timeout. 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 mailinglist or stackoverflow as you will reach a broader audience there. If your business requires an answer from MongoDB within a time frame then we do offer production support. If you do follow up via one of the options above please post a link and I will follow the conversation there. Ross | |
| Comment by KIMCHOONGHWAN [ 03/Dec/18 ] | |
|
My Service MongoSetting Trace Info
|