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

calling fromconnectionString throws null DNSClient exception -

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 2.9.0
    • Connectivity
    • None
    • visual stuido 2019, csharp, xamarin forms - azure cosmos DB

    Description

      it seems something has changed since version 2.9.0 that throws the exception whenever you try to initiate the DB from the connection string. previous version all works fine.

       

      at DnsClient.NameServer.ResolveNameServers (System.Boolean skipIPv6SiteLocal, System.Boolean fallbackToGooglePublicDns) [0x0005e] in <93b57b4b99c64a96a2c065ea9ae1fc1f>:0
      at DnsClient.LookupClient..ctor () [0x00000] in <93b57b4b99c64a96a2c065ea9ae1fc1f>:0
      at MongoDB.Driver.Core.Misc.DnsClientWrapper..ctor () [0x00006] in <69a19ce1f0ff410ca77cc0cfdf31b04c>:0
      at MongoDB.Driver.Core.Clusters.DnsMonitorFactory..ctor (MongoDB.Driver.Core.Events.IEventSubscriber eventSubscriber, MongoDB.Driver.Core.Misc.IDnsResolver dnsResolver) [0x00017] in <69a19ce1f0ff410ca77cc0cfdf31b04c>:0
      at MongoDB.Driver.Core.Clusters.MultiServerCluster..ctor (MongoDB.Driver.Core.Configuration.ClusterSettings settings, MongoDB.Driver.Core.Servers.IClusterableServerFactory serverFactory, MongoDB.Driver.Core.Events.IEventSubscriber eventSubscriber, MongoDB.Driver.Core.Clusters.IDnsMonitorFactory dnsMonitorFactory) [0x0005d] in <69a19ce1f0ff410ca77cc0cfdf31b04c>:0
      at MongoDB.Driver.Core.Clusters.ClusterFactory.CreateMultiServerCluster (MongoDB.Driver.Core.Configuration.ClusterSettings settings) [0x00000] in <69a19ce1f0ff410ca77cc0cfdf31b04c>:0
      at MongoDB.Driver.Core.Clusters.ClusterFactory.CreateCluster () [0x000bf] in <69a19ce1f0ff410ca77cc0cfdf31b04c>:0
      at MongoDB.Driver.Core.Configuration.ClusterBuilder.BuildCluster () [0x00006] in <69a19ce1f0ff410ca77cc0cfdf31b04c>:0
      at MongoDB.Driver.ClusterRegistry.CreateCluster (MongoDB.Driver.ClusterKey clusterKey) [0x000be] in <3b162f88ef324ea39a81e2d6bf362821>:0
      at MongoDB.Driver.ClusterRegistry.GetOrCreateCluster (MongoDB.Driver.ClusterKey clusterKey) [0x00021] in <3b162f88ef324ea39a81e2d6bf362821>:0
      at MongoDB.Driver.MongoClient..ctor (MongoDB.Driver.MongoClientSettings settings) [0x0002d] in <3b162f88ef324ea39a81e2d6bf362821>:0
      at SensoDrive.Client.Infrastructure.Database.CosmoMongoDb.InitializeCosmoDBAsync () [0x0002f]

      Attachments

        Activity

          People

            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            sasan.pasha@gmail.com Sasan Pasha
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: