Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-695

Connection string options are causing bucket open to fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.1
    • 3.0.0
    • None
    • None
    • 1

    Description

      Steps to reproduce

      Use the below script, notice the "query_timeout=100" argument in the connection string:

      var couchbase = require('couchbase'); var cluster = new couchbase.Cluster('couchbase://10.112.193.101?query_timeout=100', {   username: 'david',   password: 'password', }); 
      var bucket = await cluster.bucket('testB');
      

      Expected Result
      Connections to the bucket opened without errors.

      Actual Result
      Get an error that the bucket is not found:

      (node:32267) UnhandledPromiseRejectionWarning: Error: LCB_ERR_BUCKET_NOT_FOUND (210): A request is made but the current bucket is not found
      

      Something is affecting the way the connection string is interpreted once connection string options are added.

      Attachments

        Issue Links

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

          Activity

            People

              brett19 Brett Lawson
              david.saadeh David Saadeh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty