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

Parsing error during connection to server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.0-beta.1
    • None
    • None
    • None
    • 1

    Description

      When I attempt to connect to my 6.0.2 server on my Mac, using this:

       
                         var config = new Configuration()
                                  .WithServers("couchbase://127.0.0.1")
                                  .WithBucket("default")
                                  .WithCredentials("Administrator", "password");
                          
                          var cluster = new Cluster(config);
                          var bucket = await cluster.BucketAsync("default");
        
      

      , I get an exception parsing the cluster map. The json that comes back from the server contains $HOST:XXX (where XXX is a port), and these seem not to parse, when deserializing into a BucketConfig.

      is the stack trace...

      NOTE: I'm completely ignorant of .NET (just recently learned how to spell it), and am running this on a Mac (which seems like an edge case too). So, YMMV on this.

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            david.kelly David Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty