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

Error when creating bucket "The port number must be greater than 1023..."

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.5
    • 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.3.0, 2.3.1, 2.3.2, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10, 2.4.0, 2.4.1, 2.3.11, 2.4.2, 2.4.3, 2.4.4
    • library
    • None
    • Windows, Enterprise Edition 5.0.0-2564

    Description

      Summary: Error message "The port number must be greater than 1023..." when trying to create a bucket.

      Repro:

      1. Install Enterprise Edition 5.0.0-2565
      2. Create .NET console app (I used .NET Core and CouchbaseNetClient 
      3. Connect to cluster and create cluster manager using Admin credentials (see below)
      4. Try to create a bucket with clusterManager.CreateBucket(...)

      Expected:

      Bucket to be created (or at least a more actionable error message than "The port number must be greater than 1023...")

      Actual:

      Success = false, Message = "The port number must be greater than 1023...".

      Bucket does not get created.

      Code:

      var cluster = new Cluster(new ClientConfiguration
      {{ {}}
      {{ Servers = new List<Uri> { new Uri("http://localhost:8091")},}}
      {{ UseSsl = false}}
      {{ });}}

      var clusterManager = cluster.CreateManager("Administrator", "password"); 

      {{ var resp = clusterManager.CreateBucket("testbucket", replicaNumber: 0);}}

      Attachments

        Issue Links

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

          Activity

            People

              mike.goldsmith Michael Goldsmith
              matthew.groves Matthew Groves
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty