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

SDK connection to nodes other than data nodes fails with [Error: unambiguous_timeout (14)]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 4.2.2
    • None
    • None
    • 0

    Description

      Summary

      NodeJS SDK (4.2.2) on connecting to a CB cluster (7.1.4) exits with the error:

       

      failed to open bucket: [Error: unambiguous_timeout (14)] { code: 14 }

      e error occurs when the address of a non-data node is added to the connection string and a bucket is then accessed.

       

      Reproduction Steps

      Couchbase Cluster

      • Version: 7.1.4
      • Bucket: travel-sample
      • Node Configuration:
        • Node 1: Data (10.5.0.2)
        • Node 2: Data (10.5.0.3)
        • Node 3: Index+query (10.5.0.4)
        • Node 4: query (10.5.0.5)

      JS Code

      index.js consists of the different types of connections attempted. A total of 7 different cases were tested out.

      Logs

      DEBUG level logs of the SDK were collected for all the 7 cases. 

      Couchbase server logs were collected:

      https://supportal.couchbase.com/snapshot/f1d66931b7128d1e69e3d70b58b27547::0

      s3://cb-customers-secure/ritesh-test/2023-04-23/collectinfo-2023-04-23t161407-ns_1@10.5.0.4.zip
      s3://cb-customers-secure/ritesh-test/2023-04-23/collectinfo-2023-04-23t161407-ns_1@10.5.0.5.zip
      s3://cb-customers-secure/ritesh-test/2023-04-23/collectinfo-2023-04-23t161407-ns_1@10.5.0.3.zip
      s3://cb-customers-secure/ritesh-test/2023-04-23/collectinfo-2023-04-23t161407-ns_1@10.5.0.2.zip

      Attachments

        1. index.js
          4 kB
          Ritesh Kumar
        2. case7.log
          26 kB
          Ritesh Kumar
        3. case6.log
          5 kB
          Ritesh Kumar
        4. case5.log
          27 kB
          Ritesh Kumar
        5. case4.log
          11 kB
          Ritesh Kumar
        6. case3.log
          12 kB
          Ritesh Kumar
        7. case2.log
          47 kB
          Ritesh Kumar
        8. case1.log
          11 kB
          Ritesh Kumar
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            ritesh.kumar Ritesh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty