Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2010

System.IO.EndOfStreamException: Attempted to read past the end of the stream.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Microsoft Windows 10

    Description

      I'm getting this error.But it is not always("sometimes").
      This my example connection string
      "mongodb://<username>:<PASSWORD>@cluster0-shard-00-00-flm5h.mongodb.net:27017,cluster0-shard-00-01-flm5h.mongodb.net:27017,cluster0-shard-00-02-flm5h.mongodb.net:27017/<DATABASE>?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin"

      "An EndOfStreamException is thrown:
      MongoDB.Driver.MongoConnectionException: An exception occurred while receiving a message from the server. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream."

      Attachments

        Activity

          People

            Unassigned Unassigned
            clublifeworld@gmail.com Fatih Erol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: