Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1772 mongo.Client blocked for ever
  3. GODRIVER-1814

mongo client has i/o timeout after network exception

    • Type: Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.3.2
    • Component/s: Networking
    • None
    • Environment:
      mongodb-server 3.4
      mongo-go-driver 1.3.2

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            760802635@qq.com Evan Pang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: