[CDRIVER-1071] Failed to read 4 bytes from socket within 300000 milliseconds. Created: 25/Jan/16 Updated: 03/May/17 Resolved: 25/Jan/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.3.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | tianlei.shi | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
When I send a remove command(which will execute for more than 10 mins) to mongodb, I receive this error msg. |
| Comments |
| Comment by A. Jesse Jiryu Davis [ 25/Jan/16 ] | ||
|
Hi, please set your socketTimeoutMS to a very large number, larger than 10 minutes in milliseconds, in order to avoid this error message. More info about setting connect options: http://api.mongodb.org/c/current/mongoc_uri_t.html#conn-options Example:
|