Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1815

mongo client has i/o timeout after network exception

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

      Hi,

      I have a micro-service based on mongo client.

      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:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            760802635@qq.com Evan Pang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: