mongo.Client blocked for ever (GODRIVER-1772)

[GODRIVER-1814] mongo client has i/o timeout after network exception Created: 28/Dec/20  Updated: 04/Jan/21  Resolved: 04/Jan/21

Status: Closed
Project: Go Driver
Component/s: Networking
Affects Version/s: 1.3.2
Fix Version/s: None

Type: Sub-task Priority: Major - P3
Reporter: Evan Pang Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongodb-server 3.4
mongo-go-driver 1.3.2


Issue Links:
Duplicate
duplicates GODRIVER-1815 mongo client has i/o timeout after ne... Closed

 Description   

I seem to have the same issue.

All is well, however, after some days, A query operations Find(xxx) failed with errors as below:

connection(192.168.20.194:3717[-123425]) incomplete read of message header: read tcp 10.233.26.252:47192->192.168.20.194:3717: use of closed network connection

and the following query operations, such as a lot of Operations Find(xxx),  failed with errors like these:

context deadline exceeded

there is no one connection between my-server and mongo-server when I type command `netstat -apn`.

Then I tried to capture tcp package by tcpdump.  also no one tcp package occured.


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