Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3280

Calling Capella with SDK 3.3.6 fails, code works with SDK 3.3.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • None
    • None
    • None
    • Capella Non-Prod
    • 1
    • SDK43

    Description

      When running the following code against SDK version 3.3.5, the code works with Capella non-prod.  When running this code against SDK version 3.3.6 I get an Exception:  Cluster has not yet bootstrapped:  

       

      using System;
      using System.Threading.Tasks;
      using Couchbase;

      namespace CouchbaseDotNetExample_KvGet
      {
      class Program
      {
      static async Task Main(string[] args)

      { var opts = new ClusterOptions().WithCredentials("myuser", "putyourpasswordhere"); opts.KvIgnoreRemoteCertificateNameMismatch = true; opts.HttpIgnoreRemoteCertificateMismatch = true; var cluster = await Cluster.ConnectAsync("couchbases://putyourenvironmenthere.nonprod-project-avengers.com", opts); var bucket = await cluster.BucketAsync("travel-sample"); var scope = await bucket.ScopeAsync("inventory"); var collection = await scope.CollectionAsync("airline"); var result = await collection.GetAsync("airline_10"); var airline = result.ContentAs<dynamic>(); System.Console.WriteLine(airline); await cluster.DisposeAsync(); }

      }
      }

       

      cc: Denis Rosa 

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              richard.ponton Richard Ponton
              aaron.labeau Aaron LaBeau
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty